/*
  RIVERSIDE ENGINEERING INC.
  Film-led engineering website. Typography and restrained cream/green palette
  reference BuildShure only; layout, content, artwork and interactions are original.
*/

:root {
  --paper: #FBFAF8;
  --paper-2: #F3F1ED;
  --paper-3: #E9E6DF;
  --ink: #1B1B19;
  --ink-2: #33322E;
  --muted: #6E6C66;
  --blue: #B0690D;
  --blue-soft: #D9A45E;
  --lime: #F4E3C7;
  --orange: #F69D1D;
  --white: #FFFFFF;
  --line: rgba(27, 27, 25, .17);
  --line-dark: rgba(255, 250, 241, .20);
  --shadow: 0 34px 90px rgba(25, 24, 22, .16);
  --radius: 2px;
  --v4-cream: #FBFAF8;
  --v4-cream-2: #F3F1ED;
  --v4-cream-3: #E9E6DF;
  --v4-forest: #1B1B19;
  --v4-forest-2: #393733;
  --v4-sage: #bfb9af;
  --v4-sage-light: #F4E3C7;
  --v4-charcoal: #1B1B19;
  --v4-white: #FFFFFF;
  --v4-border: rgba(27, 27, 25, .17);
  --v4-border-light: rgba(255, 250, 241, .20);
  --v4-shadow: 0 34px 90px rgba(25, 24, 22, .16);
}

body { background: var(--v4-cream); }
body::before { opacity: .14; }
::selection { background: var(--v4-forest); color: var(--v4-white); }

/* Shared palette refinement across retained V3 secondary pages. */
body:not(.v4-home) .site-header { background: rgba(27,27,25,.94); }
body:not(.v4-home) .site-footer { background: #151413; }
body:not(.v4-home) .footer-word { color: var(--v4-cream); }
body:not(.v4-home) .section--blue { background: var(--v4-forest); }
body:not(.v4-home) .section--lime { background: var(--v4-sage-light); }

body.v4-home {
  background: var(--v4-cream);
  color: var(--v4-charcoal);
}
.v4-home::before { opacity: .15; mix-blend-mode: multiply; }
.v4-home .site-header {
  background: rgba(244,239,229,.93);
  border-bottom-color: rgba(27, 27, 25,.15);
  color: var(--v4-charcoal);
  backdrop-filter: blur(22px) saturate(1.12);
}
.v4-home .brand-mark::before { background: var(--v4-charcoal); box-shadow: 0 8px 0 var(--v4-charcoal), 0 16px 0 var(--v4-charcoal); }
.v4-home .brand-mark::after { background: var(--v4-forest); }
.v4-home .primary-nav a::after,
.v4-home .scroll-progress { background: var(--v4-forest); }
.v4-home .header-cta .dot { background: var(--v4-sage); box-shadow: 0 0 0 5px rgba(191,185,175,.32); }

/* HERO */
.v4-hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  color: var(--v4-white);
  background: #141412;
}
.v4-hero-media,
.v4-hero-video,
.v4-hero-scrim,
.v4-hero-grain,
.v4-hero-scan { position: absolute; inset: 0; }
.v4-hero-media { z-index: -3; background: #141412; overflow: hidden; }
.v4-hero-video {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 57% center;
  transform: scale(1.025) translate3d(var(--hero-pan-x,0),var(--hero-pan-y,0),0);
  filter: saturate(.88) contrast(1.06) brightness(.84);
  transition: transform 1.4s var(--ease), opacity .8s ease;
}
.v4-hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg,rgba(11,11,10,.90) 0%,rgba(11,11,10,.76) 27%,rgba(11,11,10,.27) 59%,rgba(11,11,10,.17) 100%),
    linear-gradient(0deg,rgba(11,11,10,.78) 0%,rgba(11,11,10,.05) 48%,rgba(11,11,10,.22) 100%);
}
.v4-hero-grain {
  z-index: 2;
  pointer-events: none;
  opacity: .17;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}
