/* TREX Specialized Logistics — site styles
   Type: Archivo (width axis does the heavy lifting) + IBM Plex Mono for freight data.
   Colour: ink / rex violet / paper, with marker-light amber used only for live status. */

:root {
  --ink: #15101f;
  --ink-2: #1f1830;
  --ink-3: #2b2242;
  --paper: #f4f2f8;
  --white: #fff;
  --violet: #7431f2;
  --violet-d: #5b21c9;
  --violet-lt: #9b6bff;
  --violet-wash: #e9e1fd;
  --amber: #ffb224;
  --go: #37d399;
  --muted: #5a5468;
  --on-dark: #ede9f7;
  --muted-dark: #b4adc6;
  --line: #ddd8e8;
  --line-dark: rgba(255, 255, 255, 0.13);

  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r: 4px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--violet-lt);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--violet);
  color: #fff;
}

.wrap {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--r);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* ── Type ───────────────────────────────────────────────────────────── */
.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--violet);
  margin-bottom: 20px;
}
.eyebrow::before {
  /* the lane: a short slash at the logo's angle */
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(0 100%, 34% 100%, 100% 0, 66% 0);
  flex: none;
}
.on-dark .eyebrow {
  color: var(--violet-lt);
}
.h-display {
  font-family: var(--display);
  font-variation-settings: 'wdth' 125;
  font-weight: 800;
  font-size: clamp(2.35rem, 5.3vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h-page {
  font-family: var(--display);
  font-variation-settings: 'wdth' 125;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.2vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-variation-settings: 'wdth' 118;
  font-weight: 750;
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-variation-settings: 'wdth' 112;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.on-dark .lede {
  color: var(--muted-dark);
}
.accent {
  color: var(--violet-lt);
}
p {
  text-wrap: pretty;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font: 650 1rem/1 var(--body);
  font-variation-settings: 'wdth' 108;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9375rem;
}
.btn-violet {
  background: var(--violet);
  color: #fff;
}
.btn-violet:hover {
  background: var(--violet-d);
}
.btn-ghost {
  border-color: var(--line-dark);
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: var(--ink-3);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn .arrow {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow {
  transform: translate(2px, -2px);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-variation-settings: 'wdth' 108;
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.18s;
}
.link:hover {
  text-decoration-color: currentColor;
}
.on-dark .link {
  color: var(--violet-lt);
}
.link .arrow {
  width: 13px;
  height: 13px;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line-dark);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo {
  flex: none;
  display: block;
}
.logo-svg {
  height: 22px;
  width: auto;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: 14px;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--r);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--muted-dark);
  transition: color 0.15s;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: #fff;
}
.nav a[aria-current='page'] {
  box-shadow: inset 0 -2px 0 var(--violet-lt);
  border-radius: 0;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .mono {
  color: var(--muted-dark);
  font-size: 0.6875rem;
}
.header-phone:hover {
  color: var(--violet-lt);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s var(--ease);
}
.nav-toggle i:nth-of-type(1) {
  top: 17px;
}
.nav-toggle i:nth-of-type(2) {
  top: 25px;
}
.nav-toggle[aria-expanded='true'] i:nth-of-type(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] i:nth-of-type(2) {
  transform: translateY(-4px) rotate(-45deg);
}
@media (max-width: 1020px) {
  .header-phone .mono {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .header-phone {
    display: none;
  }
  .header-row {
    height: 64px;
    gap: 12px;
  }
  .header-actions {
    gap: 8px;
  }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 16px 0;
    font-size: 1.125rem;
    color: #fff;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
  }
  .nav a[aria-current='page'] {
    box-shadow: none;
    color: var(--violet-lt);
  }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.on-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* dusk glow behind the interchange */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 80% at 82% 40%, rgba(116, 49, 242, 0.34), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(255, 178, 36, 0.07), transparent 70%);
}
.hero-inner {
  position: relative;
  padding-block: clamp(56px, 7.5vw, 104px) clamp(56px, 7vw, 96px);
}
.hero-copy {
  max-width: 740px;
}
.hero h1 span {
  display: block;
}
.hero .lede {
  margin-top: 28px;
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted-dark);
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.16);
  flex: none;
}
.status[data-open='true'] .status-dot {
  background: var(--go);
  box-shadow: 0 0 0 4px rgba(55, 211, 153, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
.status strong {
  color: #fff;
  font-weight: 500;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(55, 211, 153, 0);
  }
}

.interchange {
  position: absolute;
  z-index: -1;
  left: 45%;
  top: -14%;
  height: 128%;
  width: auto;
  max-width: none;
  pointer-events: none;
}
.interchange .lane-under {
  fill: #241b38;
}
.interchange .lane-over {
  fill: url(#laneGrad);
}
.interchange .dash {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 5;
  stroke-dasharray: 26 30;
}
.interchange .dash-over {
  stroke: rgba(255, 255, 255, 0.42);
  animation: lane 2.6s linear infinite;
}
.interchange .light {
  fill: var(--amber);
  filter: drop-shadow(0 0 8px rgba(255, 178, 36, 0.9));
  offset-path: path('M218 688 L858 0');
  offset-rotate: 0deg;
  animation: drive 7s linear infinite;
}
.interchange .light.b {
  animation-delay: -0.22s;
}
.interchange .light.c {
  offset-path: path('M92 688 L732 0');
  animation-duration: 9s;
  animation-delay: -4s;
}
.interchange .light.d {
  offset-path: path('M92 688 L732 0');
  animation-duration: 9s;
  animation-delay: -4.26s;
}
@keyframes drive {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}
@keyframes lane {
  to {
    stroke-dashoffset: -56;
  }
}
@media (max-width: 900px) {
  .interchange {
    left: 34%;
    top: auto;
    bottom: -6%;
    height: 62%;
    opacity: 0.38;
  }
}

/* ── Credential strip ───────────────────────────────────────────────── */
.creds {
  border-top: 1px solid var(--line-dark);
  position: relative;
  background: rgba(21, 16, 31, 0.72);
  backdrop-filter: blur(6px);
}
.creds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cred {
  padding: 22px 24px 24px 0;
}
.cred + .cred {
  padding-left: 24px;
  border-left: 1px solid var(--line-dark);
}
.cred dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.cred dd {
  margin-top: 6px;
  font-weight: 650;
  font-variation-settings: 'wdth' 110;
  font-variant-numeric: tabular-nums;
  font-size: 1.0625rem;
}
.cred dd a {
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.cred dd a:hover {
  text-decoration-color: var(--violet-lt);
}
@media (max-width: 820px) {
  .creds-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cred,
  .cred + .cred {
    padding: 18px 16px 18px 0;
    border-left: 0;
  }
  .cred:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line-dark);
  }
  .cred:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section {
  padding-block: var(--section);
}
.section.white {
  background: var(--white);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .lede {
  justify-self: end;
}
@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
  }
  .section-head .lede {
    justify-self: start;
  }
}

/* services */
.services {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.25s var(--ease);
}
.svc:hover {
  border-color: var(--violet);
  transform: translateY(-2px);
}
.svc-code {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.svc .h3 {
  margin-top: 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-variation-settings: 'wdth' 120;
  font-weight: 780;
}
.svc p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 46ch;
}
.svc .link {
  margin-top: auto;
  padding-top: 28px;
}
.svc-feature {
  grid-row: span 2;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  min-height: 440px;
  isolation: isolate;
}
.svc-feature::after {
  /* the lane, cropped */
  content: '';
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -40px;
  width: 360px;
  aspect-ratio: 940 / 688;
  background: linear-gradient(20deg, var(--violet-d), var(--violet-lt));
  clip-path: polygon(0 100%, 31.9% 100%, 100% 0, 68.1% 0);
  opacity: 0.9;
}
.svc-feature .svc-code,
.svc-feature p {
  color: var(--muted-dark);
}
.svc-feature .link {
  color: #fff;
}
.svc-feature:hover {
  border-color: var(--violet-lt);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--on-dark);
  background: rgba(21, 16, 31, 0.6);
}
@media (max-width: 820px) {
  .services {
    grid-template-columns: 1fr;
  }
  .svc-feature {
    min-height: 380px;
  }
  .svc-feature::after {
    width: 230px;
    right: -70px;
    bottom: -30px;
  }
}

/* process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 2px solid var(--ink);
}
.step {
  position: relative;
  padding: 28px 28px 0 0;
}
.step + .step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--violet);
  margin-bottom: 44px;
}
.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step,
  .step + .step {
    padding: 24px 20px 28px 0;
    border-left: 0;
  }
  .step:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }
  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .step::before {
    margin-bottom: 20px;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step,
  .step + .step,
  .step:nth-child(even) {
    padding: 22px 0 24px;
    border-left: 0;
  }
  .step + .step {
    border-top: 1px solid var(--line);
  }
}

/* partner band */
.band {
  background: var(--violet);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.band::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(
    -47.1deg,
    transparent 0 120px,
    rgba(21, 16, 31, 0.09) 120px 240px
  );
}
.band-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px 80px;
  align-items: start;
}
.band blockquote p:not(.eyebrow) {
  font-family: var(--display);
  font-variation-settings: 'wdth' 116;
  font-weight: 720;
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.band .eyebrow {
  color: #fff;
}
.commit {
  display: grid;
  gap: 0;
}
.commit li {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.commit li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.commit h3 {
  font-weight: 700;
  font-variation-settings: 'wdth' 112;
  font-size: 1.125rem;
}
.commit p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}
@media (max-width: 860px) {
  .band-grid {
    grid-template-columns: 1fr;
  }
}

/* location */
.loc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 72px;
  align-items: center;
}
.loc-map {
  background: var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 1 / 0.86;
  position: relative;
}
.loc-map svg {
  width: 100%;
  height: 100%;
}
.loc-map text {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  fill: var(--muted-dark);
}
.loc-map .pin-label {
  fill: #fff;
  font-size: 14px;
}
.loc-map figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(180, 173, 198, 0.7);
}
.loc-facts {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}
.loc-facts dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.loc-facts dd {
  margin-top: 4px;
  font-weight: 600;
  font-size: 1.125rem;
}
.loc-facts dd a {
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
}
.loc-facts dd a:hover {
  text-decoration-color: var(--violet);
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  max-width: 380px;
}
.hours th,
.hours td {
  padding: 7px 0;
  text-align: left;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.hours td {
  text-align: right;
  color: var(--muted);
}
.hours tr.today th,
.hours tr.today td {
  color: var(--violet);
  font-weight: 700;
}
@media (max-width: 860px) {
  .loc {
    grid-template-columns: 1fr;
  }
}

/* carriers split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}
.split-card p:not(.eyebrow) {
  margin: 12px 0 24px;
  color: var(--muted);
  max-width: 44ch;
}
.split-card.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}
.split-card.dark p:not(.eyebrow) {
  color: var(--muted-dark);
}
@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* closing CTA */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 58%;
  top: -10%;
  height: 120%;
  aspect-ratio: 940 / 688;
  background: linear-gradient(20deg, rgba(116, 49, 242, 0.55), rgba(155, 107, 255, 0.55));
  clip-path: polygon(0 100%, 31.9% 100%, 100% 0, 68.1% 0);
}
.cta-inner {
  padding-block: clamp(72px, 9vw, 120px);
  max-width: 820px;
  margin-inline: 0;
}
.cta .lede {
  margin-top: 20px;
}
@media (max-width: 760px) {
  .cta::after {
    opacity: 0.4;
    left: 55%;
  }
}

