:root {
  --ink: #050b0f;
  --deep-green: #062820;
  --teal: #61a9ab;
  --mist: #b9cdd2;
  --graphite: #464646;
  --paper: #f5f8f8;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.22);
  --shadow: 0 20px 60px rgba(5, 11, 15, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 16px clamp(16px, 4vw, 72px);
  transition: transform 260ms ease, background-color 260ms ease, padding 260ms ease;
}

.site-header.is-hidden {
  transform: translateY(-115%);
}

.site-header.is-solid {
  background: rgba(5, 11, 15, 0.92);
  border-bottom: 1px solid rgba(185, 205, 210, 0.18);
  padding-top: 10px;
  padding-bottom: 10px;
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  color: var(--white);
  background: rgba(70, 70, 70, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-at-top .nav-shell {
  background: rgba(70, 70, 70, 0.36);
}

.site-header.is-solid .nav-shell {
  background: transparent;
  border-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--teal);
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-size: 21px;
}

.brand-name {
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  width: min(820px, 72%);
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-spacer {
  flex: 1 1 72px;
  min-width: 44px;
}

.nav-contact {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 15, 0.88), rgba(5, 11, 15, 0.36) 52%, rgba(5, 11, 15, 0.72)),
    linear-gradient(180deg, rgba(5, 11, 15, 0.2), rgba(5, 11, 15, 0.72));
}

.hero-content {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 86px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 12px;
  height: 12px;
  background: var(--teal);
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(54px, 8.2vw, 132px);
  font-weight: 700;
  line-height: 0.94;
}

.hero-explore {
  position: absolute;
  right: clamp(24px, 4vw, 72px);
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-section,
.projects-section {
  padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 88px);
}

.intro-section {
  background: var(--white);
}

.section-kicker {
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 74px);
  font-weight: 700;
  line-height: 1.02;
}

.intro-grid p {
  margin: 8px 0 0;
  color: var(--graphite);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
}

.projects-section {
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--deep-green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

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

.project-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.project-card.featured {
  margin-top: 56px;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 11, 15, 0.9));
  content: "";
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: var(--white);
}

.project-copy p {
  margin: 0 0 8px;
  color: var(--mist);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.08;
}

.cta-band {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 72px 20px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(5, 11, 15, 0.96), rgba(6, 40, 32, 0.95)),
    var(--deep-green);
}

.cta-band p {
  margin: 0 0 28px;
  color: var(--mist);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 600;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 54px;
  padding: 0 28px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  color: var(--white);
  background: transparent;
}

.site-footer {
  color: var(--white);
  background: #061017;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr) minmax(220px, 0.8fr);
  min-height: 260px;
  border-top: 1px solid rgba(185, 205, 210, 0.22);
}

.footer-brand,
.footer-slogan,
.social-links {
  display: flex;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
}

.footer-brand {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border-right: 1px solid rgba(185, 205, 210, 0.22);
}

.footer-brand p {
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.footer-slogan {
  justify-content: center;
  margin: 0;
  color: var(--mist);
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.social-links {
  justify-content: center;
  gap: 18px;
  border-left: 1px solid rgba(185, 205, 210, 0.22);
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  transition: background 180ms ease, border-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 64vh;
  padding: 160px clamp(20px, 5vw, 88px) 72px;
  color: var(--white);
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  position: relative;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 11, 15, 0.86), rgba(5, 11, 15, 0.35));
  content: "";
}

.page-hero > div {
  position: relative;
  max-width: 980px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.98;
}

.content-section {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 88px);
  background: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.content-grid h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1.05;
}

.content-grid p,
.service-list li {
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.65;
}

.service-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(70, 70, 70, 0.16);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(70, 70, 70, 0.2);
  border-radius: 0;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 58px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 10px);
    left: 16px;
    right: 16px;
    display: none;
    width: auto;
    padding: 22px;
    background: rgba(5, 11, 15, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-links.is-open {
    display: grid;
    gap: 18px;
  }

  .nav-spacer {
    display: none;
  }

  .intro-grid,
  .content-grid,
  .section-heading,
  .project-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .project-card,
  .project-card img {
    min-height: 420px;
  }

  .project-card.featured {
    margin-top: 0;
  }

  .footer-brand,
  .social-links {
    border: 0;
  }
}

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

  .nav-shell {
    padding: 0 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .hero-explore {
    left: 16px;
    right: auto;
  }

  .footer-brand,
  .footer-slogan,
  .social-links {
    padding: 30px 20px;
  }
}