.v4-hero-scan {
  z-index: 3;
  pointer-events: none;
  opacity: .34;
  height: 25%;
  top: -25%;
  background: linear-gradient(180deg,transparent 0%,rgba(220,215,208,.04) 42%,rgba(220,215,208,.22) 50%,rgba(220,215,208,.04) 58%,transparent 100%);
  animation: v4HeroScan 8s cubic-bezier(.4,0,.2,1) 1.4s infinite;
}
@keyframes v4HeroScan {
  0%,15% { transform: translateY(0); opacity: 0; }
  22% { opacity: .3; }
  56% { transform: translateY(500%); opacity: .32; }
  70%,100% { transform: translateY(500%); opacity: 0; }
}
.v4-hero-content {
  position: relative;
  z-index: 4;
  min-height: max(760px,100svh);
  padding-top: calc(var(--header-h) + 42px);
  padding-bottom: 48px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.v4-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,250,241,.68);
}
.v4-hero-copy {
  align-self: end;
  width: min(900px,72vw);
  padding-bottom: clamp(48px,8vh,90px);
}
.v4-hero-eyebrow { color: rgba(255,250,241,.80); margin-bottom: 28px; }
.v4-hero-eyebrow::before { background: var(--v4-sage-light) !important; }
.v4-hero-title {
  margin: 0;
  display: grid;
  font-size: clamp(38px,6.2vw,80px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 600;
  font-stretch: 125%;
  text-wrap: balance;
}
.v4-hero-title span { display: block; opacity: 0; transform: translateY(38px); animation: v4TitleIn 1s var(--ease) forwards; }
.v4-hero-title span:nth-child(1) { animation-delay: .30s; }
.v4-hero-title span:nth-child(2) { animation-delay: .42s; }
.v4-hero-title span:nth-child(3) { animation-delay: .54s; }
@keyframes v4TitleIn { to { opacity: 1; transform: none; } }
.v4-hero-lede {
  max-width: 670px;
  margin: 32px 0 0;
  font-size: clamp(17px,1.55vw,25px);
  line-height: 1.43;
  letter-spacing: -.02em;
  color: rgba(255,250,241,.78);
}
.v4-hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.v4-btn-light { --btn-bg: var(--v4-white); --btn-fg: var(--v4-charcoal); border-color: var(--v4-white); }
.v4-btn-light::before { background: var(--v4-sage); }
.v4-text-link,
.v4-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.v4-text-link span,
.v4-arrow-link span { font-size: 17px; transition: transform .35s var(--ease); }
.v4-text-link:hover span,
.v4-arrow-link:hover span { transform: translate(4px,-2px); }
.v4-hero-bottom {
  display: grid;
  grid-template-columns: 1fr minmax(340px,580px);
  gap: 44px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255,250,241,.24);
}
.v4-film-caption { display: flex; align-items: center; gap: 12px; color: rgba(255,250,241,.73); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.v4-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--v4-sage-light); }
.v4-live-dot::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(220,215,208,.42); border-radius: 50%; animation: v4Pulse 2.2s ease-out infinite; }
@keyframes v4Pulse { 0% { transform: scale(.6); opacity: .8; } 80%,100% { transform: scale(1.55); opacity: 0; } }
.v4-film-controls { display: grid; grid-template-columns: 36px auto 1fr auto; gap: 14px; align-items: center; }
.v4-film-button,
.v4-service-stage-top button {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,250,241,.36);
  border-radius: 50%;
  background: rgba(9,9,8,.12);
  color: var(--v4-white);
  cursor: pointer;
}
.v4-icon-pause { width: 9px; height: 12px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.v4-icon-play { display: none; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; margin-left: 2px; }
.is-paused .v4-icon-pause { display: none; }
.is-paused .v4-icon-play { display: block; }
.v4-film-time { min-width: 90px; font-size: 9px; font-variant-numeric: tabular-nums; letter-spacing: .08em; color: rgba(255,250,241,.68); }
.v4-film-progress { height: 1px; background: rgba(255,250,241,.30); overflow: hidden; }
.v4-film-progress span { display: block; width: 0%; height: 100%; background: var(--v4-white); }
.v4-film-restart { padding: 0; border: 0; background: transparent; color: rgba(255,250,241,.72); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.v4-scroll-cue {
  position: absolute;
  z-index: 5;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255,250,241,.62);
}
.v4-scroll-cue span { width: 46px; height: 1px; background: rgba(255,250,241,.35); overflow: hidden; }
.v4-scroll-cue span::after { content: ""; display: block; width: 40%; height: 100%; background: var(--v4-white); animation: v4Cue 2s var(--ease) infinite; }
@keyframes v4Cue { 0% { transform: translateX(-120%); } 80%,100% { transform: translateX(290%); } }

/* MARQUEE */
.v4-marquee { overflow: hidden; border-bottom: 1px solid var(--v4-border); background: var(--v4-forest); color: var(--v4-white); }
.v4-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: v4Marquee 34s linear infinite;
}
.v4-marquee-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--v4-sage); }
@keyframes v4Marquee { to { transform: translateX(-50%); } }

