:root {
  --ink: #0d1d2d;
  --ink-soft: #183148;
  --copper: #d65e2f;
  --copper-dark: #b74620;
  --cream: #f4f0e8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 48px));
  min-height: 100px;
  padding: 12px 18px 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--white);
  transform: translateX(-50%);
}

.brand img {
  display: block;
  width: min(330px, 100%);
  height: auto;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 750;
}

nav a:hover,
nav a:focus-visible {
  color: #f47a49;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  background: var(--copper);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 55% 53%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 29, 0.95) 0%, rgba(7, 23, 36, 0.75) 48%, rgba(8, 21, 31, 0.15) 80%),
    linear-gradient(0deg, rgba(6, 18, 28, 0.7) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(1180px, calc(100% - 48px));
  margin: 76px auto 100px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #f47a49;
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 3px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.4rem, 7.5vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-copy {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 24px;
  border: 2px solid transparent;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease;
}

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

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

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(9, 24, 36, 0.32);
  backdrop-filter: blur(8px);
}

.hero-proof {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  background: var(--cream);
  color: var(--ink);
}

.hero-proof span {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 27px;
  border-right: 1px solid #d9d3c8;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-proof span::before {
  margin-right: 10px;
  color: var(--copper);
  content: "✓";
  font-size: 1.15rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100% - 28px);
    min-height: 84px;
    padding-inline: 8px;
  }

  nav {
    display: none;
  }

  .brand img {
    max-width: 260px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-top: 74px;
  }

  .hero-proof {
    left: 0;
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof span:last-child {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 74px;
  }

  .brand img {
    max-width: 205px;
  }

  .header-call {
    padding: 12px;
    font-size: 0;
  }

  .header-call span {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 780px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(5, 18, 29, 0.94), rgba(7, 23, 36, 0.58));
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof span {
    min-height: 68px;
    padding: 0 16px;
    font-size: 0.68rem;
  }
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  padding-block: 130px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: #f47a49;
}

h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro-copy > p {
  margin: 38px 0 46px;
  color: #475463;
  font-size: 1.12rem;
  line-height: 1.8;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #cfc8bd;
}

.stat-row div {
  display: grid;
  gap: 7px;
  padding: 28px 20px 0 0;
}

.stat-row div + div {
  padding-left: 28px;
  border-left: 1px solid #cfc8bd;
}

.stat-row strong {
  font-size: 2.05rem;
  letter-spacing: -0.04em;
}

.stat-row span {
  color: #67717a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.services {
  padding-block: 120px 135px;
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 68px;
}

.section-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.service-card {
  min-height: 415px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  background: var(--ink-soft);
  transform: translateY(-4px);
}

.service-number {
  color: #f47a49;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-card h3 {
  min-height: 64px;
  margin: 46px 0 18px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.service-card > p {
  min-height: 84px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
}

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

.service-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 750;
}

.service-card li::before {
  color: var(--copper);
  content: "—";
}

.projects {
  padding-block: 130px 145px;
}

.section-heading-dark > p {
  color: #65707a;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 270px;
  gap: 12px;
}

.project-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #d7d0c5;
}

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

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

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 15, 24, 0.72), transparent 50%);
  content: "";
  pointer-events: none;
}

.project-card figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-1,
.project-6 {
  grid-column: span 2;
}

.project-1 {
  grid-row: span 2;
}

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

.area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--copper);
  color: var(--white);
}

.area-graphic {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    var(--ink);
  background-size: 36px 36px;
}

.area-ring {
  position: absolute;
  border: 1px solid rgba(244, 122, 73, 0.58);
  border-radius: 50%;
}

.area-ring-one {
  width: 310px;
  height: 310px;
}

.area-ring-two {
  width: 510px;
  height: 510px;
}

.area-dot {
  position: relative;
  width: 22px;
  height: 22px;
  border: 6px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #f47a49;
  box-shadow: 0 0 0 20px rgba(214, 94, 47, 0.14);
}

.area-graphic strong {
  position: absolute;
  margin-top: 78px;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.area-content {
  align-self: center;
  max-width: 620px;
  padding: 90px;
}

.area-content h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
}

.area-content > p {
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 8px;
  font-weight: 850;
}

.text-link span {
  font-size: 1.4rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  background: var(--ink);
  color: var(--white);
}

.contact-copy {
  padding: 115px max(48px, calc((100vw - 1180px) / 2));
}

.contact-copy > p:not(.section-kicker) {
  max-width: 690px;
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
  background: var(--cream);
  color: var(--ink);
  font-style: normal;
}

.contact-card > span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  margin: 28px 0 8px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.contact-card p {
  margin: 20px 0 36px;
  color: #4c5863;
  line-height: 1.7;
}

.contact-card small {
  padding-top: 22px;
  border-top: 1px solid #d7d0c6;
  color: #6b747c;
}

footer {
  padding: 70px max(24px, calc((100vw - 1180px) / 2)) 24px;
  background: #081521;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 50px;
  align-items: center;
  padding-bottom: 55px;
}

.footer-main img {
  width: min(350px, 100%);
  filter: brightness(0) invert(1);
}

.footer-main p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-main > a {
  color: #f47a49;
  font-size: 1.25rem;
  font-weight: 900;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

.footer-legal > a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-legal > a:hover,
.footer-legal > a:focus-visible {
  color: #f47a49;
}

.footer-legal > span {
  margin-left: auto;
}

.mobile-contact {
  display: none;
}

.legal-page {
  min-height: 100vh;
  padding: 56px 24px 90px;
  background: var(--cream);
}

.legal-shell {
  width: min(820px, 100%);
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--copper-dark);
  font-weight: 850;
}

.legal-page h1 {
  margin-bottom: 42px;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  color: var(--ink);
}

.legal-page h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

.legal-page p,
.legal-page li,
.legal-page address {
  color: #475463;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page address {
  font-style: normal;
}

.legal-page a:not(.legal-back) {
  color: var(--copper-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .intro,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro {
    padding-block: 95px;
  }

  .intro-copy > p {
    margin-top: 0;
  }

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

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

  .area {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .area-content,
  .contact-card {
    padding: 54px;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > a {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: calc(100% - 36px);
  }

  .intro,
  .projects {
    padding-block: 78px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat-row div + div {
    margin-top: 20px;
    padding-left: 0;
    border-left: 0;
  }

  .services {
    padding-block: 78px;
  }

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

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

  .service-card h3,
  .service-card > p {
    min-height: 0;
  }

  .project-grid {
    grid-auto-rows: 220px;
  }

  .project-card {
    grid-column: auto;
    grid-row: auto;
  }

  .project-1,
  .project-6,
  .project-7 {
    grid-column: span 2;
  }

  .area {
    grid-template-columns: 1fr;
  }

  .area-graphic {
    min-height: 380px;
  }

  .area-content,
  .contact-copy,
  .contact-card {
    padding: 64px 24px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .contact-card strong {
    overflow-wrap: anywhere;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-main > a {
    grid-column: auto;
  }

  .footer-legal {
    padding-bottom: 78px;
  }

  .footer-legal > span {
    width: 100%;
    margin-left: 0;
  }

  .mobile-contact {
    position: fixed;
    z-index: 30;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8px;
    padding: 8px;
    background: rgba(8, 21, 33, 0.94);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
  }

  .mobile-contact a {
    display: grid;
    place-items: center;
    min-height: 50px;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    font-weight: 850;
  }

  .mobile-contact a:last-child {
    border-color: var(--copper);
    background: var(--copper);
  }
}