/* ── Inner pages ────────────────────────────────────────────────────── */
.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-head::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 62%;
  top: -15%;
  height: 130%;
  aspect-ratio: 940 / 688;
  background: linear-gradient(20deg, rgba(116, 49, 242, 0.5), rgba(155, 107, 255, 0.5));
  clip-path: polygon(0 100%, 31.9% 100%, 100% 0, 68.1% 0);
}
.page-head-inner {
  padding-block: clamp(56px, 7vw, 104px);
  max-width: 880px;
  margin-inline: 0;
}
.page-head .lede {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .page-head::after {
    left: 60%;
    opacity: 0.4;
  }
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 80px;
  align-items: start;
}
.two-col + .two-col {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.two-col .sticky {
  position: sticky;
  top: 104px;
}
.prose > * + * {
  margin-top: 18px;
}
.prose p {
  color: var(--muted);
  max-width: 62ch;
}
.prose p strong {
  color: var(--ink);
}
.checks {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.checks li::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background: var(--violet);
  clip-path: polygon(0 100%, 34% 100%, 100% 0, 66% 0);
}
.checks strong {
  display: block;
  font-weight: 650;
}
.checks span {
  color: var(--muted);
  font-size: 1rem;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.facts > div {
  padding: 20px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.facts dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin-top: 6px;
  font-weight: 650;
  font-size: 1.125rem;
  font-variation-settings: 'wdth' 108;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .two-col .sticky {
    position: static;
  }
}
@media (max-width: 480px) {
  .facts {
    grid-template-columns: 1fr;
  }
  .facts > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ── Forms ──────────────────────────────────────────────────────────── */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 40px 64px;
  align-items: start;
}
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 3.4vw, 40px);
}
.form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.form fieldset + fieldset {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.form legend {
  padding: 0 14px 0 0;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--violet);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.field {
  display: grid;
  gap: 7px;
  align-content: start;
}
.field.full {
  grid-column: 1 / -1;
}
.field label,
.field .label {
  font-size: 0.9375rem;
  font-weight: 600;
}
.field .opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b9b1cc;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 0;
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(116, 49, 242, 0.18);
}
.field input[aria-invalid='true'],
.field select[aria-invalid='true'] {
  border-color: #c4262e;
}
.field .err {
  color: #b01f27;
  font-size: 0.875rem;
  font-weight: 500;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  position: relative;
  cursor: pointer;
}
.chips input {
  position: absolute;
  opacity: 0;
  inset: 0;
  min-height: 0;
}
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  font-weight: 550;
  font-size: 0.9375rem;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.chips label:hover span {
  border-color: #b9b1cc;
}
.chips input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chips input:focus-visible + span {
  outline: 3px solid var(--violet-lt);
  outline-offset: 2px;
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 32px;
}
.form-foot small {
  color: var(--muted);
  font-size: 0.875rem;
  flex: 1 1 220px;
}
.form-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--r);
  border-left: 3px solid var(--violet);
  background: var(--violet-wash);
  font-weight: 500;
}
.form-note[hidden] {
  display: none;
}
.aside-card {
  position: sticky;
  top: 104px;
  padding: 28px;
  border-radius: var(--r);
  background: var(--ink);
  color: var(--on-dark);
}
.aside-card .h3 {
  margin-bottom: 6px;
}
.aside-card p {
  color: var(--muted-dark);
  font-size: 1rem;
}
.aside-card .big {
  display: block;
  margin: 18px 0 4px;
  font-family: var(--display);
  font-variation-settings: 'wdth' 120;
  font-weight: 780;
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: #fff;
}
.aside-card .big:hover {
  color: var(--violet-lt);
}
.aside-card hr {
  border: 0;
  border-top: 1px solid var(--line-dark);
  margin: 22px 0;
}
.aside-card .status {
  margin-top: 0;
}
.aside-card a {
  text-underline-offset: 4px;
}
@media (max-width: 900px) {
  .form-shell {
    grid-template-columns: 1fr;
  }
  .aside-card {
    position: static;
  }
}
@media (max-width: 560px) {
  .fields {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  font-size: 0.9688rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px 48px;
  padding-block: 64px 48px;
}
.footer-brand p {
  margin-top: 20px;
  max-width: 34ch;
}
.footer-h {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
}
.footer-grid a,
.footer-grid span {
  display: block;
  padding: 5px 0;
  text-decoration: none;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-block: 22px 28px;
  position: relative;
  font-size: 0.8438rem;
}
.footer-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.footer-base .mono {
  font-size: 0.6875rem;
}
.footer-base a:hover {
  color: #fff;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Motion ─────────────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .interchange .light {
    offset-distance: 62%;
  }
  .interchange .light.b {
    offset-distance: 59.6%;
  }
  .interchange .light.c {
    offset-distance: 30%;
  }
  .interchange .light.d {
    offset-distance: 27.6%;
  }
}