/* INTRO */
.v4-intro { background: var(--v4-cream); }
.v4-intro-grid { display: grid; grid-template-columns: minmax(140px,.35fr) minmax(0,1.65fr); gap: clamp(45px,8vw,150px); }
.v4-intro-number { position: sticky; top: 125px; align-self: start; padding-top: 8px; font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.v4-display {
  margin: 0;
  max-width: 1200px;
  font-size: clamp(30px,3.6vw,56px);
  line-height: .88;
  letter-spacing: -.02em;
  font-weight: 600;
  font-variation-settings: "wdth" 105;
  text-wrap: balance;
}
.v4-intro-copy-grid { display: grid; grid-template-columns: minmax(280px,640px) auto; gap: 50px; align-items: end; margin-top: clamp(42px,6vw,90px); }
.v4-copy { margin: 0; color: #494540; font-size: clamp(17px,1.25vw,21px); line-height: 1.62; letter-spacing: -.015em; }
.v4-arrow-link { color: var(--v4-forest); white-space: nowrap; }
.v4-intro-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-top: clamp(70px,10vw,150px); border-top: 1px solid var(--v4-border); border-bottom: 1px solid var(--v4-border); }
.v4-intro-metrics > div { min-height: 180px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--v4-border); }
.v4-intro-metrics > div:last-child { border-right: 0; }
.v4-intro-metrics strong { font-size: clamp(40px,4.4vw,68px); line-height: 1.02; letter-spacing: -.02em; font-weight: 600; }
.v4-intro-metrics span { max-width: 190px; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

/* FILM STORIES */
.v4-film-stories { background: var(--v4-forest); color: var(--v4-white); }
.v4-section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,520px); gap: 60px; align-items: end; margin-bottom: clamp(50px,7vw,110px); }
.v4-section-head--dark { color: var(--v4-charcoal); }
.v4-section-title {
  margin: 0;
  font-size: clamp(30px,3.6vw,56px);
  line-height: .87;
  letter-spacing: -.02em;
  font-weight: 600;
  font-variation-settings: "wdth" 104;
  text-wrap: balance;
}
.v4-section-copy { margin: 0 0 8px; font-size: clamp(16px,1.24vw,20px); line-height: 1.58; color: rgba(255,250,241,.66); }
.v4-section-head--dark .v4-section-copy { color: #49554c; }
.v4-film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3vw,50px); }
.v4-film-card--wide { grid-column: 1 / -1; }
.v4-inline-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0c0b; border: 1px solid rgba(255,255,255,.12); }
.v4-film-card--wide .v4-inline-media { aspect-ratio: 2.05 / 1; }
.v4-inline-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,rgba(9,9,8,.55),transparent 45%); }
.v4-inline-media video,
.v4-stack-film video { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.88) contrast(1.06); transition: transform 1.2s var(--ease),filter .5s ease; }
.v4-film-card:hover video,
.v4-stack-film:hover video { transform: scale(1.025); filter: saturate(.98) contrast(1.08); }
.v4-card-play { position: absolute; z-index: 4; left: 22px; bottom: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,250,241,.62); border-radius: 50%; background: rgba(9,9,8,.20); backdrop-filter: blur(10px); cursor: pointer; }
.v4-card-play span { position: absolute; left: 20px; top: 16px; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid var(--v4-white); }
[data-inline-video].is-playing .v4-card-play span { left: 17px; width: 12px; height: 16px; border: 0; border-left: 3px solid var(--v4-white); border-right: 3px solid var(--v4-white); }
.v4-card-index { position: absolute; z-index: 3; top: 20px; left: 20px; padding: 7px 10px; border: 1px solid rgba(255,250,241,.30); background: rgba(9,9,8,.24); backdrop-filter: blur(8px); font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.v4-film-card-copy { display: grid; grid-template-columns: 1fr minmax(260px,.7fr); gap: 30px; padding-top: 24px; }
.v4-film-card-copy > div > span { display: block; margin-bottom: 12px; font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--v4-sage-light); }
.v4-film-card-copy h3 { margin: 0; font-size: clamp(30px,3.5vw,62px); line-height: .92; letter-spacing: -.055em; font-weight: 600; }
.v4-film-card-copy p { margin: 0; color: rgba(255,250,241,.64); font-size: 15px; line-height: 1.62; }

