:root {
  --orange: #f47920;
  --orange-dark: #d4641a;
  --black: #111111;
  --dark: #1a1a1a;
  --mid: #2e2e2e;
  --gray: #555555;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border-dark: #252525;
  --border-light: #e7e7e7;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  padding-top: 92px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

section {
  padding: 100px 48px;
}

.section-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--dark);
}

.section-title.light {
  color: var(--dark);
}

.section-intro {
  max-width: 720px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
}

.section-intro.light {
  color: #666666;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 20px 0 40px;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}

.btn-primary:hover {
  background: transparent;
  color: var(--orange);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid #d2d2d2;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.breadcrumb {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8f8f8f;
}

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

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 92px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(244, 121, 32, 0.32);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.site-nav-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo-image {
  display: block;
  width: auto;
  height: 70px;
  max-width: min(72vw, 460px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #d4d4d4;
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links a,
.nav-dropdown-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #3b3b3b;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-dropdown:hover > .nav-dropdown-label,
.nav-dropdown:focus-within > .nav-dropdown-label,
.nav-links a.is-active,
.nav-dropdown-label.is-active {
  color: var(--orange);
}

.nav-dropdown-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown-label::after {
  content: "+";
  font-size: 12px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  min-width: 260px;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #ebebeb;
  border-top: 2px solid var(--orange);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 6px 0;
  font-size: 12px;
  color: #5a5a5a;
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 20px;
  border: none;
}

.nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.page-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.page-hero-copy {
  color: var(--dark);
}

.page-hero-copy .section-title {
  margin-top: 18px;
}

.page-hero-copy p {
  max-width: 580px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray);
}

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

.page-hero-media {
  position: relative;
  min-height: 380px;
  background: #f1f1f1;
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 121, 32, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 121, 32, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #ececec;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border-color: rgba(244, 121, 32, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.service-card-media {
  position: relative;
  aspect-ratio: 1.4 / 1;
  background: #efefef;
  overflow: hidden;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card-media::after {
  transform: scaleX(1);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 28px;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  background: rgba(244, 121, 32, 0.12);
  border: 1px solid rgba(244, 121, 32, 0.18);
}

.service-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
}

.service-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  width: fit-content;
  padding-top: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}

.service-card.is-current .service-link {
  color: var(--dark);
}

.service-card.is-current {
  outline: 1px solid rgba(244, 121, 32, 0.5);
}

.expertise-strip {
  background: var(--orange);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  padding: 24px 48px;
}

.expertise-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.expertise-item::before {
  content: "+";
  font-size: 10px;
  opacity: 0.75;
}

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

.metric-card {
  background: var(--light-gray);
  padding: 24px 22px;
  border-top: 3px solid var(--orange);
}

.metric-card h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #818181;
  margin-bottom: 8px;
}

.metric-card p {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--dark);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.cta-band {
  padding: 32px 36px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band-text h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

.cta-band-text p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.cta-band .btn-outline:hover {
  color: var(--white);
  border-color: var(--white);
}

.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border-top: 1px solid rgba(244, 121, 32, 0.32);
  padding: 56px 48px 26px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.75fr) minmax(180px, 0.9fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo .brand-logo-image {
  height: 106px;
  max-width: min(100%, 500px);
}

.footer-blurb {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.85;
  color: #646464;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-contact-item span,
.footer-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-contact-item strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-link-list {
  display: grid;
  gap: 12px;
}

.footer-link-list a,
.footer-map-link {
  font-size: 14px;
  color: #666666;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-link-list a:hover,
.footer-map-link:hover,
.footer-contact-item:hover strong {
  color: var(--orange);
}

.footer-column-cta {
  padding: 24px;
  background: #fff8f2;
  border: 1px solid rgba(244, 121, 32, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.footer-note {
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
}

.footer-cta {
  width: fit-content;
}

.footer-bottom {
  max-width: 1200px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-bottom p,
.footer-bottom-links a {
  font-size: 12px;
  color: #6f6f6f;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom-links a {
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  section {
    padding: 72px 24px;
  }

  .site-nav-inner {
    padding: 0 20px;
  }

  .brand-logo-image {
    height: 60px;
    max-width: min(66vw, 380px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 24px;
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid #e6e6e6;
  }

  body.nav-open .nav-panel {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 12px;
    padding: 0 0 0 14px;
    background: transparent;
    border-top: none;
    box-shadow: none;
    display: grid;
    gap: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-cta {
    display: inline-flex;
  }

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

  .cta-band,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  body {
    padding-top: 92px;
  }

  .nav-logo .brand-logo-image {
    height: 54px;
    max-width: min(66vw, 310px);
  }

  .footer-logo .brand-logo-image {
    height: 86px;
    max-width: 400px;
  }

  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-card-content {
    padding: 28px 22px 24px;
  }

  .expertise-strip {
    padding: 20px 24px;
    justify-content: flex-start;
  }
}
