﻿:root {
  --black: #0a0a0a;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #ff5e00;
  --accent-soft: rgba(255, 94, 0, 0.2);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.1);
  --max-width: 1400px;
  /* One shared side gutter so the utility-bar rule, the hero content and inner-page content
     all start and end on the same vertical line. */
  --gutter: 32px;
}

@media (max-width: 720px) { :root { --gutter: 24px; } }

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--black);
  color: var(--ink);
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 24px;
  left: 0;
  width: 100%;
  padding: 0 24px;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 16px 32px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.36);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
}

.brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 46px);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.nav-links a {
  transition: color 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  background: var(--glass);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.glass-button:hover,
.glass-button:focus-visible {
  border-color: rgba(255, 94, 0, 0.4);
  background: var(--accent-soft);
  box-shadow: 0 8px 32px rgba(255, 94, 0, 0.1);
  transform: translateY(-1px);
}

.glass-button--accent {
  border-color: rgba(255, 94, 0, 0.42);
  background: rgba(255, 94, 0, 0.16);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-overlay,
.hero-video {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    linear-gradient(120deg, #101010 0%, #171717 48%, #050505 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: ken-burns 18s var(--ease) both;
  filter: saturate(0.82) contrast(1.06);
}

.hero-slide {
  opacity: 0;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  transform: scale(1.2);
  transition: opacity 1.8s var(--ease);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  animation: ken-burns 9s linear both;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.5) 100%
    ),
    radial-gradient(circle at 15% 45%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72) 68%);
}

.hero-inner {
  width: min(100%, var(--max-width));
  margin: auto;
  padding: 132px var(--gutter) 116px;
}

.eyebrow {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4em;
  line-height: 1.8;
  text-transform: uppercase;
}