/* ── Lane check ─────────────────────────────────────────────────────── */
.lane-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px 56px;
  align-items: center;
}
.lane-panel {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: clamp(20px, 2.6vw, 32px);
}
.lane-fields {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 10px;
  align-items: end;
}
.lane-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.lane-field label,
.lane-size label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.lane-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 34px 0 12px;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r);
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23b4adc6' stroke-width='1.8'/%3E%3C/svg%3E")
    no-repeat right 12px center / 11px;
  color: #fff;
  font: 600 1rem var(--body);
  appearance: none;
  cursor: pointer;
}
.lane-field select:focus-visible,
.lane-swap:focus-visible {
  outline: 0;
  border-color: var(--violet-lt);
  box-shadow: 0 0 0 3px rgba(155, 107, 255, 0.3);
}
.lane-swap {
  width: 44px;
  height: 50px;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r);
  background: none;
  color: var(--muted-dark);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.lane-swap:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.lane-swap svg {
  width: 18px;
  height: 18px;
}
.lane-size {
  margin-top: 22px;
}
.lane-size-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.lane-size output {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.lane-size input[type='range'] {
  width: 100%;
  height: 28px;
  margin: 0;
  background: none;
  accent-color: var(--violet-lt);
  cursor: pointer;
}
.lane-out {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  margin-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.lane-out > div {
  padding: 18px 12px 4px 0;
}
.lane-out > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line-dark);
}
.lane-out dt {
  font-family: var(--mono);
  font-size: 0.6563rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.lane-out dd {
  margin-top: 6px;
  font-family: var(--display);
  font-variation-settings: 'wdth' 118;
  font-weight: 780;
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.lane-out dd small {
  display: block;
  margin-top: 4px;
  font: 500 0.8125rem/1.3 var(--body);
  color: var(--muted-dark);
}
.lane-panel .btn {
  width: 100%;
  margin-top: 22px;
}
.lane-fine {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--muted-dark);
}
.lane-map {
  width: 100%;
  height: auto;
  overflow: visible;
}
.lane-map .land {
  fill: #221a35;
  stroke: rgba(155, 107, 255, 0.35);
  stroke-width: 1;
}
.lane-map .borders {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}
.lane-map .hub {
  fill: #6f6787;
  transition: fill 0.15s;
}
.lane-map .hub-hit {
  fill: transparent;
  cursor: pointer;
}
.lane-map g:hover > .hub {
  fill: #fff;
}
.lane-map .route {
  fill: none;
  stroke: var(--violet-lt);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.lane-map .route-glow {
  fill: none;
  stroke: var(--violet);
  stroke-width: 12;
  stroke-linecap: round;
  opacity: 0.35;
}
.lane-map .end {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 3;
}
.lane-map .end-label {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  fill: #fff;
  paint-order: stroke;
  stroke: var(--ink);
  stroke-width: 5px;
}
.lane-map .runner {
  fill: var(--amber);
  filter: drop-shadow(0 0 7px rgba(255, 178, 36, 0.95));
  offset-rotate: 0deg;
  animation: drive 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lane-map .runner {
    offset-distance: 50%;
  }
}
@media (max-width: 900px) {
  .lane-map .end-label {
    font-size: 30px;
    stroke-width: 9px;
  }
  .lane-map .end {
    r: 12px;
    stroke-width: 5;
  }
  .lane-map .hub {
    r: 6px;
  }
  .lane-grid {
    grid-template-columns: 1fr;
  }
  .lane-map-wrap {
    order: -1;
  }
}
@media (max-width: 420px) {
  .lane-field select {
    padding: 0 26px 0 10px;
    font-size: 0.9375rem;
    background-position: right 9px center;
  }
  .lane-out {
    grid-template-columns: 1fr 1fr;
  }
  .lane-out > div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    margin-top: 14px;
  }
}

/* ── Equipment / capability tiles ───────────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--line);
}
.tile {
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.tile svg {
  width: 80px;
  height: 40px;
  stroke-width: 1.6;
  margin-bottom: 26px;
  color: var(--violet);
}
.tile p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}
.on-dark .tiles {
  border-top-color: #fff;
  border-left-color: var(--line-dark);
}
.on-dark .tile {
  background: none;
  border-color: var(--line-dark);
}
.on-dark .tile p {
  color: var(--muted-dark);
}
.on-dark .tile svg {
  color: var(--violet-lt);
}
@media (max-width: 860px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

/* ── Proof ──────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.stat {
  padding: 28px 24px 8px 0;
}
.stat + .stat {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--display);
  font-variation-settings: 'wdth' 125;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat b i {
  font-style: normal;
  color: var(--violet);
}
.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.quote {
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  border-radius: var(--r);
  border-left: 3px solid var(--violet);
}
.quote p {
  font-size: 1.1875rem;
  line-height: 1.5;
  font-weight: 500;
}
.quote footer {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .stats,
  .quotes {
    grid-template-columns: 1fr;
  }
  .stat,
  .stat + .stat {
    padding: 22px 0;
    border-left: 0;
  }
  .stat + .stat {
    border-top: 1px solid var(--line);
  }
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq {
  border-top: 2px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-variation-settings: 'wdth' 110;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
  color: var(--violet);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  color: var(--violet);
}
.faq details p {
  padding: 0 40px 24px 0;
  color: var(--muted);
  max-width: 68ch;
}

/* ── Draft markers (pitch build only; `npm run build:launch` refuses them) ── */
.is-draft [data-draft]::before {
  content: 'Sample content · confirm with client';
  display: table;
  margin-bottom: 18px;
  padding: 4px 9px;
  border-radius: 2px;
  background: var(--amber);
  color: var(--ink);
  font: 500 0.6563rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Touch targets & phone refinements (see scripts/mobile-audit.mjs) ── */
.logo {
  padding-block: 11px;
}
.hp {
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.lane-size input[type='range'] {
  height: 44px;
}
@media (pointer: coarse), (max-width: 900px) {
  .btn-sm {
    min-height: 44px;
  }
  .footer-grid a {
    padding-block: 10px;
  }
  .footer-base a {
    display: inline-block;
    padding-block: 14px;
    margin-block: -14px;
  }
  .cred dd a,
  .loc-facts dd a,
  .aside-card p a,
  .faq a,
  a.link {
    display: inline-block;
    padding-block: 12px;
    margin-block: -12px;
  }
  .prose a.link,
  .svc .link {
    margin-block: 0;
  }
}
@media (max-width: 420px) {
  .lane-fields {
    grid-template-columns: 1fr 44px;
  }
  .lane-fields .lane-field {
    grid-column: 1;
  }
  .lane-swap {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: auto;
    align-self: stretch;
    margin-top: 24px;
  }
  .lane-swap svg {
    transform: rotate(90deg);
  }
  .lane-field select {
    padding: 0 34px 0 12px;
    font-size: 1rem;
    background-position: right 12px center;
  }
}

/* ══ v2: photography-led layout (client direction, Oct 2026) ══════════ */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-tag {
  display: none;
  padding-left: 14px;
  border-left: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
  white-space: nowrap;
}
@media (min-width: 1240px) {
  .logo-tag {
    display: block;
  }
}
.nav {
  margin-left: 6px;
}

/* light hero with photo */
.hero-light {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #fff, var(--paper));
}
.hero-light .hero-inner {
  padding-block: clamp(48px, 6.5vw, 96px) clamp(56px, 7vw, 104px);
}
.hero-light .hero-copy {
  max-width: 600px;
  position: relative;
}
.hero-light .eyebrow {
  color: var(--violet);
}
.hero-light .accent {
  color: var(--violet);
}
.hero-light .lede {
  color: var(--muted);
  max-width: 44ch;
}
.hero-light .status {
  color: var(--muted);
}
.hero-light .status strong {
  color: var(--ink);
}
.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 60%;
  margin: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0, #000 34%);
}
.hero-band {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(560px, 46%);
  padding: 22px var(--gutter) 22px 72px;
  background: var(--violet);
  color: #fff;
  clip-path: polygon(52px 0, 100% 0, 100% 100%, 0 100%);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}
.creds.solid {
  background: var(--ink);
  backdrop-filter: none;
  border-top: 0;
}
@media (max-width: 900px) {
  .hero-light .hero-inner {
    padding-bottom: 32px;
  }
  .hero-photo {
    position: relative;
    z-index: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .hero-photo img {
    -webkit-mask-image: none;
    mask-image: none;
    object-position: 70% 50%;
  }
  .hero-band {
    position: relative;
    width: 100%;
    padding: 18px var(--gutter);
    clip-path: none;
    font-size: 0.75rem;
  }
}

/* five pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--ink);
}
.pillar {
  padding: 28px 20px 4px 0;
}
.pillar + .pillar {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.pillar svg {
  width: 34px;
  height: 34px;
  color: var(--violet);
  margin-bottom: 18px;
}
.pillar h3 {
  font-family: var(--display);
  font-variation-settings: 'wdth' 112;
  font-weight: 750;
  font-size: 0.9375rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pillar p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9688rem;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .pillars {
    grid-template-columns: 1fr;
    border-top: 2px solid var(--ink);
  }
  .pillar,
  .pillar + .pillar {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 2px 18px;
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .pillar svg {
    grid-row: span 2;
    margin: 2px 0 0;
  }
  .pillar p {
    margin-top: 0;
  }
}

/* purpose band */
.purpose {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px 64px;
  align-items: center;
}
.purpose .h2 em,
.h2 em {
  font-style: normal;
  color: var(--violet);
}
.on-dark .h2 em {
  color: var(--violet-lt);
}
.purpose-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted-dark);
  font-size: 1.125rem;
  max-width: 50ch;
}
.purpose-media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 420px;
}
.purpose-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badges {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px;
  background: rgba(244, 242, 248, 0.93);
  color: var(--ink);
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%);
  padding-left: 60px;
}
.badges li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' 110;
  font-weight: 750;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}
