:root {
  --bg: #070708;
  --panel: #0d0f12;
  --panel-soft: #11141a;
  --text: #f7f7f8;
  --muted: #a8adb5;
  --line: rgba(255,255,255,.12);
  --red: #e21c2a;
  --red-dark: #86000b;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(178,6,21,.17), transparent 27%),
    radial-gradient(circle at 14% 42%, rgba(255,255,255,.035), transparent 26%),
    linear-gradient(140deg, #111114, #080809 50%, #050505);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section-shell { position: relative; isolation: isolate; overflow: hidden; }
.site-honeycomb,
.hex-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg width='104' height='90' viewBox='0 0 104 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cpath d='M26 2h52l25 43-25 43H26L1 45 26 2Z' stroke='%23ffffff' stroke-opacity='.18' stroke-width='1.2'/%3E%3Cpath d='M31 10h42l20 35-20 35H31L11 45 31 10Z' stroke='%23ffffff' stroke-opacity='.08' stroke-width='.8'/%3E%3Cpath d='M52 2v8M52 80v8M1 45h10M93 45h10' stroke='%23e21c2a' stroke-opacity='.34'/%3E%3Ccircle cx='52' cy='2' r='1.8' fill='%23e21c2a' fill-opacity='.55'/%3E%3Ccircle cx='1' cy='45' r='1.4' fill='%23ffffff' fill-opacity='.3'/%3E%3Ccircle cx='103' cy='45' r='1.4' fill='%23ffffff' fill-opacity='.3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 104px 90px;
  -webkit-mask-image: radial-gradient(circle at 68% 50%, #000 0, rgba(0,0,0,.88) 35%, transparent 78%);
  mask-image: radial-gradient(circle at 68% 50%, #000 0, rgba(0,0,0,.88) 35%, transparent 78%);
}
.site-honeycomb { position: fixed; z-index: 0; }
.hex-grid-left {
  transform: scaleX(-1);
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
.section-shell > .container { position: relative; z-index: 2; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 11000; padding: 12px 16px; background: #fff; color: #000; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(5,6,8,.9);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.main-nav { display: flex; align-items: center; gap: 26px; padding-right: 310px; }
.main-nav a { color: #c4c8ce; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }

.hero { padding: 46px 0 84px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.hero-shell { position: relative; }
.hero-meta { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.back-link, .text-link { color: #b6bbc3; font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.back-link:hover, .text-link:hover { color: #fff; }
.partner-mark { width: min(240px, 42vw); padding: 9px 14px; border-radius: 4px; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.32); }
.partner-mark img { display: block; width: 100%; height: auto; }

.bus-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .84fr) minmax(0, 1.16fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  background: #08090b;
  box-shadow: 0 36px 100px rgba(0,0,0,.58), 0 0 0 1px rgba(226,28,42,.08);
}
.bus-stage::before {
  content: "";
  position: absolute;
  z-index: 5;
  left: calc(42% - 36px);
  top: -15%;
  width: 2px;
  height: 130%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(255,50,66,.9) 22%, rgba(255,50,66,.2) 78%, transparent);
  box-shadow: 0 0 24px rgba(226,28,42,.55);
  transform: rotate(8deg);
}
.bus-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(226,28,42,.09), transparent 46%),
    linear-gradient(90deg, rgba(4,5,7,.99), rgba(8,9,12,.96));
}
.bus-copy::before {
  content: "JOLO / PROJECT K.I.T.T. / PAINT SYSTEM";
  position: absolute;
  left: clamp(38px, 5vw, 72px);
  top: 24px;
  color: rgba(255,255,255,.32);
  font-size: .46rem;
  font-weight: 900;
  letter-spacing: .17em;
}
.bus-copy h1 {
  max-width: 650px;
  font-size: clamp(2.75rem, 4.45vw, 5.2rem);
}
.bus-copy .lead { font-size: clamp(.98rem, 1.2vw, 1.12rem); }
.bus-visual {
  position: relative;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  background: #111318;
}
.bus-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,6,8,.68), transparent 18%),
    linear-gradient(0deg, rgba(4,5,7,.68), transparent 27%);
}
.bus-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% center;
  filter: contrast(1.04) saturate(1.04);
  transform: scale(1.015);
}
.bus-interface {
  position: absolute;
  z-index: 3;
  top: 24px;
  min-width: 130px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-top-color: rgba(255,52,68,.8);
  background: rgba(4,5,7,.74);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  backdrop-filter: blur(9px);
}
.bus-interface span,
.bus-interface strong { display: block; text-transform: uppercase; }
.bus-interface span { color: #ff5461; font-size: .48rem; font-weight: 900; letter-spacing: .16em; }
.bus-interface strong { margin-top: 5px; color: #f3f3f5; font-size: .62rem; letter-spacing: .08em; }
.bus-interface--top { left: 9%; }
.bus-interface--middle { left: 43%; }
.bus-interface--bottom { right: 24px; }
.bus-scanline {
  position: absolute;
  z-index: 4;
  left: -34%;
  bottom: 0;
  width: 34%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff2f40 48%, #fff 52%, transparent);
  box-shadow: 0 0 15px rgba(255,47,64,.92);
  animation: busScan 5.8s ease-in-out infinite;
}
@keyframes busScan { 0%, 8% { left: -34%; } 76%, 100% { left: 100%; } }

.portfolio-heading {
  max-width: 900px;
  margin: 104px 0 42px;
}
.portfolio-heading h2 { max-width: 840px; font-size: clamp(2.1rem, 3.8vw, 3.85rem); }
.portfolio-heading > p:last-child { max-width: 780px; margin: 22px 0 0; color: #aeb3bb; font-size: 1rem; line-height: 1.78; }

.project-slideshow {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  background: #08090b;
  box-shadow: 0 36px 100px rgba(0,0,0,.58), 0 0 0 1px rgba(226,28,42,.08);
}
.project-slideshow::before { content: ""; position: absolute; inset: 14px; z-index: 4; pointer-events: none; border: 1px solid rgba(255,255,255,.1); }
.project-slideshow:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.project-slides, .project-slide { position: absolute; inset: 0; margin: 0; }
.project-slide { opacity: 0; visibility: hidden; transition: opacity .85s ease, visibility 0s linear .85s; }
.project-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.project-slide img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.025); transition: transform 7s linear; }
.project-slide.is-active img { transform: scale(1.075); }
.project-slide--portrait { background: radial-gradient(circle at 50% 45%, rgba(226,28,42,.14), transparent 42%), #07080a; }
.project-slide--portrait img { object-fit: contain; transform: scale(1); }
.project-slide--portrait.is-active img { transform: scale(1.025); }
.project-slide--portrait-right img { width: 65%; margin-left: auto; object-position: right center; }
.project-slide--flip img { transform: scaleX(-1) scale(1.025); }
.project-slide--flip.is-active img { transform: scaleX(-1) scale(1.075); }
.project-slide--shift-right img { transform: translateX(11%) scale(1.025); }
.project-slide--shift-right.is-active img { transform: translateX(11%) scale(1.075); }
.project-slide--subject-right img { object-position: 72% center; }
.project-slide figcaption {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 3;
  max-width: min(370px, 42%);
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-left: 3px solid var(--red);
  background: rgba(5,6,8,.78);
  backdrop-filter: blur(10px);
}
.project-slide figcaption span { display: block; margin-bottom: 5px; color: #aeb3bb; font-size: .58rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.project-slide figcaption strong { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.slideshow-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(3,4,5,.95) 0, rgba(3,4,5,.78) 37%, rgba(3,4,5,.2) 67%, rgba(3,4,5,.3)), linear-gradient(0deg, rgba(3,4,5,.9), transparent 38%); }
.slideshow-story { position: absolute; left: clamp(28px, 5vw, 72px); top: 52%; z-index: 5; width: min(610px, 49%); transform: translateY(-47%); }
.eyebrow { margin: 0 0 15px; color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(3rem, 5.2vw, 5.45rem); line-height: .91; letter-spacing: -.055em; text-transform: uppercase; }
h1 span { color: var(--red); text-shadow: 0 0 30px rgba(226,28,42,.28); }
.lead { max-width: 650px; margin: 25px 0 0; color: #d0d3d8; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 3px; font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: #fff; box-shadow: 0 12px 30px rgba(226,28,42,.2); }
.button-primary:hover { background: #ff2737; }
.button-secondary { border-color: rgba(255,255,255,.25); background: rgba(5,6,8,.62); color: #fff; backdrop-filter: blur(9px); }
.button-secondary:hover { border-color: rgba(255,255,255,.52); background: rgba(255,255,255,.1); }

.slideshow-controls { position: absolute; right: 28px; bottom: 26px; z-index: 6; display: flex; align-items: center; gap: 9px; padding: 8px; border: 1px solid rgba(255,255,255,.16); background: rgba(5,6,8,.82); backdrop-filter: blur(12px); }
.slide-arrow, .slideshow-toggle { min-width: 40px; height: 38px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.slide-arrow:hover, .slide-arrow:focus-visible, .slideshow-toggle:hover, .slideshow-toggle:focus-visible { border-color: var(--red); background: rgba(226,28,42,.16); }
.slideshow-toggle { min-width: 92px; padding-inline: 12px; font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.slide-dots { display: flex; align-items: center; gap: 5px; }
.slide-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.34); cursor: pointer; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.slide-dots button.is-active { width: 24px; border-radius: 10px; background: var(--red); box-shadow: 0 0 12px rgba(226,28,42,.65); }

.facts-bar { position: relative; z-index: 1; border-block: 1px solid var(--line); background: rgba(9,10,13,.92); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { min-height: 126px; display: flex; flex-direction: column; justify-content: center; padding: 24px 30px; border-left: 1px solid var(--line); }
.facts-grid div:last-child { border-right: 1px solid var(--line); }
.facts-grid span { margin-bottom: 8px; color: #777e88; font-size: .65rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.facts-grid strong { font-size: clamp(1rem, 1.7vw, 1.35rem); }

.intro, .mission, .capabilities, .contact { padding: 112px 0; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
h2 { margin: 0; font-size: clamp(2.15rem, 4.3vw, 4.35rem); line-height: 1.03; letter-spacing: -.038em; }
.copy-stack { color: #b5bac2; font-size: 1.03rem; line-height: 1.84; }
.copy-stack p { margin: 0 0 22px; }

.mission { border-block: 1px solid var(--line); background: rgba(9,10,12,.92); }
.mission-intro { display: grid; grid-template-columns: .62fr 1.38fr; gap: 76px; align-items: start; margin-bottom: 54px; }
.mission-badge { position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; overflow: hidden; border: 1px solid rgba(226,28,42,.38); background: linear-gradient(145deg, rgba(226,28,42,.2), rgba(9,10,12,.86) 58%); }
.mission-badge::before { content: ""; position: absolute; width: 260px; aspect-ratio: 1; top: -120px; right: -100px; border: 1px solid rgba(226,28,42,.4); border-radius: 50%; box-shadow: 0 0 80px rgba(226,28,42,.12); }
.mission-badge span { color: var(--red); font-size: .67rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.mission-badge strong { margin-top: 11px; font-size: clamp(1.5rem, 3vw, 2.8rem); letter-spacing: -.03em; text-transform: uppercase; }
.section-heading > p:last-child, .capabilities-heading > p:last-child { color: #aeb3bb; font-size: 1.02rem; line-height: 1.8; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.mission-grid article { min-height: 315px; padding: 38px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.mission-grid article:last-child { border-right: 0; }
.mission-grid article > span, .service-list article > span { color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.mission-grid h3 { margin: 54px 0 16px; font-size: 1.28rem; text-transform: uppercase; }
.mission-grid p { margin: 0; color: #9ca2ab; line-height: 1.75; }

.capabilities-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; align-items: start; }
.capabilities-heading { position: sticky; top: 130px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-list article { min-height: 220px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(8,9,11,.62); }
.service-list h3 { margin: 36px 0 10px; font-size: .94rem; text-transform: uppercase; }
.service-list p { margin: 0; color: #969ca5; font-size: .86rem; line-height: 1.68; }

.contact { padding-bottom: 126px; }
.contact-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding: 62px; border: 1px solid rgba(226,28,42,.38); background: rgba(7,8,10,.9); box-shadow: 0 24px 80px rgba(0,0,0,.34); }
.contact-card > div:first-child > p:last-child { color: #a1a7af; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.contact-actions .text-link { margin-top: 12px; text-align: center; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #030405; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.footer-inner p { color: #717780; font-size: .75rem; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a { color: #969ca5; font-size: .72rem; text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }

@media (max-width: 1100px) {
  .main-nav { padding-right: 285px; }
  .bus-stage { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); }
  .bus-stage::before { left: calc(45% - 34px); }
  .project-slideshow { min-height: 570px; }
  .slideshow-story { width: 55%; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 76px; }
  .main-nav { display: none; }
  .hero { padding-top: 30px; }
  .bus-stage { grid-template-columns: 1fr; }
  .bus-stage::before { display: none; }
  .bus-visual { grid-row: 1; min-height: 460px; }
  .bus-copy { grid-row: 2; padding: 44px 38px 48px; }
  .bus-copy::before { left: 38px; }
  .bus-interface--middle { left: auto; right: 24px; }
  .bus-interface--bottom { display: none; }
  .portfolio-heading { margin-top: 78px; }
  .project-slideshow { min-height: 560px; }
  .slideshow-story { top: auto; bottom: 112px; width: calc(100% - 56px); transform: none; }
  .slideshow-shade { background: linear-gradient(0deg, rgba(3,4,5,.98) 0, rgba(3,4,5,.88) 48%, rgba(3,4,5,.15) 82%); }
  .project-slide figcaption { left: 28px; max-width: calc(100% - 56px); }
  .slideshow-controls { left: 28px; right: 28px; justify-content: space-between; }
  .intro-grid, .mission-intro, .capabilities-grid, .contact-card { grid-template-columns: 1fr; }
  .intro-grid, .capabilities-grid { gap: 42px; }
  .mission-intro { gap: 32px; }
  .capabilities-heading { position: static; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(3), .facts-grid div:nth-child(4) { border-top: 1px solid var(--line); }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-grid article { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mission-grid article:last-child { border-bottom: 0; }
  .mission-grid h3 { margin-top: 34px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero-meta { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .partner-mark { width: 210px; }
  .bus-visual { min-height: 360px; }
  .bus-visual img { object-position: 55% center; }
  .bus-copy { padding: 42px 22px 34px; }
  .bus-copy::before { left: 22px; top: 18px; font-size: .4rem; }
  .bus-copy h1 { font-size: clamp(2.35rem, 12vw, 3.55rem); }
  .bus-interface { top: 14px; min-width: 112px; padding: 7px 8px; }
  .bus-interface--top { left: 14px; }
  .bus-interface--middle { right: 14px; }
  .bus-interface strong { font-size: .54rem; }
  .portfolio-heading { margin: 64px 0 30px; }
  .project-slideshow { min-height: 500px; }
  .project-slideshow::before { inset: 8px; }
  .project-slide figcaption { top: 18px; left: 18px; max-width: calc(100% - 36px); }
  .slideshow-story { left: 22px; bottom: 106px; width: calc(100% - 44px); }
  h1 { font-size: clamp(2.45rem, 13vw, 3.8rem); }
  .lead { font-size: .93rem; line-height: 1.57; }
  .hero-actions { gap: 8px; margin-top: 22px; }
  .button { width: 100%; min-height: 44px; }
  .slideshow-controls { left: 16px; right: 16px; bottom: 16px; gap: 5px; }
  .slide-dots { display: none; }
  .slideshow-toggle { flex: 1; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div { min-height: 100px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .facts-grid div:first-child { border-top: 0; }
  .intro, .mission, .capabilities, .contact { padding: 78px 0; }
  .service-list { grid-template-columns: 1fr; }
  .contact-card { padding: 30px 22px; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .project-slide img { transform: none !important; }
  .project-slide--flip img { transform: scaleX(-1) !important; }
  .project-slide--shift-right img { transform: translateX(11%) !important; }
  .bus-scanline { animation: none !important; left: 33%; }
}

/* JOLO livery edition: the wrap's angular red/white/graphite language shapes
   the page while Project K.I.T.T.'s dark interface remains the foundation. */
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .19;
  background:
    linear-gradient(116deg, transparent 0 61%, rgba(226,28,42,.26) 61.1% 61.35%, transparent 61.5%),
    linear-gradient(64deg, transparent 0 79%, rgba(255,255,255,.12) 79.1% 79.25%, transparent 79.4%);
}

.hero-meta {
  position: relative;
  z-index: 3;
}

.partner-mark {
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.bus-stage {
  grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
  min-height: 650px;
  border-color: rgba(255,255,255,.24);
  border-radius: 0;
  background:
    linear-gradient(118deg, #07080a 0 41%, transparent 41.1%),
    linear-gradient(135deg, #f1f1f1 0 7%, #dfe2e5 7.2% 10%, #e11c2a 10.2% 18%, #15171b 18.2% 100%);
}

.bus-stage::before {
  left: calc(39% - 18px);
  top: -18%;
  width: 7px;
  height: 140%;
  background: #e21c2a;
  box-shadow: 18px 0 0 rgba(255,255,255,.78), 32px 0 0 rgba(94,98,105,.72), 0 0 28px rgba(226,28,42,.45);
  transform: rotate(14deg);
}

.bus-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -7%;
  bottom: 3%;
  width: 66%;
  height: 16%;
  pointer-events: none;
  opacity: .88;
  background: linear-gradient(165deg, transparent 0 12%, #eef0f2 12.4% 31%, #e21c2a 31.4% 57%, #747981 57.4% 67%, transparent 67.4%);
  clip-path: polygon(0 54%, 100% 0, 92% 57%, 8% 100%);
}

.bus-copy {
  background:
    linear-gradient(145deg, rgba(226,28,42,.13), transparent 38%),
    linear-gradient(90deg, rgba(4,5,7,.99), rgba(8,9,12,.95));
}

.bus-copy::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 53%;
  height: 8px;
  background: linear-gradient(90deg, transparent, #fff 18% 30%, #e21c2a 30% 74%, #676c74 74%);
  clip-path: polygon(8% 0, 100% 0, 93% 100%, 0 100%);
}

.bus-copy h1 {
  font-size: clamp(2.65rem, 4vw, 4.75rem);
}

.bus-visual {
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 56% 48%, rgba(255,255,255,.13), transparent 39%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 18px),
    #111318;
}

.bus-visual::before {
  z-index: 0;
  background:
    linear-gradient(152deg, transparent 0 39%, rgba(226,28,42,.88) 39.3% 43%, transparent 43.3%),
    linear-gradient(157deg, transparent 0 51%, rgba(242,243,244,.9) 51.3% 56%, transparent 56.3%),
    linear-gradient(163deg, transparent 0 64%, rgba(107,112,120,.75) 64.3% 67%, transparent 67.3%);
}

.livery-geometry {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.livery-geometry i {
  position: absolute;
  right: -17%;
  width: 82%;
  height: 13%;
  transform: skewX(-34deg) rotate(-8deg);
  transform-origin: right center;
}

.livery-geometry i:nth-child(1) { top: 12%; background: rgba(226,28,42,.2); }
.livery-geometry i:nth-child(2) { top: 31%; right: -28%; background: rgba(255,255,255,.07); }
.livery-geometry i:nth-child(3) { top: 72%; right: -4%; height: 2px; background: rgba(255,255,255,.45); }

.bus-visual img {
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 112%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 35px 32px rgba(0,0,0,.62)) contrast(1.03) saturate(1.05);
  transform: translate(-50%, -46%);
}

.bus-visual.experience-media:not(.is-loaded) > img {
  transform: translate(-50%, -46%) scale(1.018);
}

.bus-interface { z-index: 6; border-radius: 0; }
.bus-interface--top { left: 6%; }
.bus-interface--middle { left: auto; right: 6%; }
.bus-interface--bottom { top: auto; right: 6%; bottom: 17%; }
.bus-scanline { z-index: 7; }
.bus-visual .experience-loader { z-index: 9; }

.portfolio-heading {
  position: relative;
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 5px solid var(--red);
}

.portfolio-heading::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: -13px;
  width: 240px;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 52%, #fff 52% 73%, #666b73 73% 100%);
  transform: skewX(-35deg);
}

.project-slideshow,
.contact-card,
.mission-grid article,
.service-list article {
  border-radius: 0;
}

.project-slideshow {
  border-top: 5px solid #eceef0;
  border-bottom: 5px solid var(--red);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.facts-bar {
  position: relative;
  border-top: 0;
  border-bottom: 0;
  background: linear-gradient(110deg, #f0f1f2 0 9%, #df1d2a 9.2% 15%, #111317 15.2% 100%);
}

.facts-grid div {
  background: rgba(4,5,7,.82);
}

.intro,
.mission,
.capabilities,
.contact {
  position: relative;
}

.intro::before,
.mission::before,
.capabilities::before,
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(44vw, 690px);
  height: 5px;
  background: linear-gradient(90deg, #efeff1 0 23%, #e21c2a 23% 62%, #686d75 62% 81%, transparent 81%);
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
}

.mission-grid article,
.service-list article {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.mission-grid article::after,
.service-list article::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: 12px;
  width: 110px;
  height: 4px;
  background: linear-gradient(90deg, #fff 0 22%, var(--red) 22% 68%, #6f747b 68%);
  transform: rotate(-12deg);
}

.contact-card {
  border-left: 6px solid var(--red);
  background:
    linear-gradient(132deg, rgba(255,255,255,.06) 0 8%, rgba(226,28,42,.13) 8.2% 15%, transparent 15.2%),
    rgba(7,8,10,.92);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

@media (max-width: 860px) {
  .bus-stage { grid-template-columns: 1fr; }
  .bus-stage::before { display: block; left: -4%; top: 42%; width: 108%; height: 5px; transform: rotate(-6deg); box-shadow: 0 10px 0 rgba(255,255,255,.72), 0 20px 0 rgba(103,108,115,.6); }
  .bus-stage::after { width: 96%; height: 10%; bottom: 40%; }
  .bus-visual { min-height: 480px; }
  .bus-copy { padding-top: 58px; }
}

@media (max-width: 620px) {
  .bus-stage { min-height: 0; }
  .bus-visual { min-height: 350px; }
  .bus-visual img { width: 128%; transform: translate(-51%, -43%); }
  .bus-visual.experience-media:not(.is-loaded) > img { transform: translate(-51%, -43%) scale(1.018); }
  .bus-interface--bottom { display: none; }
  .bus-stage::after { bottom: 46%; }
  .portfolio-heading { padding-left: 20px; }
  .facts-bar { background: linear-gradient(105deg, #e9ebed 0 3%, #df1d2a 3.2% 7%, #111317 7.2% 100%); }
}

/* Keep the project-role card clear of the angled livery divider. */
.bus-interface--top {
  left: clamp(120px, 18%, 220px);
  background: #050608;
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(226,28,42,.18);
}

@media (max-width: 860px) {
  .bus-interface--top { left: 18px; }
}