/* SERVICE CINEMA */
.v4-services { background: var(--v4-cream-2); }
.v4-services .v4-section-head { margin-bottom: 65px; }
.v4-service-cinema { display: grid; grid-template-columns: minmax(310px,.66fr) minmax(0,1.34fr); min-height: 760px; border: 1px solid var(--v4-border); }
.v4-service-tabs { border-right: 1px solid var(--v4-border); }
.v4-service-tab {
  position: relative;
  width: 100%;
  min-height: 122px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 14px;
  padding: 25px 28px;
  border: 0;
  border-bottom: 1px solid var(--v4-border);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .35s ease,padding-left .45s var(--ease);
}
.v4-service-tab:last-child { border-bottom: 0; }
.v4-service-tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--v4-forest); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.v4-service-tab::after { content: "→"; position: absolute; right: 25px; top: 28px; opacity: 0; transform: translateX(-8px); transition: opacity .3s ease,transform .3s ease; }
.v4-service-tab:hover,
.v4-service-tab.active { padding-left: 42px; background: rgba(255,250,241,.62); }
.v4-service-tab.active::before { transform: scaleY(1); transform-origin: top; }
.v4-service-tab.active::after { opacity: 1; transform: none; }
.v4-service-tab > span { grid-row: 1 / 3; padding-top: 3px; font-size: 9px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.v4-service-tab strong { padding-right: 30px; font-size: clamp(19px,1.5vw,26px); line-height: 1.05; letter-spacing: -.035em; font-weight: 690; }
.v4-service-tab small { max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.v4-service-stage { position: sticky; top: var(--header-h); min-height: 760px; overflow: hidden; color: var(--v4-white); background: #0f0e0d; isolation: isolate; }
.v4-service-video-stack { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.v4-service-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); filter: saturate(.82) contrast(1.06) brightness(.78); transition: opacity .72s ease,transform 1.6s var(--ease); }
.v4-service-video.active { opacity: 1; transform: scale(1); }
.v4-service-vignette { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(7,7,7,.90) 0%,rgba(7,7,7,.16) 59%,rgba(7,7,7,.26) 100%),linear-gradient(90deg,rgba(7,7,7,.35),transparent 65%); }
.v4-service-coordinate-grid { position: absolute; inset: 0; opacity: .12; mix-blend-mode: screen; background-image: linear-gradient(rgba(255,250,241,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(255,250,241,.22) 1px,transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg,black 0%,transparent 65%); }
.v4-service-stage-top { position: absolute; z-index: 2; left: 30px; right: 30px; top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.v4-service-stage-top > span { font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,250,241,.74); }
.v4-service-stage-copy { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 130px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: end; }
.v4-service-stage-copy > div { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.v4-service-number { padding-top: 7px; font-size: 9px; font-weight: 600; letter-spacing: .15em; color: rgba(255,250,241,.56); }
.v4-service-stage-copy h3 { margin: 0; font-size: clamp(42px,4.9vw,82px); line-height: .87; letter-spacing: -.02em; font-weight: 600; }
.v4-service-stage-copy p { margin: 0; max-width: 500px; color: rgba(255,250,241,.68); font-size: 15px; line-height: 1.6; }
.v4-service-readouts { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,250,241,.23); }
.v4-service-readouts > div { padding-top: 16px; }
.v4-service-readouts > div + div { padding-left: 25px; border-left: 1px solid rgba(255,250,241,.23); }
.v4-service-readouts span { display: block; margin-bottom: 4px; font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,250,241,.48); }
.v4-service-readouts strong { display: block; font-size: 12px; line-height: 1.35; font-weight: 570; color: rgba(255,250,241,.88); }
.v4-service-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,250,241,.18); }
.v4-service-progress span { display: block; width: 0%; height: 100%; background: var(--v4-sage-light); }