.badges svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--violet);
}
@media (max-width: 900px) {
  .purpose {
    grid-template-columns: 1fr;
  }
  .purpose-media {
    min-height: 0;
    overflow: visible;
  }
  .purpose-media img {
    position: static;
    aspect-ratio: 3 / 2;
    border-radius: var(--r);
  }
  .badges {
    position: static;
    width: auto;
    clip-path: none;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    padding: 12px 0 0;
    background: none;
    color: var(--on-dark);
  }
  .badges svg {
    color: var(--violet-lt);
  }
}
@media (max-width: 420px) {
  .badges {
    grid-template-columns: 1fr;
  }
}

/* photo cards */
.pcards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.25s var(--ease);
}
a.pcard:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
}
.pcard figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-2);
}
.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
a.pcard:hover img {
  transform: scale(1.04);
}
.pcard-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard h3 {
  font-family: var(--display);
  font-variation-settings: 'wdth' 110;
  font-weight: 750;
  font-size: 1.0625rem;
  line-height: 1.22;
  color: var(--violet);
}
.pcard p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.pcards.three {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pcards.three .pcard figure {
  aspect-ratio: 16 / 9;
}
.pcards.three .pcard h3 {
  font-size: 1.25rem;
}
.pcards.three .pcard p {
  font-size: 1rem;
}
@media (max-width: 1080px) {
  .pcards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .pcards,
  .pcards.three {
    grid-template-columns: 1fr;
  }
  .pcards:not(.three) .pcard {
    flex-direction: row;
  }
  .pcards:not(.three) .pcard figure {
    flex: 0 0 38%;
    aspect-ratio: auto;
  }
  .pcards:not(.three) .pcard-body {
    padding: 16px;
  }
}

/* industries strip */
.ind {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
}
.ind figure {
  margin: 0 -22px 0 0;
}
.ind figure:last-child {
  margin-right: 0;
}
.ind .frame {
  aspect-ratio: 3 / 3.4;
  overflow: hidden;
  clip-path: polygon(44px 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
  background: var(--ink-2);
}
.ind figure:first-child .frame {
  clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
}
.ind figure:last-child .frame {
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%);
}
.ind img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ind figcaption {
  padding: 14px 30px 0 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ind-more {
  margin-top: 22px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .ind {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .ind figure {
    margin: 0;
  }
  .ind .frame,
  .ind figure:first-child .frame,
  .ind figure:last-child .frame {
    clip-path: none;
    aspect-ratio: 1;
    border-radius: var(--r);
  }
  .ind figcaption {
    padding: 10px 0 0;
  }
}

/* how we work + portal preview */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 72px;
  align-items: center;
}
.how-list {
  display: grid;
  border-top: 2px solid var(--ink);
}
.how-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.how-list svg {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--violet);
}
.how-list p {
  color: var(--muted);
  font-size: 1rem;
}
.chan {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chan span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
}
.portal {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(21, 16, 31, 0.55);
  font-size: 0.875rem;
}
.portal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
}
.portal-bar img {
  width: 26px;
  height: 26px;
}
.portal-bar b {
  font-weight: 650;
}
.portal-bar .mono {
  margin-left: auto;
  color: var(--muted-dark);
  font-size: 0.6875rem;
}
.portal-body {
  padding: 20px 18px 22px;
  display: grid;
  gap: 20px;
}
.portal-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.portal-title h4 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' 112;
  font-weight: 750;
  font-size: 1.125rem;
  line-height: 1.2;
}
.portal .mono {
  font-size: 0.6875rem;
  color: var(--muted-dark);
}
.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(55, 211, 153, 0.14);
  color: #7ff0c3;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--go);
}
.track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.track div {
  padding-top: 10px;
  border-top: 3px solid var(--ink-3);
  font-size: 0.75rem;
  color: var(--muted-dark);
  line-height: 1.3;
}
.track .done {
  border-top-color: var(--violet-lt);
  color: #fff;
}
.track .now {
  border-top-color: var(--amber);
  color: #fff;
}
.portal-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}
.portal-box {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 14px;
}
.portal-box > .mono {
  display: block;
  margin-bottom: 10px;
}
.feed li,
.docs li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.feed li + li,
.docs li + li {
  border-top: 1px solid var(--line-dark);
}
.feed time {
  flex: none;
  width: 44px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted-dark);
  padding-top: 2px;
}
.docs svg {
  flex: none;
  width: 14px;
  height: 16px;
  margin-top: 1px;
  color: var(--violet-lt);
}
.portal-cap {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
@media (max-width: 900px) {
  .how {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .portal-cols {
    grid-template-columns: 1fr;
  }
  .track {
    grid-template-columns: 1fr 1fr;
    gap: 12px 6px;
  }
}

/* proven experience (dark) */
.proven {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px 72px;
  align-items: center;
}
.on-dark .stats {
  border-top-color: #fff;
}
.on-dark .stat + .stat {
  border-left-color: var(--line-dark);
}
.on-dark .stat b i {
  color: var(--violet-lt);
}
.on-dark .stat span {
  color: var(--muted-dark);
}
.stat b.word {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  padding-top: 0.5em;
}
.bigquote p {
  font-family: var(--display);
  font-variation-settings: 'wdth' 108;
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.35;
  text-wrap: balance;
}
.bigquote footer {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-lt);
}
.bigquote {
  padding-left: 28px;
  border-left: 3px solid var(--violet-lt);
}
@media (max-width: 900px) {
  .proven {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .on-dark .stat + .stat {
    border-top-color: var(--line-dark);
  }
  .stat b.word {
    padding-top: 0;
  }
}

/* photo CTA */
.cta-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta-photo > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 60%;
}
.cta-photo::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 16, 31, 0.96) 0, rgba(21, 16, 31, 0.82) 42%, rgba(21, 16, 31, 0.15) 100%);
}
.cta-photo::after {
  display: none;
}
@media (max-width: 760px) {
  .cta-photo::before {
    background: rgba(21, 16, 31, 0.84);
  }
}

