/* ==========================================================================
   CALSTROY CONSTRUCTION — design system
   Light editorial base · navy #0F1C2E · dark orange #E65100 · sharp, flat, hairlined
   ========================================================================== */

:root {
  --navy: #0F1C2E;
  --navy-deep: #0A1420;
  --steel: #47586A;
  --grey: #8A97A5;
  --orange: #E65100;
  --orange-soft: rgba(230, 81, 0, .08);
  --ink: #1B2A3C;
  --line: #DCE3EA;
  --line-dark: rgba(255, 255, 255, .14);
  --bg: #F7F8F8;
  --white: #FFFFFF;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --container: 1280px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--steel);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
strong { color: var(--ink); font-weight: 600; }

.container { width: min(var(--container), 100% - clamp(2rem, 6vw, 7rem)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; font-size: .85rem;
}
.skip:focus { left: 0; }

/* ---------- typography ---------- */
.kicker {
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.kicker-light { color: #CEE6FF; }
.sec-num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  margin-bottom: 1.4rem;
  transition: -webkit-text-stroke-color .5s;
}
.sec-num-dark { -webkit-text-stroke-color: var(--line-dark); }
.title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy);
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.title-sm { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.lede { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 60ch; }
.lede-light { color: #D7DEE8; }
.lede-tight { max-width: 62ch; }
.body-note { font-size: .92rem; max-width: 38ch; }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header-in {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem);
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 158px; height: auto; }
.site-header.scrolled {
  background: rgba(248, 249, 250, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); margin-left: auto; }
.site-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #E7ECF2;
  padding: .4rem 0;
  transition: color .3s;
}
.site-header.scrolled .site-nav a { color: var(--steel); }
.site-nav a:hover { color: var(--orange); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--orange); }
.site-header.scrolled .site-nav a.active { color: var(--orange); }

.nav-cta {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff !important;
  padding: .55rem 1.1rem !important;
  margin-left: .4rem;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: #C74500; border-color: #C74500; color: #fff !important; }

.header-phone {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: #fff;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  transition: color .3s;
}
.site-header.scrolled .header-phone { color: var(--navy); }
.header-phone:hover { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: #fff; margin-inline: auto;
  transition: transform .35s var(--ease-out), background .3s;
}
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img {
  width: 100%; height: 112%;
  object-fit: cover;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 32, .55) 0%, rgba(10, 20, 32, .38) 45%, rgba(10, 20, 32, .82) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 4vh) 0 12vh; }
.display {
  font-family: "Archivo", var(--font-display);
  font-size: clamp(1.45rem, 7vw, 4.2rem);
  font-weight: 800; line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: #fff;
  max-width: 21ch;
  margin-bottom: 1.6rem;
}
.mark { position: relative; white-space: nowrap; color: #FFB27A; }
.mark-line {
  position: absolute; left: 0; right: 0; bottom: -.18em;
  width: 100%; height: .22em;
}
.mark-line path {
  transform-origin: left;
  animation: drawWedge 1.1s var(--ease-out) .9s both;
}
@keyframes drawWedge {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero .lede { max-width: 54ch; margin-bottom: 2.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: .62rem; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.scroll-cue i {
  width: 1px; height: 44px; background: rgba(255, 255, 255, .35);
  position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--orange);
  animation: cueDrop 1.8s var(--ease-out) infinite;
}
@keyframes cueDrop { to { top: 110%; } }

/* ---------- buttons (text-swap hover) ---------- */
.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border: 1px solid transparent;
  transition: background .35s var(--ease-out), border-color .35s, color .35s;
}
.btn .btn-t, .btn::after {
  display: block;
  transition: transform .45s var(--ease-out);
}
.btn::after {
  content: attr(data-text);
  position: absolute; inset: 1.05rem 1.9rem auto 1.9rem;
  transform: translateY(240%);
  white-space: nowrap;
}
.btn:hover .btn-t { transform: translateY(-240%); }
.btn:hover::after { transform: translateY(0); }
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: #C74500; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #E9EDF2; }

/* ==========================================================================
   METRICS
   ========================================================================== */
.metrics { background: var(--white); border-bottom: 1px solid var(--line); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metric {
  padding: clamp(2.2rem, 4vw, 3.6rem) clamp(1rem, 2.5vw, 2.4rem);
  border-left: 1px solid var(--line);
}
.metric:first-child { border-left: 0; }
.metric-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800; line-height: 1;
  color: var(--navy);
  margin-bottom: .7rem;
  font-variant-numeric: tabular-nums;
}
.metric-lbl {
  font-size: .82rem; line-height: 1.5;
  color: var(--grey);
  display: block; max-width: 22ch;
}

/* ==========================================================================
   SECTIONS / SPLIT
   ========================================================================== */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; scroll-margin-top: var(--header-h); }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-tight-top { padding-top: clamp(3rem, 6vw, 5rem); }