/* COORDINATION */
.v4-coordination { background: var(--v4-cream); }
.v4-coordination-grid { display: grid; grid-template-columns: minmax(330px,.78fr) minmax(0,1.22fr); gap: clamp(65px,9vw,150px); align-items: start; }
.v4-coordination-copy { position: sticky; top: 125px; }
.v4-coordination-copy .v4-section-title { margin-bottom: 34px; }
.v4-coordination-list { margin: clamp(45px,6vw,78px) 0 38px; border-top: 1px solid var(--v4-border); }
.v4-coordination-list > div { display: grid; grid-template-columns: 38px .8fr 1.2fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--v4-border); }
.v4-coordination-list span { font-size: 9px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.v4-coordination-list strong { font-size: 14px; line-height: 1.35; }
.v4-coordination-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.v4-coordination-films { display: grid; gap: clamp(28px,5vw,68px); padding-top: 60px; }
.v4-stack-film { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #111110; box-shadow: var(--v4-shadow); }
.v4-stack-film--offset { width: 82%; justify-self: end; }
.v4-stack-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,rgba(12,11,10,.84),transparent 55%); }
.v4-stack-film .v4-card-play { bottom: 92px; }
.v4-stack-film-label { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 28px; display: grid; gap: 7px; color: white; }
.v4-stack-film-label span { font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--v4-sage-light); }
.v4-stack-film-label strong { max-width: 490px; font-size: clamp(22px,2.4vw,38px); line-height: 1.05; letter-spacing: -.035em; }

