:root {
  --ink: #15202a;
  --muted: #5e6872;
  --line: #d9dee2;
  --paper: #f5f6f7;
  --white: #ffffff;
  --steel: #6b7b86;
  --blue: #1f5fbf;
  --copper: #b0643d;
  --charcoal: #20272d;
  --shadow: 0 20px 50px rgba(21, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(18, 27, 35, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  flex: 0 0 42px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 900;
  font-size: 0.82rem;
}

.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.94rem;
}

.main-nav a,
.nav-cta {
  opacity: 0.9;
}

.main-nav a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-cta {
  justify-self: end;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

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

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 18, 24, 0.9), rgba(11, 18, 24, 0.55) 45%, rgba(11, 18, 24, 0.16)),
    linear-gradient(0deg, rgba(11, 18, 24, 0.35), rgba(11, 18, 24, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 120px clamp(20px, 6vw, 80px) 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b88e;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(2.35rem, 7vw, 5.85rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

.hero-contact {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.hero-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-contact strong,
.hero-contact a {
  color: var(--white);
  font-weight: 900;
}

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

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

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

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

.button.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.trust-strip div {
  display: grid;
  gap: 4px;
  padding: 26px clamp(18px, 5vw, 56px);
  background: var(--white);
}

.trust-strip strong {
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 5vw, 64px);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 850px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(21, 32, 42, 0.04);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 900;
  font-size: 0.8rem;
}

.service-card p,
.process-list p,
.contact-copy p {
  color: var(--muted);
}

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

.project-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #d9dee2;
}

.featured-project {
  grid-column: span 2;
}

.featured-project img {
  height: 420px;
}

.project-info {
  padding: 18px;
}

.project-info span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-info h3 {
  margin-bottom: 0;
}

.process-section {
  background: var(--charcoal);
  color: var(--white);
}

.process-section .section-heading {
  max-width: 760px;
}

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

.process-list div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
}

.process-list p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 28px;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--charcoal));
}

.contact-copy {
  max-width: 820px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .eyebrow {
  color: #f0b88e;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-note {
  margin-top: 22px;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.86);
  border-left: 3px solid #f0b88e;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

  .featured-project {
    grid-column: span 2;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
    gap: 12px;
  }

  .brand-text {
    max-width: 150px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(11, 18, 24, 0.88), rgba(11, 18, 24, 0.48));
  }

  .hero-content {
    padding: 106px 18px 54px;
  }

  .hero-contact {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .project-grid,
  .process-list,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 220px;
  }

  .project-card img,
  .featured-project img {
    height: 250px;
  }

  .featured-project {
    grid-column: span 1;
  }

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