.split {
  display: grid;
  grid-template-columns: minmax(260px, 5fr) 7fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}
.split-reverse { grid-template-columns: 5fr 7fr; }
.split-side { position: sticky; top: calc(var(--header-h) + 2rem); }

/* ---------- why list ---------- */
.why-list { counter-reset: why; }
.why-row {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 2.6vw, 2.3rem) 0;
  border-top: 1px solid var(--line);
  transition: opacity .5s;
}
.why-list .why-row:last-child { border-bottom: 1px solid var(--line); }
.why-n {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 800;
  color: var(--grey);
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: all .4s var(--ease-out);
}
.why-row h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: .45rem;
  transition: color .4s;
}
.why-row p { font-size: .94rem; max-width: 52ch; }
.why-row.active .why-n {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
.why-row.active h3 { color: var(--orange); }

/* ---------- capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap {
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}
.cap:hover { background: var(--orange-soft); }
.cap svg {
  width: 34px; height: 34px;
  fill: none; stroke: var(--orange);
  stroke-width: 1.6; stroke-linecap: square;
  margin-bottom: 1.1rem;
}
.cap h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: .45rem;
}
.cap p { font-size: .88rem; }

/* ---------- proof ---------- */
.proof-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.2rem, 2.2vw, 1.8rem) 0;
  border-top: 1px solid var(--line);
  transition: padding-left .35s var(--ease-out);
}
.proof-list .proof-row:last-child { border-bottom: 1px solid var(--line); }
.proof-row:hover { padding-left: .8rem; }
.proof-name h3 {
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 700; color: var(--navy);
}
.proof-name p { font-size: .88rem; margin-top: .2rem; }
.proof-amt {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800; color: var(--orange);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- marquee ---------- */
.marquee {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-block: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding: 1.4rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 42px; width: auto;
  margin-right: clamp(2.5rem, 6vw, 5rem);
  opacity: .62; filter: grayscale(1);
  transition: opacity .35s, filter .35s;
}
.marquee-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- frames (figures) ---------- */
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame figcaption {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey);
  padding-top: .8rem;
}
.frame-dark figcaption { color: var(--grey); }

.tag-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2rem;
  margin-top: 2.2rem;
}
.tag-grid h4, .standards-grid h4, .bench h4 {
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .4rem;
}
.tag-grid p { font-size: .88rem; }
.client-line {
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .95rem; max-width: 58ch;
}
.pull-quote {
  margin-top: 2.2rem;
  padding-left: 1.4rem;
  border-left: 3px solid var(--orange);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.pull-quote cite {
  display: block; margin-top: .7rem;
  font-style: normal; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey);
}

/* ==========================================================================
   OWNERS WALL
   ========================================================================== */