.hero h1,
.section-lead h2,
.contact-inner h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(48px, 7.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-copy {
  max-width: 450px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-status,
.hero-scroll {
  position: absolute;
  z-index: 5;
  bottom: 32px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-status {
  left: max(32px, calc((100vw - var(--max-width)) / 2 + 32px));
}

.hero-status p {
  margin: 0;
  line-height: 1.9;
}

.hero-scroll {
  right: max(32px, calc((100vw - var(--max-width)) / 2 + 32px));
  display: flex;
  align-items: center;
  gap: 16px;
}

.scroll-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.scroll-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  animation: float 3s ease-in-out infinite;
}

.scroll-button:hover,
.scroll-button:focus-visible {
  border-color: rgba(255, 94, 0, 0.4);
  background: var(--accent-soft);
  box-shadow: 0 8px 32px rgba(255, 94, 0, 0.1);
}

.content-section {
  padding: 128px 32px;
  background: var(--black);
}

.content-section--compact {
  padding-top: 96px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(56px, 9vw, 140px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.orange-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 32px;
  background: var(--accent);
}

.section-lead h2,
.contact-inner h2 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 64px);
}

.section-copy {
  align-self: end;
  max-width: 560px;
}

.section-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.section-copy p + p {
  margin-top: 30px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 36px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-section {
  padding: 128px 32px 156px;
  background:
    linear-gradient(180deg, rgba(255, 94, 0, 0.04), transparent 46%),
    var(--black);
}

.contact-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.contact-inner .glass-button {
  margin-top: 36px;
}

@keyframes ken-burns {
  from {
    transform: scale(1.2);
  }

  to {
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 14px;
    padding: 0 14px;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    gap: 16px;
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    justify-self: end;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero-inner {
    padding: 118px 24px 136px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-status {
    left: 24px;
    max-width: 210px;
  }

  .hero-scroll {
    right: 24px;
  }

  .content-section,
  .contact-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-copy {
    align-self: start;
  }
}

@media (max-width: 560px) {
  .glass-button {
    width: 100%;
  }

  .nav-cta {
    width: auto;
  }

  .hero-actions {
    width: min(100%, 340px);
  }

  .hero-status {
    bottom: 28px;
  }

  .hero-scroll span {
    display: none;
  }
}




/* Minimal image-led hero overrides */
.hero-media { background: #101010; }
.hero-video { display: none; }
.hero-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  transform: scale(1.1);
  transition: opacity 1.4s var(--ease), transform 6.5s ease;
  will-change: opacity, transform;
}
.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-inner { padding-bottom: 190px; }
.hero-inner .glass-button { margin-top: 30px; }
.hero-brandbar {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  min-height: 76px;
  padding: 0 32px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.hero-brandbar span:first-child,
.hero-brandbar span:nth-child(6) { color: var(--accent); font-size: 16px; letter-spacing: -0.05em; }
.simple-section { padding: 112px 32px; background: var(--black); }
.simple-section h2 { max-width: 760px; margin: 0; font-size: clamp(44px, 7vw, 72px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.simple-section .glass-button { margin-top: 32px; }
@keyframes image-pullback { from { transform: scale(1.22); } to { transform: scale(1); } }
@media (max-width: 720px) {
  .hero-brandbar { justify-content: flex-start; min-height: 64px; padding: 0 24px; animation: brand-drift 20s linear infinite; }
  .hero-brandbar span { flex: 0 0 auto; }
  .simple-section { padding: 88px 24px; }
}
@keyframes brand-drift { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* Final hero and carousel corrections */
.hero-media { z-index: 0; }
.hero-image { z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #101010; }
.hero-overlay { z-index: 1; }
.hero-inner { position: relative; z-index: 2; }
.hero-brandbar { z-index: 3; }
.brand-track { display: flex; flex: 0 0 auto; align-items: center; gap: 52px; min-width: max-content; animation: logo-marquee 26s linear infinite; }
.hero-brandbar span { flex: 0 0 auto; }
@keyframes logo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.brand img { display: block; width: 126px; height: auto; max-height: 34px; object-fit: contain; }
.hero-brandbar { padding: 0 32px; }
.brand-track { gap: 64px; }
.brand-track a { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; opacity: .7; transition: opacity .3s var(--ease); }
.brand-track a:hover, .brand-track a:focus-visible { opacity: 1; }
.brand-track img { display: block; width: auto; height: 28px; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-track a:first-child img, .brand-track a:nth-child(6) img { height: 34px; }
.hero-overlay { background: linear-gradient(180deg, rgba(10,10,10,.18) 0%, rgba(10,10,10,.3) 100%), linear-gradient(90deg, rgba(10,10,10,.22), rgba(10,10,10,.04) 68%); }
@media (max-width: 720px) { .brand-track { gap: 42px; } .brand-track img { max-width: 120px; height: 24px; } }

/* Final image timing and footer treatment */
.hero-inner { padding-bottom: 150px; }
.hero-brandbar { position: relative; inset: auto; width: 100%; min-height: 58px; margin: 34px 0 8px; padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.brand-track { width: max-content; gap: 54px; }
.brand-track img { height: 32px; max-width: 160px; filter: brightness(0) invert(1); }
.brand-track a:first-child img, .brand-track a:nth-child(6) img { height: 44px; width: 150px; }
.site-footer { padding: 112px 32px 32px; background: var(--black); }
.footer-top, .footer-bottom { width: min(100%, var(--max-width)); margin: 0 auto; }
.footer-email { display: inline-block; max-width: 1100px; color: var(--ink); font-size: clamp(36px, 7vw, 92px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; overflow-wrap: anywhere; transition: color .3s var(--ease); }
.footer-email:hover, .footer-email:focus-visible { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 120px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
@media (max-width: 720px) { .hero-brandbar { margin-top: 28px; overflow: hidden; } .brand-track { gap: 38px; } .brand-track img { height: 26px; max-width: 124px; } .brand-track a:first-child img, .brand-track a:nth-child(6) img { height: 34px; width: 116px; } .site-footer { padding: 88px 24px 24px; } .footer-bottom { margin-top: 80px; } }


/* Parent-company row is fixed; the lower strip is the moving marquee. */
.parent-marquee { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; margin: 34px 0 8px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.parent-marquee a { display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; opacity: .82; transition: opacity .3s var(--ease); }
.parent-marquee a:hover, .parent-marquee a:focus-visible { opacity: 1; }
.parent-marquee img { display: block; width: auto; max-width: 100%; height: 34px; object-fit: contain; filter: brightness(0) invert(1); }
.parent-marquee a:first-child img { height: 48px; max-width: 175px; }
.secondary-marquee { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.18); background: rgba(10,10,10,.3); backdrop-filter: blur(12px); }
.secondary-track { display: flex; width: max-content; gap: 64px; padding: 15px 0; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; will-change: transform; }
.footer-logo { display: block; width: min(100%, 820px); height: auto; margin: 110px auto 0; filter: brightness(0) invert(1); }
.site-footer { padding-bottom: 0; }
@media (max-width: 720px) { .nav-links { gap: 12px; font-size: 11px; } .parent-marquee { gap: 12px; margin-top: 26px; padding: 14px 0; } .parent-marquee img { height: 22px; } .parent-marquee a:first-child img { height: 30px; } .secondary-track { gap: 34px; } .footer-logo { margin-top: 76px; } }

/* Refined marquees and legal footer */
.parent-marquee { justify-content: center; gap: clamp(28px, 6vw, 92px); }
.parent-marquee a { flex: 0 0 auto; }
.parent-marquee img { width: auto; height: 27px; max-width: 148px; }
.secondary-track { align-items: center; gap: 44px; padding: 13px 0; }
.secondary-track a { display: flex; align-items: center; opacity: .72; transition: opacity .3s var(--ease); }
.secondary-track a:hover, .secondary-track a:focus-visible { opacity: 1; }
.secondary-track img { display: block; width: auto; height: 18px; max-width: 116px; filter: brightness(0) invert(1); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 34px; width: min(100%, var(--max-width)); margin: 0 auto; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { transition: color .3s var(--ease); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; width: min(100%, var(--max-width)); margin: 72px auto 0; padding-bottom: 20px; color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.footer-logo-band { margin: 0 -32px; padding: 42px 32px 30px; background: var(--accent); }
.footer-logo { display: block; width: min(100%, 900px); height: auto; margin: 0 auto; filter: brightness(0); }
@media (max-width: 720px) { .parent-marquee { gap: 24px; } .parent-marquee img { height: 20px; max-width: 104px; } .secondary-track { gap: 28px; } .secondary-track img { height: 15px; max-width: 88px; } .footer-meta { margin-top: 52px; } .footer-logo-band { margin: 0 -24px; padding: 32px 24px 22px; } }

/* Final spacing and hierarchy pass */
.site-header { top: 28px; padding: 0 32px; }
.nav-shell { display: block; width: min(100%, var(--max-width)); padding: 0; border: 0; background: transparent; backdrop-filter: none; box-shadow: none; }
.nav-links { display: none; }
.brand img { width: 154px; max-height: 42px; }
.hero-inner { transform: translateY(-6vh); }
.parent-marquee { justify-content: flex-start; width: min(100%, 720px); gap: 34px; margin-top: 26px; padding: 13px 0; }
.parent-marquee img { height: 23px; max-width: 122px; }
.parent-marquee a:first-child img { height: 23px; max-width: 122px; }
.footer-logo-band { background: #ebe7df; padding: 36px 32px 0; }
.footer-logo { margin-bottom: -1px; filter: brightness(0); }
@media (max-width: 720px) { .site-header { top: 20px; padding: 0 24px; } .brand img { width: 126px; max-height: 34px; } .hero-inner { transform: translateY(-3vh); } .parent-marquee { width: min(100%, 540px); gap: 20px; } .parent-marquee img, .parent-marquee a:first-child img { height: 18px; max-width: 92px; } .footer-logo-band { padding: 28px 24px 0; } }

/* Final color and logo normalization */
.hero-overlay { background: linear-gradient(180deg, rgba(10,10,10,.28) 0%, rgba(10,10,10,.42) 100%), linear-gradient(90deg, rgba(10,10,10,.28), rgba(10,10,10,.08) 68%); }
.parent-marquee { align-items: center; gap: 28px; }
.parent-marquee a { width: 128px; height: 32px; }
.parent-marquee img { width: 128px; height: 24px; max-width: 128px; object-fit: contain; }
.footer-logo-band { background: #252525; }
.footer-logo { filter: brightness(0) invert(1); }
@media (max-width: 720px) { .parent-marquee { gap: 14px; } .parent-marquee a, .parent-marquee img { width: 88px; max-width: 88px; height: 20px; } }

/* Designed upper footer, restrained black logo block below. */
.site-footer { padding-top: 0; background: #252525; }
.footer-feature { width: min(100%, var(--max-width)); margin: 0 auto; padding: 86px 0 78px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-mark { display: block; width: 54px; height: 3px; margin-bottom: 28px; background: var(--accent); }
.footer-feature h2 { max-width: 760px; margin: 0; color: var(--ink); font-size: clamp(42px, 7vw, 88px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
.footer-links { padding-top: 30px; }
.footer-logo-band { background: #0a0a0a; }
@media (max-width: 720px) { .footer-feature { padding: 64px 0 58px; } .footer-feature h2 { font-size: clamp(40px, 13vw, 64px); } }

/* Unified footer tone and simplified wordmark. */
.footer-logo-band { background: #252525; }
.footer-wordmark { color: #fff; font-size: clamp(72px, 17vw, 220px); font-weight: 900; letter-spacing: -0.09em; line-height: .72; text-align: center; }

.site-footer, .footer-logo-band { background: #0a0a0a; }
.footer-logo { display: block; width: min(100%, 900px); height: auto; margin: 0 auto; filter: brightness(0) invert(1); }

/* The logo is part of the opening frame, not a sticky element. */
.site-header { position: absolute; }

/* Placeholder page layout */
.page-shell { padding: 110px 0 60px; background: var(--black); }
.page-content { width: min(100%, var(--max-width)); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.page-content h1 { max-width: 700px; margin: 0; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; }
.page-content p:not(.eyebrow) { max-width: 620px; margin: 32px 0 0; color: var(--muted); font-size: 20px; line-height: 1.6; }
.page-back { display: inline-block; margin-top: 60px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 900px) { .nav-links { display: flex; gap: 16px; overflow-x: auto; justify-content: flex-end; font-size: 11px; } .nav-shell { grid-template-columns: auto 1fr; } .page-shell { padding: 96px 0 60px; } }
.nav-links { display: flex; }

/* Utility bar: contact left, page links right. The rule underneath is an ::after inset to --gutter (not a
   border-bottom, which would span the padding box) so it lines up with the logo/locations below it. */
.utility-bar { position: absolute; z-index: 21; top: 0; left: 0; right: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; width: min(100%, var(--max-width)); margin: 0 auto; padding: 16px var(--gutter); box-sizing: border-box; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
.utility-bar::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.22); }
.utility-left, .utility-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.utility-sep { color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.site-header { top: 74px; }
@media (max-width: 720px) {
  .utility-bar { gap: 6px 12px; padding: 12px var(--gutter); font-size: 10px; }
  .utility-left { flex-wrap: nowrap; gap: 6px; max-width: 100%; overflow-x: auto; }
  .utility-contact { white-space: nowrap; }
  .site-header { top: 58px; }
}

/* Nav text-roll hover: current text rolls up, a duplicate rolls in from below. Pure CSS, so it's touch-safe by default.
   The roll-mask (not the <a>) owns overflow:hidden, so nothing else gets clipped. */
.nav-roll { position: relative; display: inline-block; vertical-align: top; }
.nav-roll .roll-mask { position: relative; display: inline-block; overflow: hidden; height: 1.1em; line-height: 1.1; }
.nav-roll .roll-mask span { display: block; transition: transform .4s var(--ease); }
.nav-roll .roll-mask::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: #fff; transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .nav-roll:hover .roll-mask span, .nav-roll:focus-visible .roll-mask span { transform: translateY(-100%); }
  .nav-roll:hover .roll-mask::after, .nav-roll:focus-visible .roll-mask::after { transform: translateY(-100%); }
}

/* Companies row spans the full hero width; each mark keeps its natural proportions at a modest, readable size. */
.parent-marquee { justify-content: space-between; width: 100%; gap: clamp(24px, 4vw, 56px); }
.parent-marquee a, .parent-marquee a:first-child { flex: 0 0 auto; width: auto; height: clamp(18px, 2.6vw, 30px); transition: transform .25s var(--ease); }
.parent-marquee img, .parent-marquee a:first-child img { width: auto; height: 100%; max-width: 100%; max-height: 100%; }
@media (max-width: 720px) { .parent-marquee a, .parent-marquee a:first-child { height: clamp(14px, 4vw, 20px); } }
@media (hover: hover) and (pointer: fine) {
  .parent-marquee a:hover, .parent-marquee a:focus-visible { transform: translateY(-4px); }
}

/* Top-left wordmark inside the hero — sized and placed like the old site's logo block. */
.logo { display: inline-block; margin-bottom: clamp(32px, 8vh, 64px); }
.main-logo-img { display: block; width: clamp(100px, 20vw, 200px); height: auto; filter: brightness(0) invert(1); }

/* Location switcher, left-aligned under the companies row, matching the old site's flow. */
.hero-locations { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.hero-locations .location { display: inline-block; color: var(--faint); transition: color .3s var(--ease), transform .25s var(--ease); }
.hero-locations .loc-sep { color: var(--line-strong); font-weight: 400; }
.hero-locations .location:hover, .hero-locations .location:focus-visible { color: var(--ink); }
.hero-locations .location.is-active { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .hero-locations .location:hover, .hero-locations .location:focus-visible { transform: translateY(-3px); }
}
@media (max-width: 720px) { .hero-locations { gap: 8px; font-size: 11px; } }

/* Simple legal footer, copied from the old site's footer layout. */
.site-footer { padding: 48px 32px 40px; border-top: 1px solid var(--line); background: var(--black); }
.legal-footer { max-width: var(--max-width); margin: 0 auto; color: var(--faint); font-size: 11px; line-height: 1.6; text-align: justify; }

/* Inner pages (Contact, About, Policies...) are always white/black. */
html:has(body.subpage) { background: #f5f2ec; }
body.subpage { background: #f5f2ec; }
body.subpage .page-shell { background: #f5f2ec; color: #0a0a0a; }
body.subpage .utility-bar { color: #0a0a0a; }
body.subpage .utility-bar::after { border-bottom-color: rgba(10, 10, 10, 0.12); }
body.subpage .utility-sep { color: rgba(10, 10, 10, 0.35); }
body.subpage .utility-bar .nav-roll .roll-mask::after { color: #0a0a0a; }
body.subpage .page-content .logo { margin-bottom: clamp(24px, 5vh, 40px); }
body.subpage .main-logo-img { filter: brightness(0) invert(0); }
body.subpage .page-content .eyebrow { color: rgba(10, 10, 10, 0.6); }
body.subpage .page-content h1 { color: #0a0a0a; }
body.subpage .page-content p:not(.eyebrow) { color: rgba(10, 10, 10, 0.65); }
body.subpage .site-footer { background: #f5f2ec; border-top-color: rgba(10, 10, 10, 0.15); }
body.subpage .legal-footer { color: rgba(10, 10, 10, 0.55); }

/* Header, logo and companies carousel resized to the old site's width/padding/spacing (desktop only — mobile keeps its own tuned breakpoints below). */
@media (min-width: 721px) {
  .hero-inner { padding: 110px 4vw 116px; }
  #hero-title { font-size: clamp(40px, 4.8vw, 96px); margin-bottom: 5vh; }
  .parent-marquee { padding: 2.5vh 0; margin: 0 0 2vh; }
  .parent-marquee a, .parent-marquee a:first-child { height: clamp(22px, 4.8vw, 38px); }
  .hero-locations { font-size: clamp(13.6px, 1.2vw, 17.6px); gap: 0.8rem; margin-top: 2vh; }
}

/* Mobile: same layout, scaled down to fit. */
@media (max-width: 720px) {
  .hero-inner { padding: 96px 20px 150px; }
  #hero-title { font-size: clamp(30px, 8vw, 40px); margin-bottom: 24px; line-height: 1.08; }
  .logo { margin-bottom: 24px; }
  .main-logo-img { width: clamp(84px, 34vw, 140px); }
  .parent-marquee { flex-wrap: nowrap; width: 100%; gap: 14px; padding: 12px 0; margin: 0 0 16px; justify-content: space-between; }
  .parent-marquee a, .parent-marquee a:first-child { height: 16px; flex: 1 1 0; min-width: 0; }
  .hero-locations { font-size: 11px; gap: 8px; margin-top: 16px; }
  .page-content h1 { font-size: clamp(28px, 9vw, 40px); }
  .site-footer { padding: 32px 20px 28px; }
}
