:root {
  --orange: #f04a17;
  --orange-dark: #d93b0b;
  --ink: #121719;
  --ink-soft: #303739;
  --paper: #f7f6f2;
  --white: #ffffff;
  --line: #dcdedb;
  --muted: #687174;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: var(--orange); color: white; }

.site-header {
  height: 82px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(18,23,25,.09);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 32px;
}

.logo-link { width: 176px; }
.brand-mark { display: block; width: 176px; height: 50px; overflow: hidden; position: relative; }
.brand-mark img { position: absolute; width: 236px; max-width: none; left: -30px; top: 50%; transform: translateY(-50%); }
.brand-mark--inverted { filter: brightness(0) invert(1); opacity: .92; }

.desktop-nav { display: flex; justify-content: center; gap: clamp(22px, 3.1vw, 48px); }
.desktop-nav a { color: var(--ink-soft); font-size: .82rem; font-weight: 650; letter-spacing: .02em; }
.desktop-nav a:hover { color: var(--orange); }

.header-contact {
  padding: 11px 15px;
  border: 1px solid var(--ink);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: .2s ease;
}
.header-contact:hover { background: var(--ink); color: white; }
.mobile-menu { display: none; }

.hero { min-height: 680px; height: calc(100vh - 82px); max-height: 860px; position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: white; }
.hero-copy { width: min(var(--max), calc(100% - 64px)); height: 100%; margin: 0 auto; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; }
.hero-copy-inner { width: min(620px, 55%); margin: 0; padding: 74px 0 44px; }

.eyebrow { margin: 0 0 26px; color: var(--orange-dark); font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 30px; height: 2px; background: var(--orange); display: inline-block; }
.eyebrow--light { color: #ff9a72; }

.hero h1 { margin: 0; max-width: 660px; font-size: clamp(2.65rem, 4.5vw, 4.35rem); line-height: 1.04; letter-spacing: -.052em; font-weight: 560; text-wrap: balance; }
.hero-intro { max-width: 570px; margin: 32px 0 0; color: #bcc2c3; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.75; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; font-size: .8rem; font-weight: 760; letter-spacing: .02em; transition: .2s ease; }
.button--orange { background: var(--orange); color: white; }
.button--orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.text-link { color: white; font-size: .82rem; font-weight: 700; border-bottom: 1px solid #5a6061; padding: 13px 0 9px; display: flex; gap: 30px; }
.text-link:hover { border-color: var(--orange); }

.hero-facts { width: min(720px, 62%); border: 1px solid rgba(255,255,255,.18); border-bottom: 0; background: rgba(18,23,25,.76); backdrop-filter: blur(8px); display: grid; grid-template-columns: repeat(3,1fr); }
.hero-facts div { padding: 28px clamp(16px, 3vw, 40px); border-right: 1px solid #33393a; display: flex; flex-direction: column; gap: 6px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font-size: .98rem; font-weight: 650; }
.hero-facts span { color: #777f81; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }

.hero-image { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: url('../media/tersus-2-clean.jpg') center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(10,15,17,.94) 0%, rgba(10,15,17,.78) 28%, rgba(10,15,17,.26) 58%, rgba(10,15,17,.08) 100%), linear-gradient(180deg, rgba(0,0,0,.02) 52%, rgba(0,0,0,.46) 100%); pointer-events: none; }
.hero-image-label { position: absolute; z-index: 2; right: max(32px, calc((100vw - var(--max)) / 2)); bottom: 30px; padding: 0; display: flex; gap: 34px; color: rgba(255,255,255,.82); font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; }

.section { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.services-section { padding: 128px 0 136px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.25fr .8fr; gap: 46px; align-items: start; margin-bottom: 72px; }
.section-heading .eyebrow { margin-top: 11px; }
.section-heading h2, .company-copy h2, .fleet-heading h2, .clients-heading h2, .contact-title h2, .reach-copy h2 { margin: 0; font-size: clamp(2rem, 3.25vw, 3.25rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 560; text-wrap: balance; }
.section-heading > p:last-child { margin: 8px 0 0; color: var(--muted); line-height: 1.72; font-size: .98rem; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { padding: 38px 40px 42px 0; min-height: 360px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.service-card + .service-card { padding-left: 40px; }
.service-card:last-child { border-right: 0; padding-right: 0; }
.service-number { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 62px 0 18px; font-size: 1.35rem; font-weight: 650; letter-spacing: -.025em; }
.service-card p { color: var(--muted); line-height: 1.7; margin: 0; font-size: .91rem; }
.service-card a { margin-top: auto; padding-top: 28px; font-size: .77rem; font-weight: 750; display: flex; justify-content: space-between; }
.service-card a:hover { color: var(--orange); }

.company-section { padding: 20px 0 136px; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(64px, 9vw, 130px); align-items: center; }
.company-image-wrap { position: relative; }
.company-image-wrap > img { width: 100%; aspect-ratio: 1.05; object-fit: cover; object-position: 60% center; filter: saturate(.84) contrast(1.03); }
.safety-note { position: absolute; right: -28px; bottom: 28px; width: 210px; min-height: 126px; background: var(--orange); color: white; padding: 25px; display: flex; flex-direction: column; justify-content: flex-end; }
.safety-note strong { font-size: 1.05rem; margin-bottom: 6px; }
.safety-note span { color: #ffd5c4; font-size: .75rem; line-height: 1.5; }
.company-copy { padding-right: clamp(0px, 3vw, 42px); }
.company-copy .eyebrow { margin-bottom: 34px; }
.company-lead { margin: 38px 0 12px; font-size: 1.13rem; line-height: 1.6; color: var(--ink-soft); font-weight: 570; }
.company-copy > p:not(.eyebrow):not(.company-lead) { margin: 0; color: var(--muted); line-height: 1.78; font-size: .94rem; }
.quote-block { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.quote-block > span { font-size: .65rem; color: var(--orange-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.quote-block blockquote { margin: 14px 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.62; font-weight: 520; }

.reach-section { background: #1b2224; color: white; padding: 110px 0; }
.reach-inner { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 150px); align-items: end; }
.reach-copy p:last-child { color: #9fa7a9; line-height: 1.75; max-width: 580px; margin: 28px 0 0; }
.reach-list { border-top: 1px solid #495052; }
.reach-list div { display: flex; justify-content: space-between; gap: 32px; padding: 24px 0; border-bottom: 1px solid #495052; }
.reach-list span { color: #9fa7a9; font-size: .82rem; }
.reach-list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; text-align: right; }

.fleet-section { padding: 132px 0 140px; }
.fleet-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 66px; }
.fleet-heading > p { color: var(--muted); font-size: .95rem; line-height: 1.75; margin: 0 0 4px; }
.fleet-gallery { display: grid; grid-template-columns: 1.28fr .72fr; grid-template-rows: repeat(2, minmax(260px, 1fr)); gap: 18px; }
.fleet-gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.fleet-gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(.86); }
.fleet-gallery figure:hover img { transform: scale(1.025); }
.fleet-main { grid-row: 1 / 3; }
.fleet-main img { object-position: 47% center; }
.fleet-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: white; display: flex; justify-content: space-between; background: linear-gradient(transparent, rgba(0,0,0,.68)); font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; }

.clients-section { background: white; padding: 120px 0 118px; }
.clients-inner { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; column-gap: clamp(70px, 9vw, 130px); }
.clients-heading h2 { max-width: 560px; font-size: clamp(1.9rem, 3vw, 3rem); }
.client-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.client-list span { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .87rem; }
.client-list span:nth-child(odd) { padding-right: 24px; }
.client-list span:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.clients-note { grid-column: 2; color: var(--muted); margin: 28px 0 0; font-size: .77rem; }

.contact-section { background: var(--orange); color: white; padding: 118px 0; }
.contact-inner { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(70px, 10vw, 150px); }
.contact-title h2 { max-width: 620px; }
.contact-title .button { margin-top: 40px; }
.button--white { background: white; color: var(--ink); }
.button--white:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.contact-details { display: grid; grid-template-columns: 1.25fr .75fr; gap: 58px; padding-top: 50px; }
.contact-details > div { display: flex; flex-direction: column; align-items: flex-start; }
.contact-details div > span { color: #ffd1c1; font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; margin-bottom: 20px; }
.contact-details address { font-style: normal; line-height: 1.8; font-size: .85rem; }
.contact-details a { font-size: .85rem; line-height: 1.9; border-bottom: 1px solid transparent; }
.contact-details a:hover { border-color: white; }
.contact-details small { color: #ffd1c1; font-size: .65rem; margin-top: 20px; }

.site-footer { background: #111718; color: white; padding: 58px 0; }
.footer-inner { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 240px 1fr auto; gap: 60px; align-items: center; }
.footer-copy p { margin: 0 0 9px; color: #a8b0b1; font-size: .82rem; }
.footer-copy span, .back-top { color: #646c6e; font-size: .68rem; }
.back-top:hover { color: white; }

@media (max-width: 1040px) {
  .header-inner { grid-template-columns: 190px 1fr auto; }
  .desktop-nav { gap: 22px; }
  .hero-copy-inner { width: min(610px, 62%); }
  .hero-facts { width: min(680px, 70%); }
  .section-heading { grid-template-columns: .7fr 1.3fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .company-section { gap: 72px; }
  .clients-inner { column-gap: 72px; }
  .contact-inner { gap: 70px; }
}

@media (max-width: 820px) {
  .site-header { height: 72px; }
  .header-inner { width: calc(100% - 40px); grid-template-columns: 1fr auto; }
  .logo-link { width: 185px; }
  .brand-mark { width: 185px; height: 52px; }
  .brand-mark img { width: 250px; left: -34px; }
  .desktop-nav, .header-contact { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; padding: 10px; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; right: 0; top: 48px; width: 220px; padding: 16px; background: white; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(18,23,25,.12); display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 12px; font-size: .82rem; border-bottom: 1px solid var(--line); }
  .mobile-menu nav a:last-child { border-bottom: 0; color: var(--orange-dark); }

  .hero { height: 720px; min-height: 720px; }
  .hero-copy { width: calc(100% - 48px); min-height: 100%; }
  .hero-copy-inner { width: min(590px, 82%); padding: 76px 0 54px; }
  .hero h1 { max-width: 650px; }
  .hero-image { min-height: 0; }
  .hero-video { object-position: 58% center; }
  .hero-facts { width: min(650px, 100%); }
  .hero-image-label { display: none; }
  .hero-facts div { padding: 24px; }

  .section, .reach-inner, .clients-inner, .contact-inner, .footer-inner { width: calc(100% - 48px); }
  .services-section { padding: 94px 0 100px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 52px; }
  .section-heading > p:last-child { grid-column: auto; max-width: 570px; }
  .section-heading .eyebrow { margin-top: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card, .service-card:last-child { min-height: 280px; padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3 { margin-top: 36px; }

  .company-section { grid-template-columns: 1fr; padding-bottom: 105px; }
  .company-image-wrap { width: calc(100% - 24px); }
  .company-copy { max-width: 640px; }
  .reach-section { padding: 90px 0; }
  .reach-inner { grid-template-columns: 1fr; gap: 55px; }
  .fleet-section { padding: 100px 0; }
  .fleet-heading { grid-template-columns: 1fr; gap: 24px; }
  .fleet-heading > p { max-width: 570px; }
  .fleet-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 480px 260px; }
  .fleet-main { grid-column: 1 / 3; grid-row: auto; }

  .clients-section { padding: 92px 0; }
  .clients-inner { grid-template-columns: 1fr; gap: 52px; }
  .clients-note { grid-column: auto; margin-top: -24px; }
  .contact-section { padding: 92px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-details { padding-top: 0; }
  .footer-inner { grid-template-columns: 210px 1fr; gap: 30px; }
  .back-top { grid-column: 2; }
}

@media (max-width: 560px) {
  .header-inner { width: calc(100% - 28px); }
  .hero { height: 700px; min-height: 700px; }
  .hero-copy { width: calc(100% - 36px); min-height: 100%; }
  .hero-copy-inner { width: 100%; padding: 62px 0 42px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.2rem); }
  .hero-intro { font-size: .98rem; line-height: 1.65; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div { padding: 20px 18px; }
  .hero-facts div:nth-child(3) { display: none; }
  .hero-image { min-height: 0; background-position: 58% center; }

  .section, .reach-inner, .clients-inner, .contact-inner, .footer-inner { width: calc(100% - 36px); }
  .services-section { padding-top: 82px; }
  .section-heading h2, .company-copy h2, .fleet-heading h2, .clients-heading h2, .contact-title h2, .reach-copy h2 { font-size: 2.2rem; }
  .company-section { gap: 62px; }
  .company-image-wrap { width: calc(100% - 18px); }
  .company-image-wrap > img { aspect-ratio: .92; }
  .safety-note { right: -18px; bottom: -28px; }
  .company-copy { padding-top: 18px; }
  .reach-list div { flex-direction: column; gap: 7px; }
  .reach-list strong { text-align: left; }
  .fleet-gallery { display: flex; flex-direction: column; }
  .fleet-gallery figure { min-height: 260px; }
  .fleet-gallery .fleet-main { min-height: 380px; }
  .client-list { grid-template-columns: 1fr; }
  .client-list span:nth-child(even) { padding-left: 0; border-left: 0; }
  .contact-details { grid-template-columns: 1fr; gap: 38px; }
  .button { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-copy, .back-top { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .hero-video { display: none; }
}