.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.wall-item { position: relative; grid-column: span 2; overflow: hidden; }
.wall-wide { grid-column: span 3; }
.wall-item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.wall-item:hover img { transform: scale(1.045); }
.wall-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.4rem 1.2rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 20, 32, .88));
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.wall-item:hover .wall-cap, .wall-item:focus-within .wall-cap { opacity: 1; transform: none; }
.wall-cap h3 {
  font-family: var(--font-display);
  font-size: .92rem; font-weight: 700; color: #fff;
}
.wall-cap p { font-size: .78rem; color: #B9C4D1; margin: .15rem 0 .5rem; }
.wall-cap a {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #FFB27A;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.wall-cap a:hover { border-color: #FFB27A; }

/* ==========================================================================
   DARK: HOW WE DELIVER
   ========================================================================== */
.section-dark { background: var(--navy); color: #B9C4D1; }
.section-dark .title { color: #fff; }
.section-dark .body-note-dark { color: #8FA0B3; }
.key-line {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700; line-height: 1.3;
  color: var(--orange);
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-dark);
}
.frame-dark img { aspect-ratio: 16 / 10; }
.fleet-list { margin-top: 2.4rem; border-top: 1px solid var(--line-dark); }
.fleet-list li {
  display: flex; justify-content: space-between; gap: 2rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: .9rem;
}
.fleet-list li span:first-child {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  white-space: nowrap;
}
.fleet-list li span:last-child { text-align: right; color: #8FA0B3; }

.deliver-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-dark);
}
.dcol-n {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .8rem;
}
.dcol h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: .55rem;
}
.dcol p { font-size: .92rem; }

.standards { margin-top: clamp(3rem, 6vw, 5rem); }
.standards-title {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.8rem;
}
.standards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 2.4rem;
}
.standards-grid p { font-size: .86rem; color: #8FA0B3; }

/* ==========================================================================
   PIPELINE
   ========================================================================== */
.proj {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}
.proj:last-child { border-bottom: 1px solid var(--line); }
.proj-reverse { grid-template-columns: 5fr 7fr; }
.proj-reverse .proj-media { order: 2; }
.proj-media .frame + .frame { margin-top: 1.2rem; }
.frame-sm img { aspect-ratio: 16 / 7; }
.proj-kicker {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.proj-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -.01em;
  color: var(--navy);
  line-height: 1.1;
}
.proj-sub {
  font-size: .95rem; font-weight: 600; color: var(--steel);
  margin: .35rem 0 1rem;
}
.proj-body > p:not(.proj-kicker):not(.proj-sub):not(.proj-amt) { font-size: .95rem; max-width: 46ch; }
.proj-amt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800; color: var(--orange);
  margin-top: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chips li {
  font-family: var(--font-display);
  font-size: .66rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line);
  background: var(--white);
  padding: .45rem .8rem;
}

/* ---------- before / after ---------- */
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after-wrap {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}
.ba-after-wrap img { position: absolute; inset: 0; }
.ba-tag {
  position: absolute; top: 14px;
  font-family: var(--font-display);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #fff;
  background: rgba(10, 20, 32, .72);
  padding: .4rem .7rem;
  z-index: 3;
}
.ba-tag-l { left: 14px; }
.ba-tag-r { right: 14px; background: var(--orange); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px;
  background: #fff;
  z-index: 4;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(10, 20, 32, .35);
}
.ba-handle span::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 16px; height: 10px;
  background:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%) left/8px 10px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--navy) 50%) right/8px 10px no-repeat;
}
.ba-handle:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.ba-hint {
  font-family: var(--font-display);
  font-size: .66rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--grey);
  margin-top: .9rem; text-align: center;
}

/* ==========================================================================
   ABOUT / CTA / FOOTER
   ========================================================================== */