/* page head with photo */
.page-head.has-photo::after {
  display: none;
}
.page-head.has-photo > img {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  opacity: 0.8;
}
.page-head.has-photo .page-head-inner {
  max-width: 720px;
}
@media (max-width: 760px) {
  .page-head.has-photo > img {
    width: 100%;
    opacity: 0.28;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* service rows + case studies */
.rows {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: center;
}
.row:nth-child(even) .row-media {
  order: 2;
}
.row-media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
}
.row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-num {
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 14px 8px 12px;
  background: var(--violet);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.row .lede {
  margin-top: 14px;
}
.row .checks {
  margin-top: 22px;
}
.row .checks li {
  padding: 12px 0;
}
.row .btn,
.row .link {
  margin-top: 24px;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border-top: 2px solid var(--ink);
}
.case-meta div {
  padding: 14px 12px 0 0;
}
.case-meta div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.case-meta dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-meta dd {
  margin-top: 4px;
  font-weight: 700;
  font-variation-settings: 'wdth' 110;
  font-size: 1.125rem;
}
.case-quote {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--paper);
  border-left: 3px solid var(--violet);
  border-radius: var(--r);
}
.section.white .case-quote {
  background: var(--paper);
}
.case-quote p {
  font-weight: 500;
}
.case-quote footer {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 860px) {
  .row {
    grid-template-columns: 1fr;
  }
  .row:nth-child(even) .row-media {
    order: 0;
  }
}

/* footer motto */
.footer-motto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.footer-motto span + span::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 18px;
  background: var(--violet-lt);
  clip-path: polygon(0 100%, 34% 100%, 100% 0, 66% 0);
}
.footer-grid {
  grid-template-columns: 1.4fr 1.3fr 0.9fr 1.3fr;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-motto {
    letter-spacing: 0.14em;
    font-size: 0.6875rem;
  }
  .footer-motto span + span::before {
    margin: 0 9px;
  }
}

