:root {
  --orange: #f57c20;
  --orange-dark: #d95f08;
  --charcoal: #24282b;
  --gunmetal: #5b6166;
  --paper: #f6f4f0;
  --white: #ffffff;
  --ink: #1b1d1f;
  --muted: #62686d;
  --line: #dedbd5;
  --shadow: 0 18px 50px rgba(24, 28, 30, .12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: white;
  background: rgba(27, 30, 32, .97);
  border-bottom: 3px solid var(--orange);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo {
  display: block;
  width: 400px;
  max-width: 43vw;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: #f7f7f7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--orange);
}

.nav-cta {
  padding: 11px 17px;
  color: white !important;
  background: var(--orange);
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--orange-dark);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  color: white;
  background:
    linear-gradient(120deg, rgba(20, 22, 24, .98), rgba(36, 40, 43, .9)),
    radial-gradient(circle at 90% 20%, rgba(245, 124, 32, .28), transparent 35%);
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
  gap: 70px;
  align-items: center;
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  letter-spacing: -2.8px;
}

.hero-copy {
  max-width: 720px;
  margin: 25px 0 0;
  color: #e6e6e6;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--charcoal);
  background: white;
  border: 1px solid var(--line);
}

.hero .button.secondary {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
}

.hero-card {
  padding: 34px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  color: var(--orange);
  font-size: 26px;
}

.hero-card p {
  color: #e4e4e4;
}

.hero-card a {
  color: white;
  font-weight: 800;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding: 88px 0;
}

.section-heading {
  margin-bottom: 35px;
}

.section-heading.centered {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-grid h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -1.5px;
}

.section-heading p:last-child {
  color: var(--muted);
}

/* =========================================================
   SERVICES
   ========================================================= */

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

.service-grid article {
  min-height: 170px;
  padding: 27px;
  background: white;
  border-top: 5px solid var(--orange);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(25, 28, 30, .07);
}

.service-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

/* =========================================================
   PROJECTS
   ========================================================= */

.projects-section {
  background: white;
}

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

.project-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 13px 36px rgba(24, 28, 30, .09);
}

.project-card > a {
  display: block;
  overflow: hidden;
  background: #17191b;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform .25s ease;
}

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

.project-copy {
  padding: 27px;
}

.project-copy h3 {
  margin: 0 0 12px;
  font-size: 25px;
}

.project-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.text-link {
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: none;
}

.projects-cta {
  margin-top: 38px;
  padding: 36px;
  color: white;
  text-align: center;
  background: var(--charcoal);
  border-radius: var(--radius);
}

.projects-cta h3 {
  margin: 0;
  font-size: 30px;
}

.projects-cta p {
  color: #e5e5e5;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  background: #ece9e3;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-grid p {
  color: var(--muted);
  font-size: 18px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-hero {
  padding: 74px 0;
  color: white;
  background: linear-gradient(120deg, var(--charcoal), #3a4044);
  border-bottom: 6px solid var(--orange);
}

.contact-hero h1 {
  font-size: clamp(43px, 7vw, 72px);
}

.contact-hero p:last-child {
  margin-bottom: 0;
  font-size: 19px;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, .75fr);
  gap: 30px;
  align-items: start;
}

.contact-card,
.sidebar-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: clamp(25px, 5vw, 52px);
}

.required-note {
  color: var(--muted);
}

form {
  margin-top: 30px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

label,
legend {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px 14px;
  color: var(--ink);
  background: #fbfbfa;
  border: 1px solid #c9c7c2;
  border-radius: 7px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(245, 124, 32, .2);
  border-color: var(--orange);
}

form > label,
form > .form-grid,
.human-check,
.consent {
  display: block;
  margin-bottom: 20px;
}

textarea {
  resize: vertical;
}

.human-check {
  padding: 20px;
  background: #f7f5f1;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.human-check legend {
  padding: 0 7px;
}

.human-check small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.form-error {
  margin-bottom: 0;
  color: #a92e1b;
  font-weight: 800;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 600;
}

.consent input {
  width: auto;
  margin-top: 4px;
}

.submit-button {
  width: 100%;
  font-size: 17px;
}

.privacy-note {
  color: var(--muted);
  font-size: 13px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.contact-sidebar {
  display: grid;
  gap: 20px;
}

.sidebar-box {
  padding: 27px;
}

.sidebar-box.dark {
  color: white;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.sidebar-box h2,
.sidebar-box h3 {
  margin-top: 0;
}

.phone-large {
  display: inline-block;
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.sidebar-box ul {
  padding-left: 20px;
}

/* =========================================================
   THANK-YOU PAGE
   ========================================================= */

.thank-you {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--charcoal);
}

.thank-you-card {
  max-width: 650px;
  padding: 55px;
  text-align: center;
  background: white;
  border-top: 7px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thank-you-card .brand-name {
  color: var(--charcoal);
  font-size: 40px;
}

.thank-you-card h1 {
  margin-top: 25px;
  font-size: 52px;
}

.thank-you-card .text-link {
  display: block;
  margin-top: 20px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  color: white;
  background: #17191b;
  border-top: 4px solid var(--orange);
}

.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner strong {
  display: block;
  font-size: 21px;
}

.footer-inner span {
  color: #bbb;
  font-size: 13px;
}

.footer-actions {
  display: flex;
  gap: 22px;
}

.footer-actions a {
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.footer-actions a:first-child {
  color: var(--orange);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .header-inner {
    min-height: 82px;
    padding-block: 8px;
    align-items: center;
  }

  .header-logo {
    width: 315px;
    max-width: 57vw;
    height: 68px;
  }

  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

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

  .hero-grid {
    gap: 35px;
    min-height: auto;
    padding-block: 70px;
  }

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
    padding-block: 6px;
  }

  .header-logo {
    width: 225px;
    max-width: 67vw;
    height: 56px;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 13px;
  }

  .project-grid,
  .service-grid,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .project-card img {
    aspect-ratio: auto;
  }

  .footer-inner {
    padding-block: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    flex-direction: column;
    gap: 8px;
  }
}