.bench {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 2.4rem;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.bench p { font-size: .88rem; }

.section-cta { background: var(--navy-deep); color: #B9C4D1; text-align: left; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}
.steps li { border-top: 1px solid var(--line-dark); padding-top: 1.2rem; }
.steps span {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 800;
  color: var(--orange);
  display: block; margin-bottom: .7rem;
}
.steps h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: #fff;
  margin-bottom: .4rem;
}
.steps p { font-size: .88rem; }
.cta-actions { display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; }
.cta-meta {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #8FA0B3;
}

.site-footer { background: var(--navy-deep); border-top: 1px solid var(--line-dark); }
.footer-in {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding: 2rem 0;
}
.footer-logo { filter: brightness(0) invert(1); opacity: .85; width: 120px; height: auto; }
.footer-meta {
  font-size: .74rem; color: #66788C;
  margin-left: auto;
}
.footer-meta + .footer-meta { margin-left: 0; }
.footer-in .footer-meta:first-of-type { margin-left: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-media img { object-position: 64% 50%; }
  .hero .kicker { font-size: .62rem; letter-spacing: .2em; }
}

@media (max-width: 900px) {
  .split, .split-reverse { grid-template-columns: 1fr; gap: 2.4rem; }
  .split-side { position: static; }
  .proj, .proj-reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .proj-reverse .proj-media { order: 0; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(odd) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: flex-start;
    gap: 0;
    background: rgba(247, 248, 248, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1rem, 5vw, 2rem) 1.6rem;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .45s var(--ease-out), opacity .35s, visibility 0s .45s;
    margin-left: 0;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .45s var(--ease-out), opacity .35s;
  }
  .site-nav a {
    color: var(--navy) !important;
    font-size: .9rem;
    padding: .9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-cta { margin: 1rem 0 0; border-color: var(--navy); text-align: center; }
}

@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .tag-grid, .bench { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .wall-item, .wall-wide { grid-column: span 2; }
  .wall-item:nth-child(-n+2) { grid-column: span 1; }
  .deliver-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .fleet-list li { flex-direction: column; gap: .2rem; }
  .fleet-list li span:last-child { text-align: left; }
  .display { max-width: none; }
  .metric-num { font-size: 1.9rem; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .hero-media img { transform: none !important; }
}


/* ==========================================================================
   V2 — hero focus gradient · tile marquee · interiors strip · callback dialog
   ========================================================================== */

/* ---------- hero: sharp excavator on the right, blur + navy on the left ---------- */
.hero-media .hero-blur {
  position: absolute; inset: 0;
  filter: blur(8px) brightness(.84) saturate(.9);
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 28%, rgba(0, 0, 0, .78) 42%, rgba(0, 0, 0, .48) 56%, rgba(0, 0, 0, .18) 70%, transparent 84%);
  mask-image: linear-gradient(100deg, #000 0%, #000 28%, rgba(0, 0, 0, .78) 42%, rgba(0, 0, 0, .48) 56%, rgba(0, 0, 0, .18) 70%, transparent 84%);
}
.hero-shade {
  background:
    linear-gradient(180deg, rgba(10, 20, 32, .35) 0%, transparent 24%, transparent 66%, rgba(10, 20, 32, .45) 100%),
    linear-gradient(100deg, rgba(10, 20, 32, .82) 0%, rgba(10, 20, 32, .66) 20%, rgba(13, 25, 41, .45) 38%, rgba(15, 28, 46, .22) 55%, rgba(15, 28, 46, .06) 70%, rgba(15, 28, 46, 0) 84%);
}
.hero .lede {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.7;
  max-width: 45ch;
  color: #E4EAF1;
  margin-bottom: 2.6rem;
}

/* ---------- buttons rendered as <button> ---------- */
button.btn { cursor: pointer; }

/* ---------- nav callback button ---------- */
.site-nav button.nav-cta {
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
}

/* ---------- footer logo (already light variant) ---------- */
.footer-logo { filter: none; }

/* ---------- track record tile marquee ---------- */
.tile-marquee {
  overflow: hidden;
  margin-top: clamp(.5rem, 2vw, 1.5rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.tile-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.tile-marquee:hover .tile-track { animation-play-state: paused; }
.tile {
  position: relative;
  flex: 0 0 auto;
  width: 400px; height: 268px;
  margin-right: 1.4rem;
  overflow: hidden;
  background: var(--navy);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.tile:hover img { transform: scale(1.06); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem 1.2rem 1.05rem;
  background: linear-gradient(180deg, transparent, rgba(10, 20, 32, .94));
}
.tile h3 {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 700;
  color: #fff;
}
.tile p { font-size: .78rem; color: #B9C4D1; margin-top: .25rem; }

/* ---------- interiors strip (JS-driven endless loop) ---------- */
.strip {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.strip-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.strip-card {
  position: relative;
  flex: 0 0 auto;
  width: 440px; height: 300px;
  margin-right: 1.4rem;
  overflow: hidden;
  background: #E9EDF1;
}
.strip-card img { width: 100%; height: 100%; object-fit: cover; }
.strip-card figcaption {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--font-display);
  font-size: .58rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .94);
  background: rgba(18, 30, 46, .28);
  border: 1px solid rgba(255, 255, 255, .32);
  padding: .38rem .62rem;
  backdrop-filter: blur(12px) saturate(1.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
}
.strip-nav {
  display: flex; justify-content: center; gap: .7rem;
  margin-top: 1.8rem;
}
.strip-btn {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.strip-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.strip-btn svg { width: 22px; height: 22px; }
.strip-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- callback dialog ---------- */
.cb-dialog {
  border: none; padding: 0;
  background: transparent;
  width: min(700px, calc(100vw - 2rem));
}
.cb-dialog::backdrop {
  background: rgba(10, 20, 32, .72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.cb-box {
  position: relative;
  background: var(--white);
  padding: clamp(1.8rem, 4.5vw, 3rem);
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  box-shadow: 0 40px 90px rgba(10, 20, 32, .4);
}
.cb-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.cb-close:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.cb-close svg { width: 18px; height: 18px; }
.cb-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800; letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: .5rem;
}
.cb-sub { font-size: .92rem; color: var(--grey); margin-bottom: 1.6rem; max-width: 48ch; }
.cb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}
.cb-full { grid-column: 1 / -1; }
.cb-field {
  display: block;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel);
}
.cb-field i { color: var(--orange); font-style: normal; }
.cb-field b { color: var(--navy); }
.cb-field input,
.cb-field select,
.cb-field textarea {
  display: block;
  margin-top: .45rem;
  font-family: var(--font-body);
  font-size: .95rem; color: var(--navy);
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  background: #FBFCFD;
  border-radius: 0;
  width: 100%;
}
.cb-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2347586A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.3rem;
}
.cb-field textarea { resize: vertical; min-height: 84px; }
.cb-field input:focus,
.cb-field select:focus,
.cb-field textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 81, 0, .14);
  background: #fff;
}
.cb-field .cb-invalid { border-color: #C62828; background: #FDF6F5; }
.cb-hp {
  position: absolute !important;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.cb-err { color: #B3261E; font-size: .86rem; margin: 1.1rem 0 0; }
.cb-submit { margin-top: 1.6rem; width: 100%; text-align: center; }
.cb-submit[disabled] { opacity: .55; pointer-events: none; }
.cb-note { text-align: center; font-size: .78rem; color: var(--grey); margin-top: .9rem; }
.cb-done .btn { margin-top: 1.4rem; }

/* ---------- responsive v2 ---------- */
@media (max-width: 860px) {
  .site-nav button.nav-cta {
    color: #fff !important;
    background: var(--orange);
    width: 100%;
    text-align: center;
    font-size: .9rem;
    padding: 1rem 0 !important;
    border: 0;
    margin: 1rem 0 0;
  }
  .site-nav button.nav-cta:hover { background: #C74500; color: #fff !important; }
}
/* ---------- mobile hero: photo scales with the screen, text below ---------- */
@media (max-width: 700px) {
  .hero { min-height: 0; display: block; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 16 / 10; will-change: auto; }
  .hero-media img { height: 100%; object-position: 50% 62%; }
  .hero-media .hero-blur { display: none; }
  .hero-shade { display: none; }
  .hero-inner { padding: 2.3rem 0 3.2rem; }
  .hero .kicker { font-size: .6rem; letter-spacing: .16em; margin-bottom: .9rem; }
  .hero .lede { font-size: 1rem; line-height: 1.65; margin-bottom: 2rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .mark { white-space: normal; }
}
@media (max-width: 640px) {
  .tile { width: 300px; height: 205px; margin-right: 1rem; }
  .strip-card { width: 300px; height: 220px; margin-right: 1rem; }
  .cb-grid { grid-template-columns: 1fr; }
  .cb-dialog { width: calc(100vw - 1.2rem); }
}

/* ---------- reduced motion v2 ---------- */
@media (prefers-reduced-motion: reduce) {
  .tile-track { animation: none; }
  .strip-track { transform: none !important; }
  .hero-media { transform: none !important; }
}

/* ---------- Sonoma Strong tagline ---------- */
.strong-line {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem;
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--orange);
}
.strong-line::before, .strong-line::after {
  content: ""; height: 1px; width: clamp(40px, 8vw, 90px);
  background: var(--line);
}
.footer-tag {
  width: 100%;
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  color: rgba(230, 81, 0, .85);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
}

/* ---------- QA hook: instant final states for screenshot testing ---------- */
.qa [data-reveal], .qa .mark-line path {
  transition: none !important;
  animation: none !important;
}