/* WORK */
.v4-work { background: var(--v4-cream-2); border-top: 1px solid var(--v4-border); }
.v4-work .v4-section-head { grid-template-columns: 1fr auto; }
.v4-project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.v4-project-card { display: grid; background: var(--v4-cream); border: 1px solid var(--v4-border); overflow: hidden; transform-style: preserve-3d; }
.v4-project-card--wide { grid-column: 1 / -1; grid-template-columns: 1.35fr .65fr; }
.v4-project-image { position: relative; aspect-ratio: 1.45 / 1; overflow: hidden; background: #21201e; }
.v4-project-card--wide .v4-project-image { aspect-ratio: 2 / 1; }
.v4-project-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); transition: transform 1.2s var(--ease),filter .8s ease; }
.v4-project-card:hover img { transform: scale(1.035); filter: saturate(.98) contrast(1.08); }
.v4-project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(10,10,9,.65),transparent 45%); }
.v4-project-image > span { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: white; font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.v4-project-copy { padding: 26px 28px 30px; display: grid; gap: 15px; align-content: start; }
.v4-project-card--wide .v4-project-copy { align-content: center; padding: 48px; }
.v4-project-copy h3 { margin: 0; font-size: clamp(27px,2.5vw,45px); line-height: .95; letter-spacing: -.048em; font-weight: 600; }
.v4-project-copy p { margin: 0; color: #59655c; line-height: 1.55; }
.v4-project-copy > span { margin-top: 7px; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v4-forest); }

/* STATS + PROCESS + CLOSING */
.v4-stat-band { padding: 0; background: var(--v4-charcoal); color: var(--v4-white); }
.v4-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.v4-stat-grid > div { min-height: 280px; padding: 38px 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--v4-border-light); }
.v4-stat-grid > div:last-child { border-right: 0; }
.v4-stat-grid strong { font-size: clamp(42px,4.8vw,72px); line-height: 1.02; letter-spacing: -.02em; font-weight: 600; }
.v4-stat-grid p { max-width: 190px; margin: 0; color: rgba(255,250,241,.58); font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.v4-process { background: var(--v4-cream); }
.v4-process-grid { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(55px,10vw,160px); }
.v4-process-intro { position: sticky; top: 130px; align-self: start; }
.v4-process-intro .v4-section-title { margin-bottom: 30px; }
.v4-process-list { border-top: 1px solid var(--v4-border); }
.v4-process-list article { display: grid; grid-template-columns: 48px minmax(170px,.65fr) 1fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--v4-border); }
.v4-process-list article > span { padding-top: 5px; font-size: 9px; font-weight: 600; letter-spacing: .14em; color: #7a827b; }
.v4-process-list h3 { margin: 0; font-size: clamp(25px,2.4vw,39px); line-height: .98; letter-spacing: -.04em; font-weight: 690; }
.v4-process-list p { margin: 0; color: #5c675f; line-height: 1.58; }
.v4-closing { padding-top: 0; background: var(--v4-cream); }
.v4-closing-panel {
  min-height: 520px;
  padding: clamp(44px,6vw,94px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: end;
  background: radial-gradient(circle at 88% 8%,rgba(191,185,175,.21),transparent 30%),var(--v4-forest);
  color: var(--v4-white);
  overflow: hidden;
}
.v4-closing-panel h2 { margin: 0; max-width: 870px; font-size: clamp(30px,3.6vw,56px); line-height: 1.05; letter-spacing: -.02em; font-weight: 600; }
.v4-closing-panel > div:last-child { display: grid; gap: 30px; align-content: end; }
.v4-closing-panel p { margin: 0; max-width: 460px; color: rgba(255,250,241,.66); font-size: 18px; line-height: 1.55; }
.v4-footer { background: var(--v4-charcoal); }
.v4-footer .footer-word { color: var(--v4-cream); }

@media (max-width:1180px) {
  .v4-hero-copy { width: min(880px,82vw); }
  .v4-service-stage-copy { grid-template-columns: 1fr; gap: 22px; }
  .v4-service-stage-copy p { max-width: 620px; }
  .v4-service-stage-copy h3 { font-size: clamp(44px,6vw,74px); }
  .v4-project-card--wide { grid-template-columns: 1.1fr .9fr; }
  .v4-coordination-grid { gap: 70px; }
}

@media (max-width:980px) {
  .v4-hero { min-height: 860px; }
  .v4-hero-content { min-height: 860px; }
  .v4-hero-copy { width: 92%; }
  .v4-hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .v4-film-controls { max-width: 560px; }
  .v4-scroll-cue { display: none; }
  .v4-intro-grid { grid-template-columns: 1fr; }
  .v4-intro-number { position: static; }
  .v4-intro-copy-grid { grid-template-columns: 1fr; align-items: start; }
  .v4-section-head { grid-template-columns: 1fr; gap: 30px; }
  .v4-work .v4-section-head { grid-template-columns: 1fr; }
  .v4-film-card-copy { grid-template-columns: 1fr; gap: 18px; }
  .v4-service-cinema { grid-template-columns: 1fr; min-height: 0; }
  .v4-service-tabs { border-right: 0; display: grid; grid-template-columns: repeat(3,1fr); }
  .v4-service-tab { min-height: 128px; padding: 44px 18px 18px; border-right: 1px solid var(--v4-border); }
  .v4-service-tab:nth-child(3n) { border-right: 0; }
  .v4-service-tab small { display: none; }
  .v4-service-tab:hover,
  .v4-service-tab.active { padding-left: 18px; }
  .v4-service-tab::after { display: none; }
  .v4-service-stage { position: relative; top: auto; min-height: 690px; }
  .v4-coordination-grid { grid-template-columns: 1fr; }
  .v4-coordination-copy { position: static; }
  .v4-coordination-films { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .v4-stack-film--offset { width: 100%; justify-self: stretch; margin-top: 70px; }
  .v4-project-card--wide { grid-template-columns: 1fr; }
  .v4-stat-grid { grid-template-columns: 1fr 1fr; }
  .v4-stat-grid > div:nth-child(2) { border-right: 0; }
  .v4-stat-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--v4-border-light); }
  .v4-process-grid { grid-template-columns: 1fr; gap: 60px; }
  .v4-process-intro { position: static; }
  .v4-closing-panel { grid-template-columns: 1fr; }
}

@media (max-width:720px) {
  .v4-hero { min-height: 760px; }
  .v4-hero-video { object-position: 63% center; }
  .v4-hero-scrim { background: linear-gradient(0deg,rgba(11,11,10,.91) 0%,rgba(11,11,10,.48) 62%,rgba(11,11,10,.28) 100%); }
  .v4-hero-content { min-height: 760px; padding-top: calc(var(--header-h) + 25px); padding-bottom: 26px; }
  .v4-hero-topline span:last-child { display: none; }
  .v4-hero-copy { width: 100%; padding-bottom: 42px; }
  .v4-hero-title { font-size: clamp(32px,9vw,48px); line-height: 1.08; }
  .v4-hero-lede { max-width: 560px; margin-top: 25px; font-size: 16px; }
  .v4-hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 28px; }
  .v4-hero-bottom { padding-top: 15px; }
  .v4-film-caption { display: none; }
  .v4-film-controls { grid-template-columns: 34px auto 1fr; gap: 12px; }
  .v4-film-restart { display: none; }
  .v4-marquee-track { padding: 14px 0; }
  .v4-display,
  .v4-section-title { font-size: clamp(48px,14vw,78px); }
  .v4-intro-metrics { grid-template-columns: 1fr; }
  .v4-intro-metrics > div { min-height: 145px; border-right: 0; border-bottom: 1px solid var(--v4-border); }
  .v4-intro-metrics > div:last-child { border-bottom: 0; }
  .v4-film-grid { grid-template-columns: 1fr; }
  .v4-film-card--wide { grid-column: auto; }
  .v4-film-card--wide .v4-inline-media { aspect-ratio: 16 / 9; }
  .v4-film-card-copy { padding-bottom: 35px; }
  .v4-service-tabs { display: flex; flex-direction: row; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; border-bottom: 1px solid var(--v4-border); scrollbar-width: none; }
  .v4-service-tabs::-webkit-scrollbar { display: none; }
  .v4-service-tab { flex: 0 0 72%; min-height: 105px; scroll-snap-align: start; padding: 40px 18px 16px; border-right: 1px solid var(--v4-border); border-bottom: 0; }
  .v4-service-tab:hover,
  .v4-service-tab.active { padding-left: 18px; }
  .v4-service-stage { min-height: 660px; }
  .v4-service-stage-top { left: 20px; right: 20px; top: 20px; }
  .v4-service-stage-copy { left: 22px; right: 22px; bottom: 150px; }
  .v4-service-stage-copy > div { grid-template-columns: 1fr; gap: 10px; }
  .v4-service-stage-copy h3 { font-size: clamp(44px,12vw,66px); }
  .v4-service-stage-copy p { font-size: 14px; }
  .v4-service-number { padding: 0; }
  .v4-service-readouts { left: 22px; right: 22px; bottom: 30px; gap: 18px; }
  .v4-service-readouts strong { font-size: 9px; }
  .v4-coordination-list > div { grid-template-columns: 34px 1fr; }
  .v4-coordination-list p { grid-column: 2; }
  .v4-coordination-films { grid-template-columns: 1fr; }
  .v4-stack-film,
  .v4-stack-film--offset { width: 100%; margin: 0; aspect-ratio: 1.15 / 1; }
  .v4-project-grid { grid-template-columns: 1fr; }
  .v4-project-card--wide { grid-column: auto; }
  .v4-project-card--wide .v4-project-copy { padding: 26px 28px 30px; }
  .v4-stat-grid { grid-template-columns: 1fr; }
  .v4-stat-grid > div { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--v4-border-light); }
  .v4-stat-grid > div:last-child { border-bottom: 0; }
  .v4-process-list article { grid-template-columns: 36px 1fr; gap: 18px; }
  .v4-process-list article p { grid-column: 2; }
  .v4-closing-panel { min-height: 600px; padding: 38px 26px; }
  .v4-closing-panel h2 { font-size: clamp(50px,14vw,72px); }
}