/* v2 review fixes */
.nav a,
.btn,
.header-phone {
  white-space: nowrap;
}
.logo-tag {
  display: none !important;
}
@media (min-width: 1380px) {
  .logo-tag {
    display: block !important;
  }
}
.hero-light .lede {
  margin-top: 24px;
}
.hero-photo {
  width: 56%;
}
.hero-photo img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%);
}
.section.tight {
  padding-block: clamp(48px, 6vw, 80px);
}
.proven {
  grid-template-columns: 1fr;
  gap: 48px;
}
.proven .bigquote {
  max-width: 820px;
}
.stat b.word {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}
@media (max-width: 900px) {
  .hero-photo {
    width: 100%;
  }
}
@media (min-width: 761px) {
  .ind .frame {
    aspect-ratio: auto;
    height: clamp(260px, 27vw, 360px);
  }
}
.cta-short {
  display: none;
}
@media (max-width: 380px) {
  .cta-long {
    display: none;
  }
  .cta-short {
    display: inline;
  }
}
.lane-grid > *,
.lane-panel,
.lane-fields {
  min-width: 0;
}

/* direct lines */
.team {
  display: grid;
  gap: 0;
}
.team li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
}
.team li:last-child {
  border-bottom: 0;
}
.team-name {
  font-weight: 650;
  color: #fff;
}
.team-role {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-lt);
}
.team a {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-underline-offset: 4px;
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
}
.aside-card .big {
  font-size: 1.45rem;
  white-space: nowrap;
}
.footer-motto {
  border-top: 0;
  position: relative;
}
.footer-motto::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.aside-card .big {
  min-height: 44px;
  padding-block: 4px;
  display: flex;
  align-items: center;
}
@media (max-width: 560px) {
  .aside-card {
    padding: 22px;
  }
  .aside-card .big {
    white-space: normal;
    font-size: 1.25rem;
    line-height: 1.3;
  }
}