@media (max-width:430px) {
  .v4-hero { min-height: 720px; }
  .v4-hero-content { min-height: 720px; }
  .v4-hero-title { font-size: 52px; }
  .v4-hero-lede { font-size: 15px; }
  .v4-film-time { min-width: 84px; font-size: 9px; }
  .v4-service-tab { flex-basis: 84%; }
  .v4-service-stage { min-height: 630px; }
  .v4-service-stage-copy { bottom: 166px; }
  .v4-service-readouts { grid-template-columns: 1fr; gap: 8px; }
  .v4-service-readouts div:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion:reduce) {
  .v4-hero-scan,
  .v4-live-dot::after,
  .v4-scroll-cue span::after,
  .v4-marquee-track,
  .v4-hero-title span { animation: none !important; }
  .v4-hero-title span { opacity: 1; transform: none; }
  .v4-hero-video,
  .v4-inline-media video,
  .v4-stack-film video,
  .v4-service-video { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   CLIENT LOGO BAND
   Logos are rendered tight to their own width at a common height, so the CSS
   gap alone controls spacing and every gap is identical. Ordered by public
   recognition, the names everyone knows first.
   ========================================================================== */
.v4-clients { background: var(--paper); padding: clamp(3rem, 5vw, 4.6rem) 0 clamp(3.2rem, 5.4vw, 5rem); border-bottom: 1px solid var(--hairline); overflow: hidden; }

.v4-clients-head { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.4vw, 2rem); padding-inline: var(--gutter); margin-bottom: clamp(2rem, 3.4vw, 3rem); }
.v4-clients-rule { flex: 1 1 auto; max-width: 190px; height: 1px; background: linear-gradient(to right, transparent, var(--hairline)); }
.v4-clients-head .v4-clients-rule:last-child { background: linear-gradient(to left, transparent, var(--hairline)); }
.v4-clients-title em.mark { font-style: normal; }
.v4-clients-title {
  margin: 0; flex: 0 1 auto; text-align: center;
  font-family: var(--font-display); font-stretch: var(--wide); font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 1.15vw, 2.25rem);
  letter-spacing: -.02em; line-height: 1.12; color: var(--ink); text-wrap: balance;
}

.v4-clients-viewport { position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.v4-clients-track { display: flex; align-items: center; gap: clamp(3.4rem, 6vw, 6.8rem); width: max-content; animation: v4ClientScroll 76s linear infinite; }
.v4-clients-track img {
  flex: 0 0 auto;
  height: clamp(52px, 5.8vw, 82px);
  width: auto;
  opacity: .95;
  transition: opacity .35s ease, transform .35s ease;
}
.v4-clients-track img:hover { opacity: 1; transform: scale(1.05); }

@keyframes v4ClientScroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .v4-clients-track { animation: none; } .v4-clients-viewport { overflow-x: auto; } }
@media (max-width: 760px) { .v4-clients-rule { display: none; } }

/* ==========================================================================
   BRASS ON THE HOME PAGE
   The accent was carrying the eyebrows and little else. These add it at the
   points the eye already stops: the section numbers, the big statistics, the
   rule under a heading, and the link underlines. Restrained on purpose, the
   brass should feel like punctuation rather than decoration.
   ========================================================================== */

/* section numbers read as brass, they are wayfinding not body copy */
.v4-home .v4-intro-number { color: var(--brass); }

/* the statistics are the loudest numbers on the page, so they carry the accent */
.v4-home .v4-stat-grid strong,
.v4-home .v4-intro-metrics strong { color: var(--amber); }

/* short brass rule under the lead statement of a section */
.v4-home .v4-intro-copy > h2::after,
.v4-home .v4-closing-panel h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
  background: var(--brass);
  border-radius: 2px;
}
.v4-home .v4-closing-panel h2::after { background: var(--amber); }

/* inline text links pick up the amber underline used across Buildshure */
.v4-home .v4-text-link {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
  transition: color .3s ease;
}
.v4-home .v4-text-link:hover { color: var(--amber); }

/* the live dot in the film caption, small but it is the one moving accent */
.v4-home .v4-live-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(246,157,29,.22); }

/* primary button gets a brass edge on hover rather than a flat grey state */
.v4-home .v4-btn-light:hover { box-shadow: inset 0 0 0 2px var(--brass); }

/* service tab that is currently active is marked in brass */
.v4-home .v4-service-tab[aria-selected="true"],
.v4-home .v4-service-tab.is-active { border-left-color: var(--brass); }
.v4-home .v4-service-tab[aria-selected="true"] .v4-service-tab-index,
.v4-home .v4-service-tab.is-active .v4-service-tab-index { color: var(--brass); }

/* hero headline accent: amber underline, sized for display type */
.v4-hero-title .hero-mark {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.v4-hero-title .hero-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .07em;
  min-height: 4px;
  background: var(--amber);
  border-radius: 2px;
}

/* header sits dark on every page, so the bar belongs to the brand */
.site-header, .v4-home .site-header { background: rgba(27,27,25,.94); border-bottom: 1px solid rgba(255,255,255,.10); }
.site-header .nav-link, .site-header .header-cta, .site-header a { color: rgba(255,255,255,.88); }
.site-header .nav-link:hover, .site-header .header-cta:hover, .site-header a:hover { color: #F69D1D; }
.site-header .header-cta span, .site-header .header-cta { color: #FFFFFF; }
