/* ---------------------------------------------------
   Rhenium Innovation Labs — brand tokens
--------------------------------------------------- */
:root {
  --orange: #ff6a00;
  --orange-red: #ff3d00;
  --charcoal: #18212b;
  --charcoal-raised: #1f2b38;
  --white: #ffffff;
  --light-gray: #e9edf0;
  --text-on-light: #18212b;
  --text-muted: #5b6773;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #aab4bd;
  --border-light: #dde3e8;
  --border-dark: #2c3945;
  --gradient: linear-gradient(90deg, var(--orange), var(--orange-red));

  --font-display: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.7rem;
}

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-sub { color: var(--text-muted); margin: 0 auto; }

section { padding: 5.5rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }

/* Logo mark */
.brand-mark { width: 2rem; height: 2rem; flex-shrink: 0; }
.mark-white { fill: var(--white); }
.mark-orange { fill: var(--orange); }

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost { border-color: var(--border-dark); color: var(--text-on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--orange); }

/* ---------------------------------------------------
   Header
--------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
}
.brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:not(.btn):hover { color: var(--text-on-dark); }
.main-nav a.active { color: var(--text-on-dark); border-bottom-color: var(--orange); }
.btn-nav { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-on-dark); }

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--text-on-dark);
  max-width: none;
  padding: 6rem 1.5rem 5.5rem;
  overflow: hidden;
}

.hero-beam {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 160%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,106,0,0.18) 48%, rgba(255,61,0,0.1) 52%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  color: var(--text-on-dark);
}

.hero-lede { color: var(--text-on-dark-muted); font-size: 1.05rem; margin: 1.2rem 0; max-width: 46ch; }

.hero-tags { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.6rem 0; }
.hero-tags span {
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.hero-actions { display: flex; gap: 0.9rem; margin-top: 1.8rem; flex-wrap: wrap; }

/* ---------------------------------------------------
   Assembly visual (animated pick-and-place hero graphic)
--------------------------------------------------- */
.assembly-visual {
  background: var(--charcoal-raised);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.1rem;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.assembly-svg { width: 100%; height: auto; display: block; overflow: visible; }

.assembly-readout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
}
.assembly-readout strong { color: var(--text-on-dark); }
.readout-sep { opacity: 0.5; }
.readout-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,106,0,0.5); }
  50% { opacity: 0.55; box-shadow: 0 0 0 4px rgba(255,106,0,0); }
}

/* Articulated arm: the carriage/shoulder/elbow/jaw motion itself is driven by
   SMIL <animateTransform> in the markup (see index.html for why — nested CSS
   transform-origin can't reliably chain a shoulder+elbow rotation). The rules
   below only handle the parts that are safe to animate with plain CSS opacity. */
.arm-carriage, .arm-shoulder, .arm-elbow, .arm-gripper { will-change: transform; }

.arm-led { animation: arm-led-blink 10s ease-in-out infinite; }
@keyframes arm-led-blink {
  0%, 100% { opacity: 0.4; }
  3%, 9% { opacity: 1; }
  12% { opacity: 0.4; }
  20%, 26% { opacity: 1; }
  29% { opacity: 0.4; }
  37%, 43% { opacity: 1; }
  46% { opacity: 0.4; }
  54%, 60% { opacity: 1; }
  63% { opacity: 0.4; }
  71%, 77% { opacity: 1; }
  80% { opacity: 0.4; }
}

/* the carried component fades out the moment it's placed at the first
   station, matching the .comp-1 pop-in below; the arm returns for the rest
   of the pass carrying nothing until it loops back for another part */
.arm-part { animation: arm-part-visibility 10s ease-in-out infinite; }
@keyframes arm-part-visibility {
  0%   { opacity: 1; }
  8%   { opacity: 1; }
  13%  { opacity: 0; }
  88%  { opacity: 0; }
  90%  { opacity: 1; }
  100% { opacity: 1; }
}

.comp { opacity: 0; transform-origin: center; transform-box: fill-box; }
.comp-1 { animation: comp-pop-1 10s ease-in-out infinite; }
.comp-2 { animation: comp-pop-2 10s ease-in-out infinite; }
.comp-3 { animation: comp-pop-3 10s ease-in-out infinite; }
.comp-4 { animation: comp-pop-4 10s ease-in-out infinite; }
.comp-5 { animation: comp-pop-5 10s ease-in-out infinite; }

/* Each component pops in the moment the head finishes placing it at its
   station, then stays visible until the whole board clears for the next pass. */
@keyframes comp-pop-1 {
  0%, 7%  { opacity: 0; transform: scale(0.4); }
  9%      { opacity: 1; transform: scale(1); }
  87%     { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes comp-pop-2 {
  0%, 24% { opacity: 0; transform: scale(0.4); }
  26%     { opacity: 1; transform: scale(1); }
  87%     { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes comp-pop-3 {
  0%, 41% { opacity: 0; transform: scale(0.4); }
  43%     { opacity: 1; transform: scale(1); }
  87%     { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes comp-pop-4 {
  0%, 58% { opacity: 0; transform: scale(0.4); }
  60%     { opacity: 1; transform: scale(1); }
  87%     { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.4); }
}
@keyframes comp-pop-5 {
  0%, 75% { opacity: 0; transform: scale(0.4); }
  77%     { opacity: 1; transform: scale(1); }
  87%     { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0.4); }
}

@media (prefers-reduced-motion: reduce) {
  /* the arm's own joints are SMIL-driven (see index.html) and are frozen from
     script.js, which also checks this same media query */
  .arm-part, .arm-led, .comp, .readout-dot { animation: none; opacity: 1; transform: none; }
}

/* ---------------------------------------------------
   Quick facts strip
--------------------------------------------------- */
.facts {
  max-width: none;
  background: var(--light-gray);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}
.fact {
  padding: 1.8rem 2rem;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.fact:last-child { border-right: none; }
.fact strong { font-family: var(--font-display); font-size: 1.02rem; }
.fact span { color: var(--text-muted); font-size: 0.9rem; }

/* ---------------------------------------------------
   Services
--------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.9rem;
  border: 1px solid var(--border-light);
}

.service-icon { width: 2rem; height: 2rem; color: var(--orange); margin-bottom: 1rem; }

.service-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.service-card h3 span { font-weight: 500; font-size: 0.85em; color: var(--text-muted); }
.service-card p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------
   Capabilities / process
--------------------------------------------------- */
.capabilities { background: var(--white); }

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.process-steps li {
  border-top: 3px solid var(--orange);
  padding-top: 1.2rem;
}

.step-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--border-light);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.process-steps h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.process-steps p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------
   About
--------------------------------------------------- */
.about { background: var(--light-gray); border-radius: 18px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
}

.about-copy p { color: var(--text-muted); }

.about-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.3rem; }
.about-list li {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.about-list li span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-on-light);
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

/* ---------------------------------------------------
   Contact
--------------------------------------------------- */
.contact { background: var(--charcoal); color: var(--text-on-dark); max-width: none; border-radius: 0; }

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-copy p { color: var(--text-on-dark-muted); }
.contact-copy h2 { color: var(--text-on-dark); font-size: clamp(1.6rem, 3vw, 2.1rem); }

.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; }
.contact-details dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-on-dark-muted); margin-bottom: 0.2rem; }
.contact-details dd { margin: 0; font-weight: 600; color: var(--text-on-dark); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.88rem; color: var(--text-on-dark-muted); }

.contact-form input,
.contact-form textarea {
  background: var(--charcoal-raised);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); outline: none; }
.contact-form .btn { align-self: flex-start; margin-top: 0.3rem; }
.form-status { min-height: 1.2em; font-size: 0.88rem; color: var(--orange); margin: 0; }

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--text-on-dark); padding: 3rem 1.5rem 2rem; }

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-top .brand-name { font-size: 1rem; }

.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--text-on-dark-muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text-on-dark); }

.footer-social { display: flex; gap: 0.9rem; }
.footer-social a { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--border-dark); border-radius: 50%; color: var(--text-on-dark-muted); }
.footer-social svg { width: 1rem; height: 1rem; }
.footer-social a:hover { color: var(--orange); border-color: var(--orange); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--border-dark);
}
.footer-bottom .rule { flex: 1; height: 1px; background: var(--orange); opacity: 0.5; }
.footer-brand-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
}

.footer-copy { max-width: var(--max-width); margin: 1rem auto 0; text-align: center; font-size: 0.8rem; color: var(--text-on-dark-muted); }

/* ---------------------------------------------------
   Scroll reveal
   Elements get [data-reveal] in HTML; script.js adds .is-visible via an
   IntersectionObserver the first time each one scrolls into view. Grids get
   a small nth-child stagger so cards don't all pop in in lockstep.
--------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.services-grid [data-reveal]:nth-child(1) { transition-delay: 0s; }
.services-grid [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.services-grid [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.services-grid [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
.services-grid [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
.services-grid [data-reveal]:nth-child(6) { transition-delay: 0.3s; }
.services-grid [data-reveal]:nth-child(7) { transition-delay: 0.36s; }

.process-steps [data-reveal]:nth-child(1) { transition-delay: 0s; }
.process-steps [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.process-steps [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.process-steps [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

.about-list [data-reveal]:nth-child(1) { transition-delay: 0s; }
.about-list [data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.about-list [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.about-list [data-reveal]:nth-child(4) { transition-delay: 0.21s; }

.facts [data-reveal]:nth-child(1) { transition-delay: 0s; }
.facts [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.facts [data-reveal]:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------
   Hover motion
--------------------------------------------------- */
.brand-mark { transition: transform 0.3s ease; }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.05); }

.main-nav a:not(.btn) { position: relative; }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transition: right 0.25s ease;
}
.main-nav a:not(.btn):hover::after { right: 0; }
.main-nav a.active::after { display: none; }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 106, 0, 0.28); }
.btn-ghost:hover { transform: translateY(-2px); }

.fact {
  transition: background 0.2s ease, transform 0.2s ease;
}
.fact:hover { background: #dfe5e9; transform: translateY(-2px); }

.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 16px 32px rgba(24, 33, 43, 0.1);
}
.service-icon { transition: transform 0.25s ease; }
.service-card:hover .service-icon { transform: scale(1.12) rotate(-4deg); }

.process-steps li { transition: transform 0.2s ease; }
.process-steps li:hover { transform: translateY(-4px); }
.step-index { transition: color 0.25s ease; }
.process-steps li:hover .step-index { color: var(--orange); }

.about-list li { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.about-list li:hover {
  transform: translateX(6px);
  border-color: var(--orange);
  box-shadow: 0 10px 20px rgba(24, 33, 43, 0.06);
}

.footer-social a { transition: transform 0.2s ease, color 0.15s ease, border-color 0.15s ease; }
.footer-social a:hover { transform: translateY(-3px) scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .brand-mark, .main-nav a:not(.btn)::after, .btn-primary, .btn-ghost,
  .fact, .service-card, .service-icon, .process-steps li, .step-index,
  .about-list li, .footer-social a {
    transition: none;
  }
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-tags, .hero-actions { justify-content: flex-start; }
  .assembly-visual { max-width: 480px; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--border-light); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .btn-nav { align-self: stretch; justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------------------------------------------------
   Cinematic engineering hero
--------------------------------------------------- */
body::before, body::after { pointer-events: none; }
html.booting body::before {
  content: ""; position: fixed; inset: 0; z-index: 1000; background: #090e13;
  animation: boot-curtain 1.15s cubic-bezier(.75,0,.2,1) forwards;
}
html.booting body::after {
  content: "RHENIUM  /  SYSTEM INITIALIZING"; position: fixed; z-index: 1001;
  top: 50%; left: 50%; transform: translate(-50%,-50%); color: #dce4ea;
  font: 600 10px/1.5 var(--font-body); letter-spacing: .25em; white-space: nowrap;
  animation: boot-label 1.05s ease forwards;
}
@keyframes boot-curtain { 0% { opacity: 1; visibility: visible; } 72% { opacity: .96; } 100% { opacity: 0; visibility: hidden; } }
@keyframes boot-label { 0%,15% { opacity: 0; filter: blur(6px); } 35%,68% { opacity: .85; filter: blur(0); } 100% { opacity: 0; filter: blur(2px); } }

.site-header { background: rgba(12,18,24,.94); backdrop-filter: blur(16px); }
.hero {
  min-height: min(900px, calc(100svh - 68px)); min-height: max(700px, calc(100svh - 68px));
  display: flex; align-items: center; padding: clamp(3.4rem,7vh,6rem) clamp(1.2rem,5vw,5rem) 6rem;
  isolation: isolate; background: #101820;
  background-image: radial-gradient(ellipse at 73% 48%, rgba(49,63,73,.5) 0%, rgba(24,33,43,.22) 32%, transparent 64%),
    linear-gradient(115deg,#111a22 0%,#18212b 48%,#10171e 100%);
  --scroll-progress: 0; --parallax-x: 0; --parallax-y: 0; --pointer-x: 65%; --pointer-y: 45%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .62; background: radial-gradient(520px circle at var(--pointer-x) var(--pointer-y), rgba(255,106,0,.09), transparent 70%);
  transition: opacity .5s ease;
}
.hero-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:-1; opacity:.95; pointer-events:none; }
.hero-vignette { position:absolute; inset:0; z-index:0; pointer-events:none; background:linear-gradient(90deg,rgba(13,19,25,.66),transparent 52%),linear-gradient(0deg,rgba(10,15,20,.72),transparent 28%,transparent 72%,rgba(10,15,20,.22)); }
.hero-beam {
  top:-55%; right:-23%; width:74%; height:210%; opacity:.56;
  background:linear-gradient(110deg,transparent 44%,rgba(255,106,0,.11) 49%,rgba(255,61,0,.05) 50%,transparent 57%);
  transform:translate3d(var(--beam-x,0px),var(--beam-y,0px),0) rotate(var(--beam-angle,0deg));
  transition:opacity .8s ease;
}
.hero-grid {
  width:100%; max-width:1320px; z-index:1; grid-template-columns:minmax(390px,.9fr) minmax(500px,1.1fr);
  gap:clamp(2rem,6vw,7rem);
}
.hero-copy { position:relative; z-index:2; max-width:600px; }
.hero-copy .kicker { color:#ff8a3d; display:flex; align-items:center; gap:.75rem; }
.hero-copy .kicker::before { content:""; width:27px; height:1px; background:var(--orange); box-shadow:0 0 12px rgba(255,106,0,.7); }
.hero h1 { font-size:clamp(3rem,5.25vw,5.65rem); line-height:1.01; letter-spacing:-.052em; max-width:10ch; text-wrap:balance; margin:.45rem 0 1.3rem; text-shadow:0 12px 50px rgba(0,0,0,.3); }
.hero-lede { max-width:50ch; color:#b4c0ca; font-size:clamp(.96rem,1.1vw,1.08rem); line-height:1.8; }
.hero-tags { gap:.55rem; margin:1.65rem 0; }
.hero-tags span { border-color:rgba(177,195,208,.16); background:rgba(228,237,243,.035); color:#c3ced7; font-size:.72rem; letter-spacing:.045em; backdrop-filter:blur(8px); }
.hero-actions { margin-top:1.9rem; }
.hero-actions .btn { min-height:50px; position:relative; overflow:hidden; }
.btn-nav { white-space:nowrap; }
.hero-actions .btn-primary::before, .btn-nav::before {
  content:""; position:absolute; inset:-1px; transform:translateX(-120%); transition:transform .65s cubic-bezier(.2,.7,.2,1);
  background:linear-gradient(105deg,transparent 28%,rgba(255,255,255,.32) 48%,transparent 65%); pointer-events:none;
}
.hero-actions .btn-primary:hover::before, .btn-nav:hover::before { transform:translateX(120%); }
.hero-actions .btn-primary span, .btn-nav span { display:inline-block; transition:transform .25s ease; }
.hero-actions .btn-primary:hover span, .btn-nav:hover span { transform:translateX(4px); }
.hero-actions .btn-ghost { border-color:rgba(199,213,224,.22); }
.hero-system-mark {
  position:absolute; top:clamp(1.3rem,4vh,3rem); right:clamp(1.5rem,5vw,5rem); z-index:1;
  display:flex; align-items:center; gap:.65rem; color:rgba(242,246,249,.72); font:700 .7rem var(--font-display); letter-spacing:.19em;
  opacity:var(--mark-opacity,.48); transform:translate3d(var(--mark-x,0px),var(--mark-y,0px),0);
}
.hero-system-mark svg { width:28px; height:28px; filter:drop-shadow(0 0 12px rgba(255,106,0,.25)); }
.hero-system-mark i { display:block; font:500 .48rem var(--font-body); letter-spacing:.24em; color:#aebac4; margin-top:3px; }
.assembly-visual {
  position:relative; min-width:0; padding:2.6rem 1.5rem 1.1rem; border-radius:4px; overflow:hidden;
  background:radial-gradient(ellipse at 50% 55%,rgba(67,81,91,.22),transparent 64%),linear-gradient(140deg,rgba(38,50,61,.54),rgba(14,21,27,.6));
  border:1px solid rgba(180,199,211,.14); box-shadow:0 28px 100px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.06);
  transform:perspective(1200px) translate3d(var(--scene-x,0px),var(--scene-y,0px),0) rotateY(var(--scene-rotate-y,0deg)) rotateX(var(--scene-rotate-x,0deg)) scale(var(--scene-scale,1));
  transition:box-shadow .5s ease,border-color .5s ease; will-change:transform;
}
.assembly-visual::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.65; background:linear-gradient(90deg,transparent 49.8%,rgba(176,197,211,.08) 50%,transparent 50.2%),linear-gradient(0deg,transparent 49.8%,rgba(176,197,211,.07) 50%,transparent 50.2%); background-size:100% 100%; }
.assembly-visual::after { content:""; position:absolute; z-index:2; left:0; right:0; top:-20%; height:28%; pointer-events:none; opacity:var(--scene-scan-opacity,.14); background:linear-gradient(180deg,transparent,rgba(255,106,0,.09),rgba(210,227,238,.035),transparent); transform:translateY(var(--scan-shift,0%)); }
.visual-topline { position:absolute; top:1rem; left:1.15rem; right:1.15rem; z-index:3; display:flex; justify-content:space-between; gap:1rem; color:#97a6b2; font:500 .56rem var(--font-body); letter-spacing:.15em; }
.visual-topline > span:first-child { color:#d5dfe5; }
.live-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#ff7a24; margin:0 6px 0 0; box-shadow:0 0 12px #ff6a00; animation:status-pulse 2s infinite; }
@keyframes status-pulse { 50% { opacity:.35; box-shadow:0 0 3px #ff6a00; } }
.visual-coordinate { position:absolute; z-index:3; top:23%; right:.8rem; writing-mode:vertical-rl; color:rgba(182,198,209,.68); font:500 .52rem/1.8 var(--font-body); letter-spacing:.1em; }
.visual-coordinate span { color:#ff9a5c; }
.assembly-svg { position:relative; z-index:1; width:100%; height:auto; max-height:410px; filter:drop-shadow(0 24px 28px rgba(0,0,0,.24)); transform:translateY(var(--scene-art-shift,0px)); }
.assembly-svg > line { stroke:#71808a; }
.assembly-svg > rect { filter:drop-shadow(0 8px 13px rgba(0,0,0,.28)); }
.assembly-svg > path { stroke:#ff6a00; stroke-width:1.4; filter:drop-shadow(0 0 4px rgba(255,106,0,.42)); }
.assembly-readout { position:relative; z-index:3; border-top:1px solid rgba(180,199,211,.12); padding-top:.9rem; margin-top:.15rem; font-size:.65rem; letter-spacing:.08em; text-transform:uppercase; }
.readout-dot { animation:status-pulse 2s infinite; }
.visual-capabilities { display:flex; justify-content:flex-end; gap:1.2rem; position:absolute; bottom:1.02rem; right:1.15rem; z-index:3; font:500 .52rem var(--font-body); letter-spacing:.16em; color:#73838f; }
.visual-capabilities span::before { content:""; display:inline-block; width:4px; height:4px; background:#ff6a00; border-radius:50%; margin:0 6px 1px 0; }
.hero-scroll { position:absolute; bottom:1.45rem; left:clamp(1.5rem,5vw,5rem); z-index:3; display:flex; align-items:center; gap:.8rem; color:#95a3ae; text-decoration:none; font:500 .56rem var(--font-body); letter-spacing:.19em; }
.scroll-line { display:inline-block; width:44px; height:1px; background:linear-gradient(90deg,var(--orange),rgba(255,106,0,.1)); transform-origin:left; transition:width .3s ease; }
.hero-scroll:hover .scroll-line { width:66px; }
.scroll-index { margin-left:.35rem; color:#596875; }
.hero.is-scrolling .assembly-visual { border-color:rgba(255,106,0,.3); box-shadow:0 36px 110px rgba(0,0,0,.37),0 0 70px rgba(255,106,0,.055),inset 0 1px rgba(255,255,255,.07); }
.hero.is-scrolling .visual-capabilities { color:#a9b7c1; }

@media (max-width:1100px) {
  .hero { padding-left:2rem; padding-right:2rem; }
  .hero-grid { grid-template-columns:minmax(290px,.9fr) minmax(360px,1.1fr); gap:2rem; }
  .hero h1 { font-size:clamp(2.9rem,6vw,4.7rem); }
  .assembly-visual { padding-left:1rem; padding-right:1rem; }
}
@media (max-width:900px) {
  .hero { min-height:auto; padding-top:6.5rem; padding-bottom:5rem; }
  .hero-grid { grid-template-columns:1fr; gap:2rem; }
}
@media (max-width:760px) {
  .hero { min-height:auto; padding:6.5rem 1.25rem 5rem; }
  .hero-grid { grid-template-columns:1fr; gap:2rem; }
  .hero-copy { max-width:620px; }
  .hero h1 { max-width:11ch; font-size:clamp(3rem,10vw,4.6rem); }
  .hero-lede { max-width:58ch; }
  .assembly-visual { width:min(100%,620px); margin:0 auto; }
  .hero-system-mark { top:1rem; right:1.3rem; }
  .hero-scroll { bottom:1.3rem; }
  .hero-vignette { background:linear-gradient(0deg,rgba(10,15,20,.52),transparent 30%,transparent 70%,rgba(10,15,20,.12)); }
}
@media (max-width:480px) {
  .hero { padding-top:5.7rem; padding-bottom:4.5rem; }
  .hero h1 { font-size:clamp(2.65rem,12vw,3.6rem); }
  .hero-lede { font-size:.94rem; line-height:1.7; }
  .hero-tags span { font-size:.65rem; padding:.32rem .65rem; }
  .assembly-visual { padding:2.35rem .65rem .8rem; }
  .visual-topline { left:.7rem; right:.7rem; font-size:.45rem; letter-spacing:.1em; }
  .visual-coordinate { right:.35rem; font-size:.42rem; }
  .visual-capabilities { right:.6rem; bottom:.72rem; gap:.55rem; font-size:.43rem; }
  .assembly-readout { gap:.35rem; font-size:.55rem; }
  .hero-scroll { left:1.25rem; font-size:.5rem; }
  .scroll-index { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  html.booting body::before, html.booting body::after, .live-dot, .readout-dot { animation:none !important; }
  html.booting body::before, html.booting body::after { display:none; }
  .hero-grid, .hero-beam, .hero-system-mark, .assembly-visual, .assembly-svg { transform:none !important; }
  .assembly-visual::after { display:none; }
}

/* Scroll chapter: one pinned viewport, five engineering stages. */
.hero {
  min-height:245svh; padding:0; overflow:clip;
  background-image:radial-gradient(ellipse at 73% 42%,rgba(49,63,73,.46) 0%,rgba(24,33,43,.2) 35%,transparent 65%),linear-gradient(115deg,#111a22 0%,#18212b 48%,#10171e 100%);
  background-size:100% 100%;
}
.hero-grid {
  position:sticky; top:68px; height:calc(100svh - 68px); min-height:620px; padding:2rem 0 3.4rem;
  align-content:center; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); gap:clamp(2rem,5vw,6rem);
}
.hero-system-mark { top:1.15rem; right:0; }
.hero-copy { transform:translate3d(0,var(--hero-copy-shift,0px),0); transition:filter .6s ease; }
.hero-copy > * { transition:opacity .55s ease,filter .55s ease,transform .7s cubic-bezier(.2,.7,.2,1); }
.hero.is-scrolling .hero-copy > * { opacity:var(--copy-opacity,1); filter:blur(var(--copy-blur,0px)); transform:translateY(var(--copy-shift,0px)); }
.hero.is-scrolling .hero-copy .hero-actions { pointer-events:none; }
.assembly-visual {
  transform:perspective(1300px) translate3d(var(--scene-x,0px),calc(var(--scene-y,0px) + var(--scene-art-shift,0px)),var(--scene-depth,0px)) rotateY(var(--scene-rotate-y,0deg)) rotateX(var(--scene-rotate-x,0deg)) scale(var(--scene-scale,1));
  transform-origin:53% 51%;
}
.hero.is-scrolling .assembly-visual::after { animation:scene-scan 4.4s linear infinite; }
@keyframes scene-scan { 0% { transform:translateY(-5%); } 100% { transform:translateY(400%); } }
.assembly-svg { max-height:min(46svh,450px); }
.scene-chapters { position:absolute; right:-.2rem; top:50%; transform:translateY(-50%); z-index:4; display:flex; flex-direction:column; gap:.95rem; padding:.9rem .8rem; border-right:1px solid rgba(176,196,209,.15); color:#73828e; background:linear-gradient(90deg,transparent,rgba(15,22,29,.38)); font:500 .54rem var(--font-body); letter-spacing:.15em; }
.scene-chapter { display:flex; align-items:center; gap:.75rem; white-space:nowrap; opacity:.48; transition:opacity .45s,color .45s,text-shadow .45s; }
.scene-chapter b { color:#63727e; font-size:.53rem; }
.scene-chapter.is-active { color:#f0f3f5; opacity:1; text-shadow:0 0 18px rgba(255,106,0,.25); }
.scene-chapter.is-active b { color:#ff7a1a; }
.scene-data { position:absolute; left:0; bottom:1.3rem; z-index:4; display:flex; gap:1.5rem; align-items:flex-end; color:#a2b0bb; font:500 .52rem/1.5 var(--font-body); letter-spacing:.12em; }
.scene-data-title { align-self:center; padding-right:1.1rem; border-right:1px solid rgba(180,199,211,.19); color:#d5dfe5; }
.scene-data > span:not(:first-child) { display:grid; gap:.22rem; }
.scene-data b { color:#687986; font-size:.46rem; font-weight:500; }
.scene-data strong { font-size:.59rem; font-weight:500; color:#e4eaee; }
.scene-data .scene-valid { color:#ff9150; }
.scene-measure { position:absolute; z-index:3; display:flex; align-items:center; gap:.4rem; color:rgba(201,215,225,.7); font:500 .5rem var(--font-body); letter-spacing:.11em; opacity:var(--measure-opacity,.55); transition:opacity .5s; }
.scene-measure i { display:block; width:3rem; height:1px; background:linear-gradient(90deg,rgba(255,106,0,.65),transparent); }
.scene-measure-a { right:14%; top:28%; }
.scene-measure-b { left:48%; bottom:17%; flex-direction:column-reverse; }
.scene-measure-b i { width:1px; height:2.2rem; background:linear-gradient(0deg,rgba(255,106,0,.55),transparent); }
.hero-scroll { bottom:.85rem; left:50%; transform:translateX(-50%); opacity:var(--scroll-hint-opacity,1); white-space:nowrap; }
.hero-scroll .scroll-line { width:24px; animation:scroll-pulse 1.6s ease-in-out infinite; }
@keyframes scroll-pulse { 50% { width:46px; opacity:.5; } }
.hero-canvas { opacity:var(--canvas-opacity,.72); }
.hero-beam { transform:translate3d(var(--beam-x,0px),calc(var(--beam-y,0px) + var(--beam-shift,0px)),0) rotate(var(--beam-angle,0deg)); }
.hero[data-phase="1"] .scene-measure-a, .hero[data-phase="3"] .scene-measure-b { color:#ff9a5c; }
.hero[data-phase="2"] .assembly-visual, .hero[data-phase="3"] .assembly-visual { border-color:rgba(255,106,0,.32); }
.hero[data-phase="4"] .assembly-visual { border-color:rgba(255,106,0,.44); filter:saturate(1.18); }

@media (max-width:1100px) {
  .hero-grid { grid-template-columns:minmax(270px,.9fr) minmax(340px,1.1fr); gap:1.7rem; padding-left:0; padding-right:0; }
  .scene-chapters { right:-.5rem; gap:.8rem; }
}
@media (max-width:900px) {
  .hero { min-height:210svh; }
  .hero-grid { top:68px; min-height:0; height:calc(100svh - 68px); grid-template-columns:1fr; grid-template-rows:auto minmax(220px,1fr); gap:1rem; align-content:center; padding:3rem 0 4rem; }
  .hero-copy { max-width:620px; }
  .hero h1 { max-width:11ch; }
  .assembly-visual { width:min(100%,620px); margin:0 auto; transform-origin:50% 50%; }
  .assembly-svg { max-height:36svh; }
  .hero-system-mark { top:.7rem; right:0; }
  .scene-chapters { top:auto; right:0; bottom:.65rem; transform:none; flex-direction:row; justify-content:center; gap:1rem; padding:.45rem 0; border-right:0; border-bottom:1px solid rgba(176,196,209,.15); background:none; font-size:.46rem; }
  .scene-chapter { gap:.35rem; }
  .scene-data { bottom:3.2rem; }
  .hero-scroll { display:none; }
  .scene-measure-a { right:3%; top:53%; }
  .scene-measure-b { left:8%; bottom:16%; }
}
@media (max-width:560px) {
  .hero { min-height:190svh; }
  .hero-grid { height:calc(100svh - 64px); top:64px; padding:3.2rem 0 4.8rem; gap:.7rem; grid-template-rows:auto minmax(205px,1fr); }
  .hero h1 { font-size:clamp(2.5rem,11vw,3.7rem); }
  .hero-copy .hero-lede { font-size:.87rem; margin:.8rem 0; line-height:1.6; }
  .hero-tags { margin:.8rem 0; }
  .hero-actions { margin-top:.9rem; }
  .hero-actions .btn { min-height:43px; padding:.65rem 1.05rem; font-size:.84rem; }
  .assembly-visual { padding:2.2rem .55rem .65rem; }
  .assembly-svg { max-height:30svh; }
  .visual-topline { top:.7rem; }
  .scene-chapters { bottom:.3rem; gap:.52rem; letter-spacing:.08em; font-size:.4rem; }
  .scene-chapter { gap:.2rem; }
  .scene-data { left:0; bottom:2.55rem; gap:.65rem; font-size:.42rem; }
  .scene-data-title { padding-right:.55rem; }
  .scene-data b { font-size:.38rem; }
  .scene-data strong { font-size:.45rem; }
  .scene-measure-a { right:1%; top:57%; }
  .scene-measure-b { left:3%; bottom:15%; }
  .hero-system-mark { font-size:.6rem; }
  .hero-system-mark svg { width:24px; height:24px; }
  .hero-scroll { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .hero { min-height:auto; }
  .hero-grid { position:relative; top:auto; height:auto; min-height:0; padding:6rem 0; }
  .hero-copy > *, .hero-copy, .assembly-visual { opacity:1 !important; filter:none !important; transform:none !important; }
  .scene-chapters { opacity:1; }
}

/* Scroll-scrubbed assembly: parts settle, traces energize, camera enters the board. */
.hero { background-color:#101820; }
.hero::after {
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:52svh; z-index:0; pointer-events:none;
  background:linear-gradient(0deg,var(--light-gray) 0%,rgba(233,237,240,.88) 2%,rgba(24,33,43,.4) 46%,transparent 100%);
  opacity:var(--services-fade,0);
}
.hero-grid { opacity:var(--scene-opacity,1); transform:translateY(var(--scene-exit,0px)); }
.hero-copy > * { opacity:var(--copy-opacity,1); }
.assembly-visual {
  overflow:visible; isolation:isolate; border-color:rgba(163,184,198,.22);
  background:radial-gradient(ellipse at 55% 64%,rgba(255,106,0,.075),transparent 42%),linear-gradient(155deg,rgba(25,37,47,.42),rgba(8,14,19,.1));
  box-shadow:none;
  transform:perspective(1250px) translate3d(var(--scene-x,0px),calc(var(--scene-y,0px) + var(--scene-art-shift,0px)),var(--camera-depth,0px)) rotateY(var(--scene-rotate-y,0deg)) rotateX(var(--scene-rotate-x,0deg)) scale(var(--camera-zoom,1));
  transform-origin:52% 48%;
}
.assembly-visual::before { opacity:.24; background-image:linear-gradient(90deg,transparent 49.8%,rgba(194,214,226,.14) 50%,transparent 50.2%),linear-gradient(0deg,transparent 49.8%,rgba(194,214,226,.12) 50%,transparent 50.2%); }
.assembly-visual::after { z-index:8; opacity:var(--trace-power,0); mix-blend-mode:screen; }
.pcb-field { position:absolute; z-index:0; inset:3% 3% 8%; perspective:1000px; opacity:var(--pcb-opacity,.28); transform:scale(var(--pcb-zoom,1)); transform-origin:54% 55%; transition:opacity .1s linear; }
.pcb-board {
  position:absolute; inset:14% 9% 8% 8%; transform:rotateX(57deg) rotateZ(-31deg) translateZ(0); transform-style:preserve-3d;
  border:1px solid rgba(116,144,137,.46); border-radius:9px;
  background:radial-gradient(ellipse at 55% 47%,rgba(31,61,54,.85),rgba(18,39,37,.96) 60%,#111f22 100%);
  box-shadow:0 34px 60px rgba(0,0,0,.42),inset 0 0 0 8px rgba(7,19,19,.56),inset 0 0 0 9px rgba(153,177,165,.15),0 0 36px rgba(255,106,0,.08);
  animation:pcb-float 7s ease-in-out infinite; transition:transform .18s linear;
}
.pcb-board::before { content:""; position:absolute; inset:2.2%; border:1px solid rgba(153,181,169,.2); border-radius:5px; background-image:linear-gradient(rgba(158,184,171,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(158,184,171,.055) 1px,transparent 1px); background-size:20px 20px; }
.pcb-board::after { content:""; position:absolute; inset:0; border-radius:8px; background:linear-gradient(125deg,rgba(255,255,255,.12),transparent 24% 71%,rgba(255,106,0,.12)); pointer-events:none; }
@keyframes pcb-float { 0%,100% { translate:0 0; } 50% { translate:0 -8px; } }
.pcb-copper { position:absolute; z-index:1; inset:3% 4%; width:92%; height:94%; overflow:visible; fill:none; stroke:rgba(214,131,75,.42); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.pcb-copper path { stroke-dasharray:8 9; animation:copper-flow 5s linear infinite; }
.pcb-copper path:nth-child(2) { animation-delay:-1.4s; opacity:.65; }
.pcb-copper .copper-accent { stroke:rgba(255,106,0,.72); stroke-width:2.5; }
.pcb-copper circle { fill:#ff7b2e; stroke:#ffb477; stroke-width:1; filter:drop-shadow(0 0 7px rgba(255,106,0,.8)); }
@keyframes copper-flow { to { stroke-dashoffset:-68; } }
.pcb-chip {
  position:absolute; z-index:3; display:grid; place-items:center; color:#c6d2d5;
  background:linear-gradient(145deg,#47545c,#202a31 55%,#151d23); border:1px solid rgba(194,209,216,.45);
  box-shadow:inset 0 1px rgba(255,255,255,.24),0 8px 14px rgba(0,0,0,.5); transform:translateZ(11px);
  transition:transform .24s cubic-bezier(.2,.8,.2,1);
}
.pcb-chip::before { content:""; position:absolute; inset:-5px; z-index:-1; border:1px solid rgba(218,160,113,.43); background:repeating-linear-gradient(90deg,transparent 0 5px,rgba(209,156,114,.8) 5px 7px); transform:translateZ(-4px); }
.pcb-chip i { position:absolute; width:38%; height:38%; border:1px solid rgba(255,135,53,.55); background:radial-gradient(circle at 35% 30%,#606c6d,#242e32); box-shadow:0 0 12px rgba(255,106,0,.22); }
.pcb-chip b { font:600 7px var(--font-body); letter-spacing:.13em; }
.chip-main { width:25%; height:29%; left:39%; top:32%; border-radius:5px; }
.chip-main span { width:55%; height:3px; background:var(--orange); box-shadow:0 0 10px var(--orange); }
.chip-sensor { width:17%; height:18%; left:17%; top:21%; border-radius:3px; }
.chip-power { width:18%; height:20%; right:15%; bottom:21%; border-radius:3px; }
.pcb-connector { position:absolute; z-index:2; left:2%; top:39%; width:8%; height:26%; transform:translateZ(5px); border:1px solid rgba(211,186,128,.62); background:repeating-linear-gradient(180deg,#bea461 0 3px,#232b2e 3px 7px); box-shadow:0 4px 10px #071012; }
.pcb-leds { position:absolute; z-index:4; right:8%; top:13%; display:flex; gap:9px; transform:translateZ(6px); }
.pcb-leds i { width:5px; height:5px; border-radius:50%; background:#fa7626; box-shadow:0 0 12px rgba(255,106,0,.9); animation:led-cycle 2.2s ease-in-out infinite; }
.pcb-leds i:nth-child(2) { animation-delay:.5s; background:#e8b95d; }
.pcb-leds i:nth-child(3) { animation-delay:1s; }
@keyframes led-cycle { 0%,100% { opacity:.34; } 36% { opacity:1; } }
.pcb-board-code { position:absolute; right:7%; bottom:7%; z-index:3; color:rgba(194,209,202,.6); font:500 6px var(--font-body); letter-spacing:.18em; transform:translateZ(4px); }
.pcb-part { position:absolute; z-index:5; width:7%; height:5%; border:1px solid rgba(238,193,147,.7); background:linear-gradient(145deg,#8c9696,#303b40 60%,#151c20); box-shadow:0 14px 16px rgba(0,0,0,.55); transform:translate3d(0,var(--explode-lift,32px),22px) rotateX(0deg); transition:transform .16s linear; }
.pcb-part b { position:absolute; inset:25%; border:1px solid rgba(255,124,48,.65); background:linear-gradient(135deg,#4e5c60,#1c262b); }
.pcb-part i { position:absolute; width:22%; height:2px; left:100%; top:45%; background:#c49360; box-shadow:5px 0 #c49360,10px 0 #c49360; }
.part-a { left:34%; top:17%; transform:translate3d(0,var(--part-lift-a,32px),22px) rotateX(0deg); }
.part-b { right:20%; top:40%; transform:translate3d(0,var(--part-lift-b,32px),22px) rotateX(0deg); }
.part-c { left:56%; bottom:10%; transform:translate3d(0,var(--part-lift-c,32px),22px) rotateX(0deg); }
.assembly-svg { z-index:6; width:110%; max-width:none; margin-left:-5%; max-height:min(53svh,520px); opacity:var(--robot-opacity,.74); transform:translate3d(0,var(--scene-art-shift,0px),0) scale(var(--robot-scale,1)); transform-origin:54% 48%; }
.assembly-svg > line { stroke:#657783; stroke-width:3; filter:drop-shadow(0 1px rgba(255,255,255,.2)); }
.assembly-svg > rect { fill:#1d2a32; stroke:rgba(177,196,207,.42); }
.assembly-svg .arm-carriage rect, .assembly-svg .arm-shoulder rect, .assembly-svg .arm-elbow rect { fill:url(#metal-sheen); }
.assembly-readout { position:absolute; left:1.1rem; bottom:1rem; z-index:9; border:0; padding:0; margin:0; }
.visual-capabilities { bottom:1rem; z-index:9; }
.visual-coordinate { z-index:9; }
.scene-data { bottom:-2.8rem; opacity:var(--data-opacity,0); transform:translateY(var(--data-shift,16px)); transition:opacity .2s,transform .2s; }
.scene-chapters { opacity:var(--chapters-opacity,1); }
.hero[data-phase="3"] .scene-chapter.is-active, .hero[data-phase="4"] .scene-chapter.is-active { color:#ff9a5c; }

@media (max-width:900px) {
  .assembly-svg { width:min(108%,660px); margin-left:-4%; max-height:min(33svh,360px); }
  .pcb-field { inset:4% 5% 11%; }
  .pcb-board { inset:18% 12% 12% 8%; }
  .scene-data { bottom:3.1rem; }
}
@media (max-width:560px) {
  .assembly-visual { min-height:260px; }
  .pcb-field { inset:3% 0 13%; }
  .pcb-board { inset:22% 13% 13% 8%; }
  .assembly-svg { max-height:27svh; }
  .scene-data { bottom:2.6rem; }
}
@media (prefers-reduced-motion:reduce) {
  .pcb-board, .pcb-copper path, .pcb-leds i { animation:none !important; }
}

/* Full-screen WebGL assembly sequence. It replaces the diagram only after the
   renderer starts, leaving the existing SVG as a useful no-WebGL fallback. */
.hero-webgl { display:none; }
body.webgl-ready .hero {
  display:block; min-height:470vh; padding:0; background:#071015; isolation:isolate; overflow:clip;
}
body.webgl-ready .hero::before { display:none; }
body.webgl-ready .hero::after {
  height:100vh; background:linear-gradient(0deg,#e9edf0 0%,rgba(233,237,240,.96) 8%,rgba(233,237,240,.28) 62%,transparent 100%);
  opacity:var(--webgl-services,0); z-index:4;
}
body.webgl-ready .hero-grid {
  position:sticky; top:0; width:100%; max-width:none; height:100svh; min-height:640px; margin:0; padding:0 clamp(1.5rem,6vw,7.5rem);
  display:block; overflow:hidden; transform:translateY(var(--webgl-exit,0)); z-index:1;
}
body.webgl-ready .hero-webgl {
  display:block; position:absolute; inset:0; width:100%; height:100%; z-index:0; outline:none;
  background:radial-gradient(ellipse at 70% 50%,rgba(25,53,58,.35),transparent 56%),linear-gradient(110deg,#050b0f,#0a161b 52%,#071015);
}
body.webgl-ready .hero-grid::before {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,rgba(3,7,10,.94) 0%,rgba(3,7,10,.7) 20%,rgba(3,7,10,.15) 48%,transparent 73%),linear-gradient(0deg,rgba(2,7,10,.55),transparent 34%,rgba(2,7,10,.18));
}
body.webgl-ready .hero-copy {
  position:absolute; left:clamp(1.5rem,6vw,7.5rem); bottom:clamp(5rem,14vh,9.5rem); z-index:3; width:min(530px,43vw); max-width:none;
  opacity:var(--webgl-copy-opacity,1); transform:translate3d(0,var(--webgl-copy-shift,0px),0); pointer-events:auto;
}
body.webgl-ready .hero-copy > * { opacity:1 !important; filter:none !important; transform:none !important; }
body.webgl-ready .hero-copy .kicker { margin-bottom:1.1rem; }
body.webgl-ready .hero h1 { font-size:clamp(3.1rem,5.2vw,6.4rem); line-height:.94; max-width:8.5ch; margin-bottom:1.15rem; }
body.webgl-ready .hero-lede { color:#c0cbd1; max-width:45ch; line-height:1.68; }
body.webgl-ready .hero-tags { margin:1.25rem 0; }
body.webgl-ready .hero-actions { margin-top:1.45rem; }
body.webgl-ready .hero-system-mark { z-index:4; top:clamp(1.15rem,3.5vh,2.8rem); right:clamp(1.5rem,5vw,6rem); opacity:.8; }
body.webgl-ready .assembly-visual,
body.webgl-ready .scene-measure,
body.webgl-ready .hero-scroll { display:none; }
body.webgl-ready .scene-chapters {
  z-index:4; right:clamp(1.5rem,4.4vw,5.5rem); top:50%; transform:translateY(-50%); opacity:var(--webgl-chapter-opacity,1);
  background:transparent; border-right:1px solid rgba(211,226,233,.2); padding:1.1rem 0 1.1rem 1.3rem; gap:1.05rem;
}
body.webgl-ready .scene-chapter { font-size:.56rem; color:#b7c7cf; opacity:.55; }
body.webgl-ready .scene-chapter.is-active { color:#fff; opacity:1; }
body.webgl-ready .scene-data {
  z-index:4; left:clamp(1.5rem,6vw,7.5rem); bottom:1.8rem; opacity:var(--webgl-hud-opacity,0); transform:none;
  color:#c4d2d9;
}
body.webgl-ready .scene-data strong { color:#fff; }
body.webgl-ready .scene-data .scene-valid { color:#ff8640; }
body.webgl-ready .hero-vignette { z-index:2; background:radial-gradient(ellipse at 74% 42%,transparent 25%,rgba(2,8,11,.15) 61%,rgba(2,7,10,.54) 100%); }
body.webgl-ready .hero-beam,
body.webgl-ready .hero-canvas { display:none; }

@media (max-width:900px) {
  body.webgl-ready .hero { min-height:370vh; }
  body.webgl-ready .hero-copy { left:1.35rem; right:1.35rem; bottom:6rem; width:auto; }
  body.webgl-ready .hero h1 { font-size:clamp(2.9rem,8vw,3.85rem); max-width:9.5ch; }
  body.webgl-ready .hero-grid::before { background:linear-gradient(0deg,rgba(2,7,10,.9) 0%,rgba(2,7,10,.45) 41%,rgba(2,7,10,.08) 71%,rgba(2,7,10,.2)); }
  body.webgl-ready .scene-chapters { right:1.2rem; top:1.3rem; transform:none; padding:.6rem 0 .6rem .8rem; gap:.62rem; }
  body.webgl-ready .scene-chapter { font-size:.46rem; }
  body.webgl-ready .scene-data { left:1.35rem; bottom:1.25rem; }
}
@media (max-width:560px) {
  body.webgl-ready .hero-grid { min-height:0; }
  body.webgl-ready .hero-copy { bottom:4.5rem; }
  body.webgl-ready .hero h1 { font-size:clamp(2.65rem,12vw,3.7rem); }
  body.webgl-ready .hero-lede { font-size:.88rem; max-width:40ch; }
  body.webgl-ready .hero-tags { display:none; }
  body.webgl-ready .hero-actions .btn { min-height:44px; padding:.65rem 1rem; }
  body.webgl-ready .scene-chapters { display:none; }
  body.webgl-ready .scene-data { gap:.7rem; bottom:1rem; }
  body.webgl-ready .scene-data-title { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  body.webgl-ready .hero { min-height:100svh; }
  body.webgl-ready .hero-grid { position:relative; }
  body.webgl-ready .hero-copy { opacity:1; transform:none; }
  body.webgl-ready .scene-data { opacity:1; }
}

/* ---------------------------------------------------
   Scroll-driven services story
--------------------------------------------------- */
.services-story {
  background: var(--white);
  position: relative;
  overflow: clip;
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}
.services-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image: linear-gradient(rgba(16,29,41,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16,29,41,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 84%, transparent);
}
.services-story-shell { max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1; }
.services-story-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.services-story-head h2 { max-width: 720px; }
.services-stage { position: relative; min-height: 1650px; }
.services-system-note { position: sticky; top: 6.5rem; height: 0; z-index: 4; display:flex; justify-content:space-between; pointer-events:none; color:#7a8791; font: 700 .66rem/1 var(--font-display); letter-spacing:.16em; text-transform:uppercase; }
.system-note-status { display:flex; align-items:center; gap:.5rem; }
.system-note-status i { width:6px; height:6px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 4px rgba(255,106,0,.09); }
.services-rail { position:absolute; left: 28px; top: 2.8rem; bottom: 5.2rem; width: 2px; z-index: 1; }
.rail-base { position:absolute; inset:0; background:linear-gradient(to bottom, transparent, #dce2e6 5%, #dce2e6 95%, transparent); }
.rail-fill { position:absolute; left:0; top:0; width:2px; height:var(--services-progress,0%); background:var(--orange); transform-origin:top; }
.rail-node { position:absolute; left:50%; top:var(--services-node,0%); width:10px; height:10px; border-radius:50%; background:var(--orange); transform:translate(-50%,-50%); box-shadow:0 0 0 5px rgba(255,106,0,.09); transition:top .18s ease; }
.services-cards { position:relative; z-index:2; padding: 4.2rem 0 5rem 84px; display:flex; flex-direction:column; gap:2.5rem; }
.service-card { position:relative; background:rgba(246,248,249,.88); border:1px solid #e0e5e8; border-radius:16px; padding:1.65rem 1.7rem 1.45rem; box-shadow:0 10px 30px rgba(16,29,41,.035); transform:translate3d(var(--sx,0), var(--sy,0),0) scale(var(--ss,.97)) rotate(var(--sr,0deg)); opacity:var(--so,.56); filter:blur(var(--sb,2px)); transition:box-shadow .45s ease, border-color .45s ease, background .45s ease, transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s ease, filter .45s ease; will-change:transform,opacity,filter; }
.service-card::before { content:""; position:absolute; left:-58px; top:50%; width:58px; height:1px; background:linear-gradient(90deg, transparent, #dce2e6); }
.service-card::after { content:""; position:absolute; left:-64px; top:calc(50% - 4px); width:8px; height:8px; border-radius:50%; background:#dce2e6; border:2px solid var(--white); box-sizing:content-box; transition:background .35s ease, box-shadow .35s ease; }
.service-card.is-active { --ss:1.025; --so:1; --sb:0px; background:rgba(255,255,255,.98); border-color:rgba(255,106,0,.35); box-shadow:0 20px 50px rgba(16,29,41,.10); }
.service-card.is-active::after { background:var(--orange); box-shadow:0 0 0 5px rgba(255,106,0,.08); }
.service-card.is-near { --so:.78; --sb:.45px; }
.service-card:hover { --ss:1.02; --so:1; --sb:0px; border-color:rgba(255,106,0,.25); box-shadow:0 18px 42px rgba(16,29,41,.09); }
.service-step { position:absolute; right:1.4rem; top:1.25rem; font:800 .68rem/1 var(--font-display); letter-spacing:.16em; color:#b6c0c6; }
.service-card-main { display:grid; grid-template-columns:3.2rem minmax(0,1fr); gap:1.15rem; align-items:start; padding-right:3rem; }
.service-icon-wrap { width:3.2rem; height:3.2rem; border:1px solid #e1e6e9; border-radius:10px; display:grid; place-items:center; background:#fff; color:var(--orange); transition:transform .5s cubic-bezier(.2,.8,.2,1), border-color .35s ease; }
.service-card.is-active .service-icon-wrap, .service-card:hover .service-icon-wrap { transform:translateY(-2px) rotate(-2deg); border-color:rgba(255,106,0,.28); }
.service-icon { width:1.75rem; height:1.75rem; }
.service-card h3 { font-size:clamp(1.08rem,1.7vw,1.32rem); margin:.15rem 0 .55rem; letter-spacing:-.015em; }
.service-card p { font-size:.94rem; line-height:1.72; color:var(--text-muted); margin:0; max-width:680px; transition:transform .45s ease, color .35s ease; }
.service-card.is-active p { transform:translateX(3px); color:#5d6870; }
.service-code { display:block; margin:1.25rem 0 0 4.35rem; font:700 .6rem/1 var(--font-display); letter-spacing:.16em; color:#a1adb5; }
.services-stage-foot { display:flex; justify-content:space-between; gap:1rem; padding:0 0 0 84px; color:#a0abb2; font:700 .62rem/1 var(--font-display); letter-spacing:.15em; text-transform:uppercase; }
.services-stage-foot span { position:relative; }
.services-stage-foot span::before { content:""; display:inline-block; width:4px; height:4px; border-radius:50%; background:#cbd2d6; margin:0 .5rem .12rem 0; }
.service-card--2 { --sx: 3%; --sy: 18px; --sr: .4deg; }
.service-card--3 { --sx: -2%; --sy: 12px; --sr: -.3deg; }
.service-card--4 { --sx: 2%; --sy: 22px; --sr: .25deg; }
.service-card--5 { --sx: -3%; --sy: 10px; --sr: -.35deg; }
.service-card--6 { --sx: 2%; --sy: 20px; --sr: .3deg; }
.service-card--7 { --sx: -1%; --sy: 14px; --sr: -.2deg; }
@media (max-width: 900px) {
  .services-stage { min-height: auto; }
  .services-system-note { position:relative; top:auto; height:auto; margin:0 0 1rem 84px; }
  .services-rail { left:20px; }
  .services-cards { padding-left:62px; gap:1.25rem; }
  .service-card::before { left:-42px; width:42px; }
  .service-card::after { left:-48px; }
  .services-stage-foot { padding-left:62px; flex-wrap:wrap; row-gap:.8rem; }
}
@media (max-width: 620px) {
  .services-story { padding-top:4rem; padding-bottom:4rem; }
  .services-story::before { background-size:48px 48px; }
  .services-system-note { margin-left:56px; font-size:.54rem; }
  .services-rail { left:15px; }
  .services-cards { padding:2.5rem 0 3.5rem 45px; gap:1rem; }
  .service-card, .service-card--2, .service-card--3, .service-card--4, .service-card--5, .service-card--6, .service-card--7 { --sx:0; --sy:0; --sr:0deg; padding:1.35rem; }
  .service-card-main { grid-template-columns:2.75rem minmax(0,1fr); gap:.9rem; padding-right:2rem; }
  .service-icon-wrap { width:2.75rem; height:2.75rem; }
  .service-icon { width:1.5rem; height:1.5rem; }
  .service-card h3 { font-size:1rem; }
  .service-card p { font-size:.86rem; line-height:1.62; }
  .service-code { margin-left:3.65rem; font-size:.53rem; }
  .service-card::before { left:-30px; width:30px; }
  .service-card::after { left:-36px; }
  .services-stage-foot { padding-left:45px; display:grid; grid-template-columns:repeat(2,1fr); font-size:.54rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .service-icon-wrap, .service-card p, .rail-node { transition:none; }
  .service-card { --sx:0 !important; --sy:0 !important; --ss:1 !important; --sr:0deg !important; --so:1 !important; --sb:0 !important; }
}

/* ---------------------------------------------------
   Page 3 / Interactive product process
--------------------------------------------------- */
.capabilities.process-section {
  position: relative;
  overflow: clip;
  background: var(--white);
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.process-intro {
  max-width: 760px;
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}

.process-experience {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 650px;
  isolation: isolate;
}

.process-experience::before,
.process-experience::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.process-experience::before {
  width: min(48vw, 560px);
  height: min(48vw, 560px);
  right: -16vw;
  top: 4%;
  border: 1px solid rgba(24,33,43,.045);
  border-radius: 50%;
  transform: translateY(calc(var(--process-scroll, 0) * -20px));
}

.process-experience::after {
  right: 4%;
  top: 11%;
  width: 42%;
  height: 70%;
  opacity: .45;
  background-image: linear-gradient(rgba(24,33,43,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(24,33,43,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  transform: translate3d(calc(var(--process-scroll, 0) * 12px), calc(var(--process-scroll, 0) * -10px), 0);
}

.process-timeline {
  position: relative;
  align-self: stretch;
  padding: .15rem 0;
}

.process-rail {
  position: absolute;
  left: 33px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: #e3e7ea;
  overflow: visible;
}

.process-rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: var(--process-fill, 0%);
  background: linear-gradient(to bottom, #ff6a00, #ff9a4d);
  transform-origin: top;
  transition: height .55s cubic-bezier(.22,.61,.36,1);
}

.process-rail-node {
  position: absolute;
  left: 50%;
  top: var(--process-node, 0%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255,106,0,.08), 0 0 20px rgba(255,106,0,.24);
  transform: translate(-50%, -50%);
  transition: top .55s cubic-bezier(.22,.61,.36,1);
}

.process-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-nav-item { margin: 0; padding: 0; }

.process-nav-button {
  appearance: none;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 1.05rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #69747e;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.process-nav-index {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid #dfe3e6;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  color: #7c8790;
  font: 700 .98rem var(--font-display);
  letter-spacing: .02em;
  box-shadow: 0 1px 0 rgba(24,33,43,.02);
  transition: color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.22,.61,.36,1), background .35s ease;
}

.process-nav-title {
  font: 650 1.05rem var(--font-display);
  letter-spacing: -.01em;
  transition: color .35s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}

.process-nav-button:hover .process-nav-index,
.process-nav-button:focus-visible .process-nav-index {
  border-color: rgba(255,106,0,.5);
  color: var(--orange);
  transform: translateY(-2px);
}

.process-nav-button:hover .process-nav-title,
.process-nav-button:focus-visible .process-nav-title {
  color: var(--text);
  transform: translateX(3px);
}

.process-nav-button.is-active .process-nav-index {
  color: var(--orange);
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255,106,0,.055), 0 9px 24px rgba(255,106,0,.13);
  transform: scale(1.03);
}

.process-nav-button.is-active .process-nav-title { color: var(--text); }

.process-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 2rem clamp(.5rem, 2vw, 2rem) 2rem 0;
  outline: none;
}

.process-stage-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: .8rem;
}

.process-stage-number {
  display: block;
  color: #e9edef;
  font: 800 clamp(1rem, 1.6vw, 1.25rem) var(--font-display);
  letter-spacing: .02em;
  transition: color .45s ease;
}

.process-stage-line {
  width: 42px;
  height: 1px;
  background: #e4e8eb;
}

.process-stage-icon {
  position: absolute;
  top: 13%;
  right: 10%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--orange);
  opacity: .86;
  transform: translate3d(calc(var(--process-scroll, 0) * 10px), calc(var(--process-scroll, 0) * -14px), 0) rotate(var(--process-icon-rotate, 0deg));
  transition: opacity .45s ease, transform .75s cubic-bezier(.22,.61,.36,1);
}

.process-stage-icon svg { width: 100%; height: 100%; overflow: visible; }
.process-stage-icon .draw { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.process-stage-icon .fill { fill: currentColor; opacity: .08; stroke: none; }

.process-stage-copy {
  max-width: 680px;
  transition: opacity .28s ease, transform .45s cubic-bezier(.22,.61,.36,1), filter .45s ease;
}

.process-stage.is-changing .process-stage-copy {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(5px);
}

.process-stage-eyebrow {
  margin: 0 0 .8rem;
  color: #a7b0b7;
  font: 650 .62rem var(--font-body);
  letter-spacing: .16em;
}

.process-stage h3 {
  margin: 0 0 1rem;
  color: var(--text);
  font: 750 clamp(2.4rem, 5vw, 4.9rem)/.98 var(--font-display);
  letter-spacing: -.055em;
}

.process-stage-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #879199;
  font-size: clamp(.98rem, 1.45vw, 1.15rem);
  line-height: 1.7;
}

.process-stage-mark {
  position: absolute;
  right: 5%;
  bottom: 10%;
  display: flex;
  gap: 7px;
  opacity: .42;
}

.process-stage-mark span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}
.process-stage-mark span:nth-child(2) { opacity: .5; transform: translateY(-7px); }
.process-stage-mark span:nth-child(3) { opacity: .25; transform: translateY(-14px); }

.process-experience[data-active-step="1"] .process-stage-number,
.process-experience[data-active-step="2"] .process-stage-number,
.process-experience[data-active-step="3"] .process-stage-number,
.process-experience[data-active-step="4"] .process-stage-number { color: #e2e7ea; }

.process-experience[data-active-step="1"] .process-stage-icon { --process-icon-rotate: -4deg; }
.process-experience[data-active-step="2"] .process-stage-icon { --process-icon-rotate: 3deg; }
.process-experience[data-active-step="3"] .process-stage-icon { --process-icon-rotate: -2deg; }
.process-experience[data-active-step="4"] .process-stage-icon { --process-icon-rotate: 4deg; }

@media (max-width: 900px) {
  .process-experience {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 3rem;
    min-height: 590px;
  }
  .process-nav { min-height: 590px; }
  .process-nav-button { grid-template-columns: 58px minmax(0, 1fr); gap: .75rem; }
  .process-nav-index { width: 58px; height: 58px; border-radius: 14px; font-size: .88rem; }
  .process-rail { left: 28px; top: 29px; bottom: 29px; }
  .process-nav-title { font-size: .94rem; }
  .process-stage-icon { right: 4%; top: 10%; }
}

@media (max-width: 640px) {
  .capabilities.process-section { padding-top: 4.5rem; padding-bottom: 5.5rem; }
  .process-intro { margin-bottom: 3rem; }
  .process-experience {
    display: block;
    min-height: 0;
  }
  .process-timeline {
    padding: 0 0 1.5rem;
  }
  .process-rail {
    left: 29px;
    top: 29px;
    bottom: auto;
    height: 1px;
    width: calc(100% - 58px);
  }
  .process-rail-fill {
    width: var(--process-fill, 0%);
    height: 2px;
    max-width: 100%;
  }
  .process-rail-node {
    top: 50%;
    left: var(--process-node, 0%);
  }
  .process-nav {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .45rem;
  }
  .process-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    text-align: center;
  }
  .process-nav-index { width: 58px; height: 58px; border-radius: 14px; }
  .process-nav-title { font-size: .72rem; line-height: 1.2; }
  .process-stage {
    min-height: 470px;
    padding: 3.2rem 0 2rem;
    justify-content: flex-start;
  }
  .process-stage-icon { top: 2rem; right: .25rem; width: 46px; height: 46px; }
  .process-stage h3 { font-size: clamp(2.55rem, 14vw, 4rem); padding-right: 3.5rem; }
  .process-stage-copy > p:last-child { font-size: .96rem; line-height: 1.65; }
  .process-stage-mark { right: .3rem; bottom: 1rem; }
  .process-experience::before { width: 90vw; height: 90vw; right: -45vw; top: 24%; }
  .process-experience::after { width: 85%; right: -20%; top: 25%; }
}

@media (prefers-reduced-motion: reduce) {
  .process-rail-fill,
  .process-rail-node,
  .process-nav-index,
  .process-nav-title,
  .process-stage-copy,
  .process-stage-icon,
  .process-experience::before,
  .process-experience::after { transition: none !important; transform: none !important; filter: none !important; }
}

/* ---------------------------------------------------
   Page 3 / pinned scroll storytelling
   IMPORTANT: scoped only to #capabilities so Page 2 remains untouched.
--------------------------------------------------- */
#capabilities.process-section {
  --process-sticky-top: 68px;
  width: 100%;
  max-width: none;
  min-height: 430svh;
  margin: 0;
  padding: clamp(4.5rem, 9vw, 7.5rem) max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem)) 0;
  overflow: clip;
}

#capabilities.process-section .process-intro {
  width: min(100%, 760px);
  margin: 0 auto clamp(3rem, 7vw, 5rem);
}

#capabilities.process-section .process-experience {
  position: sticky;
  top: var(--process-sticky-top);
  width: min(100%, var(--max-width));
  height: calc(100svh - var(--process-sticky-top));
  min-height: 560px;
  margin: 0 auto;
  padding-bottom: 2rem;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr);
  align-items: center;
}

#capabilities.process-section .process-timeline,
#capabilities.process-section .process-nav {
  height: 100%;
  min-height: 0;
}

#capabilities.process-section .process-nav {
  padding: 2rem 0;
}

#capabilities.process-section .process-stage {
  height: 100%;
  min-height: 0;
}

#capabilities.process-section .process-stage-copy {
  will-change: opacity, transform, filter;
}

@media (max-width: 900px) {
  #capabilities.process-section {
    min-height: 430svh;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  #capabilities.process-section .process-experience {
    grid-template-columns: 190px minmax(0, 1fr);
    height: calc(100svh - var(--process-sticky-top));
    min-height: 520px;
  }

  #capabilities.process-section .process-nav {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  #capabilities.process-section {
    --process-sticky-top: 62px;
    min-height: 520svh;
    padding-top: 4rem;
  }

  #capabilities.process-section .process-intro {
    margin-bottom: 2.5rem;
  }

  #capabilities.process-section .process-experience {
    height: calc(100svh - var(--process-sticky-top));
    min-height: 560px;
  }

  #capabilities.process-section .process-stage {
    min-height: 0;
  }

  #capabilities.process-section .process-nav {
    padding: 1rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #capabilities.process-section .process-stage-copy,
  #capabilities.process-section .process-nav-index,
  #capabilities.process-section .process-nav-title,
  #capabilities.process-section .process-rail-fill,
  #capabilities.process-section .process-rail-node {
    transition: none !important;
  }
}

/* ---------------------------------------------------
   Final interaction tuning
   Page 2: deliberate scroll-to-reveal.
--------------------------------------------------- */
#services.services-story .service-card {
  --service-reveal: 0;
  --sx: 0;
  --sy: 34px;
  --ss: .985;
  --so: 0;
  --sb: 2px;
  transform: translate3d(var(--sx), calc((1 - var(--service-reveal)) * var(--sy)), 0) scale(var(--ss)) rotate(var(--sr, 0deg));
  opacity: var(--so);
  filter: blur(var(--sb));
  pointer-events: none;
}
#services.services-story .service-card.is-visible {
  --so: 1;
  --sb: 0px;
  pointer-events: auto;
}
#services.services-story .service-card.is-active {
  --ss: 1.018;
}
#services.services-story .service-card--2,
#services.services-story .service-card--3,
#services.services-story .service-card--4,
#services.services-story .service-card--5,
#services.services-story .service-card--6,
#services.services-story .service-card--7 {
  --sy: 42px;
}

@media (max-width: 620px) {
  #services.services-story .service-card,
  #services.services-story .service-card--2,
  #services.services-story .service-card--3,
  #services.services-story .service-card--4,
  #services.services-story .service-card--5,
  #services.services-story .service-card--6,
  #services.services-story .service-card--7 {
    --sy: 24px;
    --sx: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #services.services-story .service-card,
  #services.services-story .service-card.is-visible {
    --so: 1 !important;
    --sb: 0 !important;
    --sy: 0 !important;
    transform: none !important;
    pointer-events: auto;
  }
}

/* Page 3 remains visually fixed while the user advances through four discrete stages. */
#capabilities.process-section .process-experience {
  overscroll-behavior: contain;
}

#capabilities.process-section .process-stage-copy {
  transition: opacity .24s ease, transform .38s cubic-bezier(.22,.61,.36,1), filter .38s ease;
}

#capabilities.process-section .process-stage.is-changing .process-stage-copy {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
}

@media (prefers-reduced-motion: reduce) {
  #capabilities.process-section .process-stage-copy,
  #capabilities.process-section .process-stage.is-changing .process-stage-copy {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}


/* =========================================================
   Rhenium — FINAL TWO PAGES ONLY
   These rules are intentionally scoped to #about, #contact and
   .site-footer so earlier pages retain their existing styling.
========================================================= */

/* ---------------- ABOUT / LAB EXPERIENCE ---------------- */
#about.about-premium {
  --about-orange: var(--orange);
  --about-ink: #101923;
  --about-muted: #66717d;
  --about-line: rgba(16,25,35,.13);
  position: relative;
  min-height: 380vh;
  padding: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,106,0,.055), transparent 25%),
    linear-gradient(90deg, #f7f8f9 0%, #fff 54%, #f4f6f7 100%);
  overflow: clip;
}

#about .about-premium-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

#about .about-premium-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(rgba(20,31,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,31,42,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

#about .about-premium-grid {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  min-height: min(760px, 88vh);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px,.78fr) minmax(560px,1.22fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
}

#about .about-premium-intro {
  position: relative;
  padding: 26px 0 40px;
}

#about .about-premium-intro .kicker {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  color: var(--about-orange);
  letter-spacing: .16em;
}

#about .about-premium-intro h2 {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--about-ink);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.045em;
}

#about .about-premium-intro > p:not(.kicker) {
  position: relative;
  z-index: 2;
  max-width: 570px;
  color: #56616c;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

#about .about-orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  left: -92px;
  top: -106px;
  pointer-events: none;
  opacity: .72;
}

#about .about-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,106,0,.15);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(.43);
}

#about .about-orbit-ring-a { animation: aboutOrbitA 11s linear infinite; }
#about .about-orbit-ring-b { inset: 28px; border-color: rgba(17,29,41,.09); transform: rotate(35deg) scaleY(.43); animation: aboutOrbitB 8s linear infinite reverse; }

#about .about-orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  left: 50%;
  top: 50%;
  margin: -3.5px;
  border-radius: 50%;
  background: var(--about-orange);
  box-shadow: 0 0 22px rgba(255,106,0,.55);
}

#about .about-orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: rgba(16,25,35,.35);
  font: 700 11px/1 var(--font-display);
  letter-spacing: .16em;
}

#about .about-progress-readout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(360px,100%);
  margin-top: 34px;
  padding-top: 15px;
  border-top: 1px solid var(--about-line);
  color: #8a949d;
  font: 700 10px/1 var(--font-display);
  letter-spacing: .14em;
}

#about .about-progress-readout strong {
  margin-left: auto;
  color: var(--about-ink);
  font-size: 13px;
}

#about .about-experience {
  position: relative;
  min-width: 0;
  min-height: 680px;
  display: grid;
  grid-template-columns: 220px minmax(300px,1fr);
  grid-template-rows: auto 1fr;
  column-gap: 48px;
  align-items: center;
}

#about .about-experience-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  color: #929ba4;
  font: 700 9px/1 var(--font-display);
  letter-spacing: .16em;
}

#about .about-scroll-note {
  color: var(--about-orange);
}

#about .about-timeline {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 0;
}

#about .about-timeline-track,
#about .about-timeline-progress {
  position: absolute;
  z-index: 0;
  left: 26px;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: rgba(16,25,35,.13);
}

#about .about-timeline-progress {
  height: calc(var(--about-progress, 0) * (100% - 96px));
  bottom: auto;
  background: var(--about-orange);
  box-shadow: 0 0 10px rgba(255,106,0,.24);
  transition: height .65s cubic-bezier(.22,.7,.25,1);
}

#about .about-step {
  position: relative;
  z-index: 1;
  min-height: 128px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: #89939d;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

#about .about-step-index {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16,25,35,.15);
  border-radius: 15px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 5px 18px rgba(16,25,35,.035);
  color: #7e8993;
  font: 800 12px/1 var(--font-display);
  letter-spacing: .05em;
  transition: transform .45s cubic-bezier(.22,.7,.25,1), border-color .45s, color .45s, box-shadow .45s, background .45s;
}

#about .about-step-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform .45s cubic-bezier(.22,.7,.25,1), color .45s;
}

#about .about-step-copy b {
  color: #6c7782;
  font: 700 15px/1.15 var(--font-display);
}

#about .about-step-copy small {
  font: 700 8px/1.2 var(--font-display);
  letter-spacing: .12em;
  color: #a3abb2;
}

#about .about-step:hover .about-step-index,
#about .about-step:focus-visible .about-step-index {
  transform: translateX(4px);
  border-color: rgba(255,106,0,.45);
}

#about .about-step.is-active .about-step-index {
  transform: translateX(4px) scale(1.08);
  border-color: var(--about-orange);
  color: var(--about-orange);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,106,0,.07), 0 12px 28px rgba(255,106,0,.13);
}

#about .about-step.is-active .about-step-copy { transform: translateX(5px); }
#about .about-step.is-active .about-step-copy b { color: var(--about-ink); }
#about .about-step.is-active .about-step-copy small { color: var(--about-orange); }

#about .about-stage {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  min-height: 530px;
  padding: clamp(30px,4vw,54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(16,25,35,.1);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,249,250,.88)),
    #fff;
  box-shadow: 0 28px 80px rgba(16,25,35,.08);
  overflow: hidden;
  isolation: isolate;
}

#about .about-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 74% 26%, rgba(255,106,0,.09), transparent 27%);
  transition: opacity .5s;
}

#about .about-stage-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

#about .about-stage-number {
  color: var(--about-ink);
  font: 800 clamp(3.2rem,6vw,6.4rem)/.8 var(--font-display);
  letter-spacing: -.08em;
  transition: opacity .3s, transform .55s cubic-bezier(.22,.7,.25,1);
}

#about .about-stage-label {
  color: var(--about-orange);
  font: 700 9px/1 var(--font-display);
  letter-spacing: .17em;
}

#about .about-stage-visual {
  position: absolute;
  right: 7%;
  top: 23%;
  width: 56%;
  aspect-ratio: 1.2;
  pointer-events: none;
  transition: transform .8s cubic-bezier(.22,.7,.25,1);
}

#about .about-tech-grid {
  position: absolute;
  inset: 8%;
  opacity: .6;
  background-image: linear-gradient(rgba(16,25,35,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(16,25,35,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

#about .about-board {
  position: absolute;
  left: 15%;
  top: 20%;
  width: 65%;
  height: 54%;
  border: 1px solid rgba(16,25,35,.18);
  border-radius: 12px;
  transform: rotate(-7deg) perspective(500px) rotateX(52deg);
  background: linear-gradient(145deg,#eef2f3,#dfe5e8);
  box-shadow: 14px 18px 0 rgba(16,25,35,.035), 0 30px 45px rgba(16,25,35,.09);
}

#about .about-board::before,
#about .about-board::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,106,0,.38);
  border-radius: 50%;
}

#about .about-board::before { width: 8px;height:8px;left:12%;top:20%; box-shadow: 120px 28px 0 -1px rgba(255,106,0,.45), 210px 74px 0 -1px rgba(255,106,0,.35); }
#about .about-board::after { width: 5px;height:5px;right:11%;bottom:18%; }

#about .about-board-chip {
  position: absolute;
  left: 39%;
  top: 33%;
  width: 25%;
  height: 30%;
  border-radius: 4px;
  background: #18232d;
  box-shadow: inset 0 0 0 3px #303d47, 0 5px 14px rgba(16,25,35,.25);
}

#about .about-board-chip::after {
  content: "RE";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: rgba(255,255,255,.65);
  font: 700 8px/1 var(--font-display);
  letter-spacing: .12em;
}

#about .about-board-line {
  position: absolute;
  height: 1px;
  background: var(--about-orange);
  opacity: .65;
  transform-origin: left;
}

#about .line-a { left: 7%; top: 49%; width: 32%; transform: rotate(10deg); }
#about .line-b { left: 64%; top: 48%; width: 27%; transform: rotate(-15deg); }
#about .line-c { left: 48%; top: 62%; width: 26%; transform: rotate(73deg); }

#about .about-stage-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--about-orange);
  box-shadow: 0 0 0 0 rgba(255,106,0,.35);
  animation: aboutPulse 2.2s ease-out infinite;
}

#about .about-stage-content {
  position: relative;
  z-index: 2;
  max-width: 74%;
  margin-top: auto;
}

#about .about-stage-content h3 {
  margin: 0 0 13px;
  color: var(--about-ink);
  font: 700 clamp(1.8rem,3vw,3.1rem)/1 var(--font-display);
  letter-spacing: -.04em;
}

#about .about-stage-content p {
  margin: 0 0 18px;
  color: #5d6872;
  font-size: 1rem;
  line-height: 1.65;
}

#about .about-stage-meta {
  color: #9aa3ab;
  font: 700 9px/1 var(--font-display);
  letter-spacing: .16em;
}

#about.about-premium.about-changing .about-stage-number,
#about.about-premium.about-changing .about-stage-content {
  animation: aboutStageSwap .55s cubic-bezier(.22,.7,.25,1);
}

@keyframes aboutStageSwap {
  0% { opacity: .15; transform: translateY(16px); filter: blur(7px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes aboutPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,106,0,.34); }
  70% { box-shadow: 0 0 0 24px rgba(255,106,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); }
}
@keyframes aboutOrbitA { to { transform: rotate(342deg) scaleY(.43); } }
@keyframes aboutOrbitB { to { transform: rotate(-325deg) scaleY(.43); } }


/* ---------------- CONTACT / FINAL MOMENT ---------------- */
#contact.contact-premium {
  --contact-orange: var(--orange);
  --contact-bg: #0a1118;
  position: relative;
  min-height: 100vh;
  padding: clamp(80px,10vw,150px) 32px 90px;
  color: var(--text-on-dark);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,106,0,.12), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(75,112,132,.1), transparent 28%),
    linear-gradient(135deg,#071018 0%,#0c151e 55%,#071018 100%);
  isolation: isolate;
}

#contact .contact-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

#contact .contact-ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(154,179,195,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(154,179,195,.07) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

#contact .contact-ambient::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.5), transparent);
  transform: translateY(calc(var(--contact-pointer-y,0px) * .05));
}

#contact .contact-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  transform: rotate(-20deg) scaleY(.45);
}
#contact .orbit-one { width: 700px;height:700px;right:-270px;top:-220px; }
#contact .orbit-two { width: 440px;height:440px;right:-120px;top:-70px;border-color:rgba(255,106,0,.16); }

#contact .contact-signal {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,106,0,.7);
  border-radius: 50%;
  background: #0a1118;
  box-shadow: 0 0 0 7px rgba(255,106,0,.04);
}
#contact .signal-one { right: 25%; top: 24%; animation: contactSignal 3s ease-in-out infinite; }
#contact .signal-two { left: 17%; bottom: 20%; animation: contactSignal 3.8s ease-in-out infinite reverse; }

#contact .contact-crosshair {
  position: absolute;
  width: 56px;height:56px;
  right: 12%; bottom: 18%;
  border: 1px solid rgba(255,106,0,.25);
  border-radius: 50%;
}
#contact .contact-crosshair::before,#contact .contact-crosshair::after { content:"";position:absolute;background:rgba(255,106,0,.28); }
#contact .contact-crosshair::before { width:78px;height:1px;left:-12px;top:27px; }
#contact .contact-crosshair::after { width:1px;height:78px;left:27px;top:-12px; }

#contact .contact-premium-inner {
  position: relative;
  z-index: 2;
  width: min(1240px,100%);
  margin: 0 auto;
  grid-template-columns: minmax(0,1.08fr) minmax(400px,.92fr);
  gap: clamp(60px,9vw,150px);
  align-items: start;
}

#contact .contact-premium-copy {
  padding-top: 20px;
}

#contact .contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.48);
  font: 700 9px/1 var(--font-display);
  letter-spacing: .18em;
}
#contact .contact-eyebrow span { width: 28px;height:1px;background:var(--contact-orange); box-shadow:0 0 10px rgba(255,106,0,.5); }

#contact .contact-premium-copy .kicker { color:var(--contact-orange); margin-bottom:18px; }

#contact .contact-premium-copy h2 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font: 700 clamp(3.3rem,7vw,7.6rem)/.87 var(--font-display);
  letter-spacing: -.065em;
}

#contact .contact-premium-copy h2 em {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.55);
  font-style: normal;
}

#contact .contact-lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: rgba(232,239,244,.65);
  font-size: clamp(1rem,1.3vw,1.15rem);
  line-height: 1.7;
}

#contact .contact-premium-details {
  max-width: 640px;
  margin-top: 48px;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

#contact .contact-premium-details > div {
  position: relative;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.11);
}

#contact .contact-premium-details dt { color:rgba(255,255,255,.38); }
#contact .contact-premium-details dd { color:#fff; font-size:.85rem; }

#contact .contact-status-line {
  display:flex;
  align-items:center;
  gap:10px;
  max-width:640px;
  margin-top:38px;
  color:rgba(255,255,255,.38);
  font:700 8px/1 var(--font-display);
  letter-spacing:.14em;
}
#contact .status-dot { width:6px;height:6px;border-radius:50%;background:var(--contact-orange);box-shadow:0 0 12px rgba(255,106,0,.8); }
#contact .status-line { flex:1;height:1px;background:rgba(255,255,255,.1); }

#contact .contact-form-wrap {
  position: relative;
  padding: clamp(28px,4vw,46px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: 0 35px 100px rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}
#contact .contact-form-wrap::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(255,106,0,.48),transparent 24%,transparent 72%,rgba(255,255,255,.08));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}
#contact .contact-form-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:32px;
  color:rgba(255,255,255,.45);
}
#contact .contact-form-heading span { color:var(--contact-orange); font:800 13px/1 var(--font-display); }
#contact .contact-form-heading p { margin:0;font:700 9px/1 var(--font-display);letter-spacing:.15em; }

#contact .contact-premium-form { gap:24px; }
#contact .contact-premium-form label { gap:9px; color:rgba(255,255,255,.5); font:700 9px/1 var(--font-display);letter-spacing:.12em; }
#contact .contact-premium-form .field-shell { position:relative; }
#contact .contact-premium-form input,
#contact .contact-premium-form textarea {
  width:100%;
  box-sizing:border-box;
  padding:15px 0 13px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.17);
  border-radius:0;
  background:transparent;
  color:#fff;
  font:500 16px/1.45 var(--font-body);
  transition:border-color .3s, box-shadow .3s;
}
#contact .contact-premium-form textarea { min-height:110px; }
#contact .contact-premium-form .field-shell i {
  position:absolute;
  left:0;bottom:0;
  width:0;height:1px;
  background:var(--contact-orange);
  box-shadow:0 0 10px rgba(255,106,0,.5);
  transition:width .45s cubic-bezier(.22,.7,.25,1);
}
#contact .contact-premium-form input:focus,
#contact .contact-premium-form textarea:focus { outline:0;border-color:rgba(255,255,255,.08); }
#contact .contact-premium-form input:focus + i,
#contact .contact-premium-form textarea:focus + i { width:100%; }

#contact .contact-submit-row {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-top:10px;
}
#contact .contact-submit-row p {
  max-width:190px;
  margin:0;
  color:rgba(255,255,255,.35);
  font-size:.78rem;
  line-height:1.5;
}
#contact .contact-submit {
  flex:0 0 auto;
  border:1px solid rgba(255,106,0,.7);
  box-shadow:0 0 0 rgba(255,106,0,0);
  transition:transform .35s,box-shadow .35s,background .35s;
}
#contact .contact-submit:hover {
  transform:translate3d(0,-3px,0);
  box-shadow:0 14px 40px rgba(255,106,0,.2);
}
#contact .form-status { margin-top:2px; }

@keyframes contactSignal {
  0%,100% { transform:translate3d(0,0,0); opacity:.45; }
  50% { transform:translate3d(0,-10px,0); opacity:1; }
}


/* ---------------- FOOTER / FINAL FRAME ---------------- */
.site-footer.site-footer-premium {
  position:relative;
  min-height:310px;
  padding:70px 32px 28px;
  overflow:hidden;
  background:#050a0f;
  border-top:1px solid rgba(255,255,255,.08);
}
.site-footer-premium .footer-ambient {
  position:absolute;inset:0;pointer-events:none;overflow:hidden;
}
.site-footer-premium .footer-ambient span {
  position:absolute;
  width:1px;height:150%;
  top:-25%;
  background:linear-gradient(transparent,rgba(255,106,0,.28),transparent);
  transform:rotate(34deg);
  opacity:.4;
}
.site-footer-premium .footer-ambient span:nth-child(1){left:18%}
.site-footer-premium .footer-ambient span:nth-child(2){left:53%;opacity:.18}
.site-footer-premium .footer-ambient span:nth-child(3){left:86%;opacity:.14}

.site-footer-premium .footer-premium-top {
  position:relative;
  z-index:1;
  width:min(1240px,100%);
  min-height:130px;
  margin:0 auto 52px;
  display:grid;
  grid-template-columns:1.3fr .7fr 1fr auto;
  align-items:start;
  gap:30px;
}
.site-footer-premium .footer-premium-brand {
  display:flex;
  align-items:center;
  width:max-content;
}
.site-footer-premium .footer-premium-brand .brand-name { font-size:1.1rem;letter-spacing:.16em; }
.site-footer-premium .footer-tagline {
  color:rgba(255,255,255,.38);
  font:700 10px/1.35 var(--font-display);
  letter-spacing:.14em;
}
.site-footer-premium .footer-tagline span { color:#fff; }
.site-footer-premium .footer-nav { justify-content:flex-start; gap:11px 22px; }
.site-footer-premium .footer-nav a {
  position:relative;
  color:rgba(255,255,255,.52);
  font:600 11px/1.2 var(--font-display);
  letter-spacing:.06em;
  transition:color .25s,transform .25s;
}
.site-footer-premium .footer-nav a::before { content:"/";margin-right:7px;color:var(--orange);opacity:.7; }
.site-footer-premium .footer-nav a:hover { color:#fff;transform:translateX(3px); }
.site-footer-premium .footer-social { justify-content:flex-end; }
.site-footer-premium .footer-social a {
  width:38px;height:38px;
  border-color:rgba(255,255,255,.12);
  color:rgba(255,255,255,.5);
  transition:transform .3s,border-color .3s,color .3s,background .3s;
}
.site-footer-premium .footer-social a:hover { transform:translateY(-4px);background:rgba(255,106,0,.08); }

.site-footer-premium .footer-premium-bottom {
  position:relative;
  z-index:1;
  width:min(1240px,100%);
  margin:0 auto;
  padding:18px 0 0;
  border-top:1px solid rgba(255,255,255,.1);
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto;
  align-items:center;
  gap:15px;
}
.site-footer-premium .footer-premium-bottom .rule { background:rgba(255,255,255,.12);opacity:1; }
.site-footer-premium .footer-index,
.site-footer-premium .footer-top-link {
  color:rgba(255,255,255,.32);
  font:700 8px/1 var(--font-display);
  letter-spacing:.14em;
}
.site-footer-premium .footer-top-link { text-decoration:none;transition:color .25s; }
.site-footer-premium .footer-top-link:hover { color:var(--orange); }
.site-footer-premium .footer-brand-line { color:rgba(255,255,255,.48);font-size:9px; }
.site-footer-premium .footer-copy { position:relative;z-index:1;margin-top:22px;color:rgba(255,255,255,.26);font-size:10px; }

@media (max-width: 1050px) {
  #about .about-premium-grid { grid-template-columns: .7fr 1.3fr;gap:45px;width:min(100% - 40px,1000px); }
  #about .about-experience { grid-template-columns:180px minmax(280px,1fr);column-gap:28px; }
  #about .about-step { grid-template-columns:48px 1fr; }
  #about .about-step-index { width:48px;height:48px; }
  #contact .contact-premium-inner { gap:55px; }
  .site-footer-premium .footer-premium-top { grid-template-columns:1fr 1fr; }
}

@media (max-width: 820px) {
  #about.about-premium { min-height: auto; }
  #about .about-premium-sticky { position:relative;min-height:auto;padding:100px 0 90px; }
  #about .about-premium-grid { width:min(100% - 36px,680px);grid-template-columns:1fr;gap:52px; }
  #about .about-premium-intro { padding-top:10px; }
  #about .about-premium-intro h2 { font-size:clamp(2.6rem,9vw,4.5rem); }
  #about .about-orbit { left:auto;right:-100px;top:-70px;transform:scale(.8); }
  #about .about-experience { min-height:auto;display:block;padding-top:36px; }
  #about .about-experience-head { top:0; }
  #about .about-timeline { margin-top:30px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px; }
  #about .about-timeline-track,
  #about .about-timeline-progress { left:7%;right:7%;top:26px;bottom:auto;width:auto;height:1px; }
  #about .about-timeline-progress { width:calc(var(--about-progress,0) * 86%);height:1px; }
  #about .about-step { min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;padding:0;text-align:center; }
  #about .about-step-index { width:52px;height:52px; }
  #about .about-step-copy b { font-size:11px;line-height:1.2; }
  #about .about-step-copy small { display:none; }
  #about .about-step.is-active .about-step-copy { transform:none; }
  #about .about-step.is-active .about-step-index { transform:scale(1.06); }
  #about .about-stage { min-height:500px;margin-top:34px;padding:30px;border-radius:22px; }
  #about .about-stage-visual { right:0;top:21%;width:68%; }
  #about .about-stage-content { max-width:100%; }
  #contact.contact-premium { padding:90px 20px 70px; }
  #contact .contact-premium-inner { grid-template-columns:1fr;gap:60px; }
  #contact .contact-premium-copy h2 { font-size:clamp(3rem,12vw,5.5rem); }
  #contact .contact-premium-details { grid-template-columns:1fr 1fr; }
  #contact .contact-form-wrap { max-width:620px; }
  .site-footer.site-footer-premium { padding:58px 20px 24px; }
  .site-footer-premium .footer-premium-top { grid-template-columns:1fr 1fr;gap:34px 20px; }
  .site-footer-premium .footer-social { justify-content:flex-start; }
  .site-footer-premium .footer-premium-bottom { grid-template-columns:auto 1fr auto; }
  .site-footer-premium .footer-premium-bottom .rule:first-of-type,
  .site-footer-premium .footer-premium-bottom .rule:last-of-type { display:none; }
}

@media (max-width: 560px) {
  #about .about-premium-sticky { padding:78px 0 70px; }
  #about .about-premium-grid { width:calc(100% - 28px);gap:38px; }
  #about .about-premium-intro h2 { font-size:clamp(2.35rem,13vw,3.5rem); }
  #about .about-premium-intro > p:not(.kicker) { font-size:.93rem;line-height:1.65; }
  #about .about-progress-readout { margin-top:25px; }
  #about .about-timeline { gap:2px; }
  #about .about-step { min-height:72px; }
  #about .about-step-index { width:45px;height:45px;border-radius:12px;font-size:10px; }
  #about .about-step-copy b { font-size:9px; }
  #about .about-stage { min-height:455px;padding:24px; }
  #about .about-stage-number { font-size:4rem; }
  #about .about-stage-label { font-size:7px; }
  #about .about-stage-visual { top:18%;width:90%;right:-15%;opacity:.8; }
  #about .about-stage-content h3 { font-size:1.8rem; }
  #about .about-stage-content p { font-size:.9rem; }
  #contact .contact-premium-copy h2 { font-size:clamp(2.7rem,15vw,4.3rem); }
  #contact .contact-premium-details { grid-template-columns:1fr 1fr;gap:16px 10px; }
  #contact .contact-premium-details dd { font-size:.74rem;overflow-wrap:anywhere; }
  #contact .contact-submit-row { flex-direction:column;align-items:stretch; }
  #contact .contact-submit { width:100%; }
  .site-footer-premium .footer-premium-top { grid-template-columns:1fr;gap:28px; }
  .site-footer-premium .footer-nav { display:grid;grid-template-columns:1fr 1fr; }
  .site-footer-premium .footer-premium-bottom { display:flex;flex-wrap:wrap;justify-content:space-between; }
  .site-footer-premium .footer-brand-line { width:100%;order:3;text-align:center; }
  .site-footer-premium .footer-copy { line-height:1.5; }
}

@media (prefers-reduced-motion: reduce) {
  #about .about-orbit-ring,
  #about .about-stage-pulse,
  #contact .contact-signal { animation:none; }
  #about .about-step-index,
  #about .about-step-copy,
  #about .about-stage-number,
  #about .about-stage-content { transition:none; }
  #about.about-premium.about-changing .about-stage-number,
  #about.about-premium.about-changing .about-stage-content { animation:none; }
}


/* One-time entrances for the final two pages. */
#contact .contact-premium-copy,
#contact .contact-form-wrap,
.site-footer-premium .footer-premium-top,
.site-footer-premium .footer-premium-bottom,
.site-footer-premium .footer-copy {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.22,.7,.25,1), transform .85s cubic-bezier(.22,.7,.25,1);
}
#contact.contact-entered .contact-premium-copy { opacity:1;transform:none;transition-delay:.05s; }
#contact.contact-entered .contact-form-wrap { opacity:1;transform:none;transition-delay:.18s; }
.site-footer-premium .footer-premium-top { transition-delay:.04s; }
.site-footer-premium .footer-premium-bottom { transition-delay:.14s; }
.site-footer-premium .footer-copy { transition-delay:.22s; }
.site-footer-premium.footer-entered .footer-premium-top,
.site-footer-premium.footer-entered .footer-premium-bottom,
.site-footer-premium.footer-entered .footer-copy { opacity:1;transform:none; }

@media (prefers-reduced-motion: reduce) {
  #contact .contact-premium-copy,
  #contact .contact-form-wrap,
  .site-footer-premium .footer-premium-top,
  .site-footer-premium .footer-premium-bottom,
  .site-footer-premium .footer-copy {
    opacity:1;transform:none;transition:none;
  }
}

/* ================================================================
   RHENIUM LIGHT PRODUCT EXPERIENCE
   Inspired by the clean, editorial product storytelling language
   requested for the new site: white canvas, soft neutrals, black
   typography and restrained orange accents.
================================================================ */
:root {
  --white: #ffffff;
  --charcoal: #111820;
  --charcoal-raised: #f5f7f8;
  --light-gray: #f5f6f7;
  --text-on-light: #111820;
  --text-muted: #66717c;
  --text-on-dark: #111820;
  --text-on-dark-muted: #68747e;
  --border-light: #e4e8eb;
  --border-dark: #d9dfe3;
  --gradient: linear-gradient(90deg, #ff6a00, #ff4d00);
}

body {
  background: #fff;
  color: #111820;
}

/* Header: transparent/white, premium sticky navigation */
.site-header {
  background: rgba(255,255,255,.88) !important;
  color: #111820;
  border-bottom: 1px solid rgba(17,24,32,.08) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand-name,
.main-nav a:not(.btn),
.main-nav a:not(.btn):hover,
.main-nav a.active {
  color: #111820 !important;
}
.brand-tagline { color: var(--orange); }
.nav-toggle span { background: #111820 !important; }
.mark-white { fill: #111820 !important; }
.mark-orange { fill: var(--orange) !important; }

.btn-ghost {
  color: #111820 !important;
  border-color: #d7dde1 !important;
  background: rgba(255,255,255,.75) !important;
}
.btn-ghost:hover { border-color: var(--orange) !important; background:#fff !important; }

/* New first-screen video hero */
.hero.hero-video {
  min-height: min(900px, 88vh) !important;
  height: min(900px, 88vh) !important;
  max-width: none !important;
  padding: 0 1.5rem !important;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #fff !important;
  color: #111820 !important;
}
.hero-video-media {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #fff;
  mix-blend-mode: multiply;
}
.hero-video-wash {
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.96) 26%,
      rgba(255,255,255,.72) 43%,
      rgba(255,255,255,.16) 70%,
      rgba(255,255,255,0) 100%),
    linear-gradient(0deg,
      rgba(255,255,255,.12),
      rgba(255,255,255,0) 28%,
      rgba(255,255,255,.04));
}
.hero-video-vignette {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background: radial-gradient(circle at 73% 50%, rgba(255,255,255,0), rgba(255,255,255,.16) 70%, rgba(255,255,255,.36) 100%);
}
.hero-video-grid {
  width: min(var(--max-width), 100%);
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(390px, .92fr) minmax(360px, 1.08fr) !important;
  gap: clamp(2rem, 5vw, 6rem) !important;
}
.hero-video-copy {
  max-width: 650px;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.hero-video-copy .kicker {
  display:flex;
  align-items:center;
  gap:.65rem;
  color:#f05a00;
}
.hero-video-copy .kicker::before {
  content:"";
  width:32px;
  height:1px;
  background:var(--orange);
  box-shadow:none;
}
.hero-video-copy h1 {
  max-width: 680px;
  color:#111820 !important;
  font-size:clamp(3rem, 6vw, 5.7rem) !important;
  letter-spacing:-.055em;
  line-height:.98;
}
.hero-video-copy .hero-lede {
  max-width: 54ch;
  color:#5f6b75 !important;
  font-size:clamp(.98rem,1.25vw,1.08rem);
  line-height:1.72;
}
.hero-video-copy .hero-tags span {
  color:#4f5a64 !important;
  border-color:#dce1e5 !important;
  background:rgba(255,255,255,.78) !important;
  backdrop-filter:blur(8px);
}
.hero-video-meta {
  margin-top:clamp(2rem,4vw,4rem);
  padding-top:1rem;
  border-top:1px solid rgba(17,24,32,.1);
  display:flex;
  justify-content:space-between;
  gap:1rem;
  max-width:650px;
  color:#7a858e;
  font:600 .63rem/1 var(--font-display);
  letter-spacing:.16em;
}
.hero-video-meta i {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  margin-right:.45rem;
  background:var(--orange);
  box-shadow:0 0 0 4px rgba(255,106,0,.1);
}
.hero-video-frame {
  position:relative;
  min-height:clamp(300px, 42vw, 520px);
  pointer-events:none;
}
.video-frame-label,
.video-frame-index {
  position:absolute;
  top:0;
  color:#66727b;
  font:600 .62rem/1 var(--font-display);
  letter-spacing:.16em;
}
.video-frame-label { left:0; }
.video-frame-index { right:0; color:#111820; }
.video-frame-line {
  position:absolute;
  top:1.35rem;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, rgba(17,24,32,.14), transparent);
}
.hero-video-scroll {
  position:absolute !important;
  left:50% !important;
  bottom:1.7rem !important;
  transform:translateX(-50%) !important;
  color:#69747e !important;
  z-index:4;
}
.hero-video-scroll .scroll-line { background:linear-gradient(90deg,var(--orange),rgba(255,106,0,.08)); }

/* Remove the previous long pinned WebGL hero behavior. */
.hero.hero-video .hero-grid::before,
.hero.hero-video .hero-grid::after,
.hero.hero-video .hero-beam,
.hero.hero-video .hero-vignette,
.hero.hero-video .hero-canvas,
.hero.hero-video .hero-webgl,
.hero.hero-video .hero-system-mark,
.hero.hero-video .assembly-visual,
.hero.hero-video .scene-measure,
.hero.hero-video .scene-data,
.hero.hero-video .scene-chapters { display:none !important; }

/* Light editorial rhythm for the remaining page */
.facts {
  background:#f5f6f7 !important;
  border-top:1px solid #edf0f2;
  border-bottom:1px solid #edf0f2;
}
.services-story,
.capabilities.process-section,
.about.about-premium {
  background:#fff !important;
  color:#111820 !important;
}
.services-story::before,
.process-section::before,
.about-premium::before,
.about-premium::after { opacity:.18 !important; }

/* Service cards stay bright and gain the clean product-page feel. */
.service-card {
  background:#f7f8f9 !important;
  border-color:#e1e6e9 !important;
  box-shadow:0 12px 35px rgba(17,24,32,.045) !important;
}
.service-card.is-active {
  background:#fff !important;
  border-color:rgba(255,106,0,.32) !important;
  box-shadow:0 22px 55px rgba(17,24,32,.09) !important;
}
.service-card h3,
.service-card p { color:#111820 !important; }
.service-card p { color:#65717b !important; }
.service-code,
.services-system-note,
.services-stage-foot { color:#7a858e !important; }

/* Process / about dark visual islands become white engineering cards. */
.process-stage,
.process-stage-visual,
.about-stage,
.about-stage-visual {
  background:#f7f8f9 !important;
  color:#111820 !important;
  border-color:#e0e5e8 !important;
}
.about-premium-intro p,
.process-stage-copy p { color:#65717b !important; }
.about-stage-label,
.about-stage-number,
.process-stage-eyebrow { color:#77828b !important; }

/* Contact becomes a clean white conversion section. */
.contact.contact-premium {
  background:#fff !important;
  color:#111820 !important;
  border-top:1px solid #e7eaec;
  border-bottom:1px solid #e7eaec;
}
.contact.contact-premium .contact-copy h2,
.contact.contact-premium .contact-copy h2 em,
.contact.contact-premium .contact-details dd { color:#111820 !important; }
.contact.contact-premium .contact-copy p,
.contact.contact-premium .contact-details dt,
.contact.contact-premium .contact-form label { color:#69747e !important; }
.contact-form input,
.contact-form textarea,
.contact-premium-form .field-shell,
.contact-form-wrap {
  background:#f7f8f9 !important;
  color:#111820 !important;
  border-color:#dde3e7 !important;
}
.contact-form input,
.contact-form textarea { border-color:#dde3e7 !important; }
.contact-form input:focus,
.contact-form textarea:focus { border-color:var(--orange) !important; }
.contact .status-line { background:rgba(17,24,32,.1) !important; }
.contact .contact-eyebrow { color:#69747e !important; }

/* Footer: white, minimal, with a thin orange brand line. */
.site-footer.site-footer-premium {
  background:#fff !important;
  color:#111820 !important;
  border-top:1px solid #e4e8eb;
}
.site-footer-premium .footer-premium-brand .brand-name,
.site-footer-premium .footer-tagline,
.site-footer-premium .footer-tagline span,
.site-footer-premium .footer-index,
.site-footer-premium .footer-top-link { color:#111820 !important; }
.site-footer-premium .footer-nav a { color:#68737d !important; }
.site-footer-premium .footer-nav a:hover { color:#111820 !important; }
.site-footer-premium .footer-social a {
  color:#59656f !important;
  border-color:#dce2e6 !important;
  background:#fff !important;
}
.site-footer-premium .footer-premium-bottom .rule { background:#dfe4e7 !important; }
.site-footer-premium .footer-brand-line { color:#8a949c !important; }
.site-footer-premium .footer-copy { color:#9aa2a9 !important; }
.site-footer-premium .footer-ambient { opacity:.14 !important; }

/* Light boot curtain */
html.booting body::before { background:#fff !important; }
html.booting body::after { color:#69747e !important; }

@media (max-width: 900px) {
  .hero.hero-video {
    min-height:760px !important;
    height:auto !important;
    padding-top:5rem !important;
    padding-bottom:4.5rem !important;
    align-items:flex-start;
  }
  .hero-video-grid { grid-template-columns:1fr !important; gap:1.2rem !important; }
  .hero-video-copy { padding-top:1.5rem; }
  .hero-video-copy h1 { max-width:760px; }
  .hero-video-frame { min-height:280px; }
  .hero-video-media { object-position:center center; }
  .hero-video-wash {
    background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.91) 42%,rgba(255,255,255,.25) 70%,rgba(255,255,255,.05) 100%);
  }
}

@media (max-width: 640px) {
  .hero.hero-video { min-height:720px !important; }
  .hero-video-copy h1 { font-size:clamp(2.6rem,12vw,4rem) !important; }
  .hero-video-frame { min-height:230px; }
  .hero-video-meta { font-size:.56rem; }
  .hero-video-scroll { display:none !important; }
}

/* =====================================================
   Rhenium Light Hero — full-width editorial split
   Left: engineering message / Right: complete video
   ===================================================== */
:root {
  --light-bg: #ffffff;
  --light-surface: #f7f8f9;
  --light-text: #111316;
  --light-muted: #5e6670;
  --light-line: #e7e9ec;
}

.site-header {
  background: rgba(255,255,255,.92) !important;
  border-bottom: 1px solid rgba(17,19,22,.07);
  box-shadow: 0 4px 24px rgba(17,19,22,.035);
}

/* The first screen is one viewport, not a long sticky scroll chapter. */
.hero.hero-video {
  min-height: calc(100svh - 68px) !important;
  height: calc(100svh - 68px);
  max-height: none;
  padding: 0 !important;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: #fff !important;
  background-image: none !important;
}

.hero.hero-video::before,
.hero.hero-video::after,
.hero.hero-video .hero-video-wash,
.hero.hero-video .hero-video-vignette {
  display: none !important;
}

.hero-video-media {
  position: absolute;
  z-index: 0;
  inset: auto 0 0 auto;
  width: 56%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  display: block;
  background: #fff;
}

.hero-video-grid {
  position: relative !important;
  top: auto !important;
  left: auto;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 6vw, 7rem) clamp(3.5rem, 5vw, 5rem) !important;
  display: grid !important;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr) !important;
  gap: clamp(2rem, 5vw, 7rem) !important;
  align-items: center !important;
  align-content: center !important;
  z-index: 2;
}

.hero-video-copy {
  max-width: 700px !important;
  color: var(--light-text) !important;
  transform: none !important;
  position: relative;
  z-index: 3;
}

.hero-video-copy .kicker {
  color: #e45f00 !important;
}

.hero-video-copy .kicker::before {
  background: #ff6a00 !important;
  box-shadow: none !important;
}

.hero-video-copy h1 {
  color: #101214 !important;
  text-shadow: none !important;
  font-size: clamp(3.5rem, 6.4vw, 7.1rem) !important;
  line-height: .94 !important;
  letter-spacing: -.065em !important;
  max-width: 8.5ch !important;
  margin: .65rem 0 1.45rem !important;
}

.hero-video-copy .hero-lede {
  color: #5b636c !important;
  max-width: 56ch !important;
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
  line-height: 1.75 !important;
}

.hero-video-copy .hero-tags span {
  background: #f5f6f7 !important;
  border-color: #e2e5e8 !important;
  color: #353a40 !important;
  backdrop-filter: none !important;
}

.hero-video-copy .btn-ghost {
  color: #202428 !important;
  border-color: #d9dde1 !important;
  background: #fff !important;
}

.hero-video-copy .btn-ghost:hover {
  border-color: #bfc5ca !important;
  background: #f7f8f9 !important;
}

.hero-video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  height: min(70vh, 720px);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: transparent;
  border: 0;
}

.hero-video-frame::before {
  content: '';
  position: absolute;
  inset: 8% 0;
  background: radial-gradient(ellipse at center, rgba(245,247,248,.72), transparent 68%);
  z-index: -1;
}

.hero-video-frame .video-frame-label,
.hero-video-frame .video-frame-line,
.hero-video-frame .video-frame-index {
  display: none;
}

.hero-video-meta {
  display: flex !important;
  gap: 1.25rem;
  margin-top: 2rem;
  color: #9299a1 !important;
  font-size: .58rem !important;
  letter-spacing: .16em;
}

.hero-video-meta i {
  background: #ff6a00 !important;
  box-shadow: none !important;
}

.hero-video-scroll {
  color: #777f87 !important;
  bottom: 1.25rem !important;
  left: clamp(2rem, 6vw, 7rem) !important;
  transform: none !important;
  opacity: 1 !important;
}

.hero-video-scroll .scroll-line {
  background: linear-gradient(90deg,#ff6a00,#ffd2b4) !important;
}

/* Keep the hero static; don't fade/blur the headline on scroll. */
.hero.hero-video.is-scrolling .hero-video-copy > * {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

@media (max-width: 1050px) {
  .hero.hero-video {
    height: auto;
    min-height: calc(100svh - 68px) !important;
  }
  .hero-video-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 2rem !important;
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
  .hero-video-copy h1 {
    font-size: clamp(3rem, 6.4vw, 5.2rem) !important;
  }
  .hero-video-media {
    width: 55%;
  }
}

@media (max-width: 800px) {
  .hero.hero-video {
    min-height: auto !important;
    height: auto;
    overflow: visible;
  }
  .hero-video-grid {
    height: auto !important;
    min-height: calc(100svh - 68px) !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    padding: 5.5rem 1.35rem 3.5rem !important;
    gap: 1rem !important;
    align-content: center !important;
  }
  .hero-video-copy h1 {
    max-width: 10ch !important;
    font-size: clamp(3.1rem, 12vw, 5rem) !important;
  }
  .hero-video-media {
    position: absolute;
    width: 100%;
    height: 48%;
    top: auto;
    bottom: 0;
    right: 0;
    object-position: center bottom;
  }
  .hero-video-frame {
    height: auto;
    min-height: 280px;
  }
  .hero-video-scroll {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-video-grid {
    padding: 5rem 1.1rem 2rem !important;
  }
  .hero-video-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.8rem) !important;
  }
  .hero-video-copy .hero-lede {
    font-size: .92rem !important;
    line-height: 1.65 !important;
  }
  .hero-video-meta {
    margin-top: 1.1rem;
  }
  .hero-video-media {
    height: 42%;
  }
}

/* =====================================================
   Video / page seamless blend
   The supplied PCB video has a warm-light neutral background
   around RGB(242,242,242). Match the hero canvas to that tone
   so the video reads as part of the page rather than a panel.
   ===================================================== */
.hero.hero-video {
  background: #f4f4f4 !important;
  background-color: #f4f4f4 !important;
}

.hero-video-media {
  background: #f4f4f4 !important;
  mix-blend-mode: normal !important;
  filter: brightness(1.018) saturate(.98) !important;
}

.hero-video-frame,
.hero-video-frame::before {
  background: transparent !important;
}

.hero-video-frame::before {
  display: none !important;
}

.hero-video-copy,
.hero-video-grid {
  background: transparent !important;
}

@media (max-width: 800px) {
  .hero.hero-video,
  .hero-video-media {
    background: #f4f4f4 !important;
  }
}


/* =====================================================
   FINAL HERO POLISH — seamless full-frame media split
   ===================================================== */
.site-header .header-inner {
  max-width: none !important;
  padding: .8rem clamp(1rem, 2.6vw, 3.25rem) !important;
}
.site-header .brand { gap: .78rem !important; }
.site-header .brand-mark {
  width: 2.65rem !important;
  height: 2.65rem !important;
}
.site-header .brand-name {
  font-size: 1.28rem !important;
  letter-spacing: .025em !important;
}
.site-header .brand-tagline {
  font-size: .68rem !important;
  letter-spacing: .12em !important;
}
.site-header .main-nav { gap: 2rem !important; }
.site-header .main-nav a:not(.btn) {
  font-size: 1rem !important;
  font-weight: 600 !important;
}
.site-header .btn-nav {
  padding: .68rem 1.35rem !important;
  font-size: .94rem !important;
}

.hero.hero-video {
  background: #f4f4f4 !important;
  min-height: calc(100svh - 72px) !important;
  height: calc(100svh - 72px) !important;
}

/* The video owns the entire right half. No overlay, frame or wash. */
.hero-video-media {
  left: 43% !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 57% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f4f4f4 !important;
  filter: none !important;
}

.hero-video-grid {
  grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
  gap: 0 !important;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem) 0 clamp(1.25rem, 5vw, 5.5rem) !important;
  align-items: center !important;
}

.hero-video-copy {
  width: 100% !important;
  max-width: 620px !important;
  padding: 0 !important;
  padding-right: clamp(1rem, 3vw, 3.5rem) !important;
  z-index: 5 !important;
}
.hero-video-copy h1 {
  max-width: 7.5ch !important;
  font-size: clamp(3.2rem, 5.4vw, 6.2rem) !important;
  line-height: .95 !important;
}
.hero-video-copy .hero-lede {
  max-width: 48ch !important;
}

/* Prevent the decorative placeholder from creating a visual seam. */
.hero-video-frame {
  display: none !important;
}
.hero-video-scroll { left: clamp(1.25rem, 5vw, 5.5rem) !important; }

@media (max-width: 1100px) and (min-width: 801px) {
  .hero-video-grid { grid-template-columns: 46% 54% !important; }
  .hero-video-media { left: 46% !important; width: 54% !important; }
  .hero-video-copy h1 { font-size: clamp(3rem, 5.2vw, 5rem) !important; }
}

@media (max-width: 800px) {
  .site-header .header-inner { padding: .72rem 1rem !important; }
  .site-header .brand-mark { width: 2.4rem !important; height: 2.4rem !important; }
  .site-header .brand-name { font-size: 1.14rem !important; }
  .site-header .brand-tagline { font-size: .59rem !important; }
  .site-header .nav-toggle { transform: scale(1.12); transform-origin: right center; }

  .hero.hero-video {
    min-height: calc(100svh - 64px) !important;
    height: auto !important;
    overflow: hidden !important;
  }
  .hero-video-grid {
    min-height: calc(100svh - 64px) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: clamp(2.5rem, 8vw, 4rem) 1.15rem 0 !important;
  }
  .hero-video-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 1rem !important;
  }
  .hero-video-copy h1 {
    max-width: 9ch !important;
    font-size: clamp(2.75rem, 12vw, 4.5rem) !important;
  }
  .hero-video-copy .hero-lede { max-width: 58ch !important; }
  .hero-video-media {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    object-position: center center !important;
    flex: 0 0 auto !important;
    margin-top: auto !important;
  }
}

/* ===================================================
   Rhenium — Cuzor-inspired light engineering polish
   Scroll boxes use an orange hollow-outline treatment
   so they feel integrated with the page canvas.
=================================================== */
:root {
  --page-bg: #f2f2f2;
  --surface-bg: #f2f2f2;
  --orange-soft: rgba(255,106,0,.12);
  --orange-border: rgba(255,106,0,.72);
}

body {
  background: var(--page-bg);
}

/* Keep the navigation premium and slightly more prominent. */
.site-header {
  background: rgba(242,242,242,.9) !important;
}
.header-inner {
  padding: .9rem clamp(1rem,3vw,2rem);
}
.brand-mark { width: 2.35rem; height: 2.35rem; }
.brand-name { font-size: 1.12rem; }
.main-nav { gap: 1.9rem; }
.main-nav a:not(.btn) { font-size: .98rem; }
.btn-nav { padding: .62rem 1.3rem; font-size: .92rem; }

/* All content sections share the same visual canvas as the video hero. */
.facts,
.services-story,
.capabilities.process-section,
.about.about-premium,
.contact.contact-premium,
.site-footer.site-footer-premium {
  background: var(--page-bg) !important;
}

/* ---------------- Scroll-driven service cards ---------------- */
.services-story::before {
  opacity: .22 !important;
}
.services-cards {
  padding-right: clamp(.5rem,4vw,4rem);
}
.service-card,
.service-card.is-active,
.service-card:hover {
  background: var(--page-bg) !important;
  border: 1.5px solid var(--orange-border) !important;
  box-shadow: none !important;
}
.service-card {
  border-radius: 4px;
}
.service-card.is-active {
  box-shadow: 0 0 0 5px rgba(255,106,0,.055) !important;
}
.service-card::before {
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.45)) !important;
}
.service-card::after {
  background: var(--page-bg) !important;
  border: 2px solid var(--orange) !important;
  box-shadow: 0 0 0 4px rgba(255,106,0,.07) !important;
}
.service-card.is-active::after {
  background: var(--orange) !important;
}
.service-icon-wrap {
  border-color: rgba(255,106,0,.35) !important;
  background: var(--page-bg) !important;
  color: var(--orange) !important;
}
.service-step,
.service-code,
.services-system-note,
.services-stage-foot {
  color: #7b858d !important;
}
.service-card h3 { color: #111820 !important; }
.service-card p { color: #626e77 !important; }

/* ---------------- Page 3: wider, cleaner process box ---------------- */
.capabilities.process-section {
  padding-left: clamp(1rem,4vw,3rem);
  padding-right: clamp(1rem,4vw,3rem);
}
.process-intro {
  max-width: 900px;
}
.process-experience {
  width: min(100%, 1240px);
  margin: 0 auto;
  grid-template-columns: minmax(250px,.55fr) minmax(0,1.8fr);
  gap: clamp(2rem,5vw,5rem);
  min-height: 700px;
}
.process-stage {
  width: 100%;
  min-height: 650px;
  padding: clamp(2rem,5vw,4.2rem) clamp(2rem,5vw,5rem);
  border: 1.5px solid var(--orange-border) !important;
  border-radius: 4px;
  background: var(--page-bg) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.process-stage::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,106,0,.11);
  pointer-events: none;
}
.process-stage-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  max-width: 900px;
}
.process-stage h3 {
  max-width: 850px;
  color: #111820 !important;
}
.process-stage-copy > p:last-child {
  max-width: 760px;
  color: #626e77 !important;
}
.process-stage-eyebrow {
  color: var(--orange) !important;
}
.process-stage-number {
  color: #111820 !important;
}
.process-stage-line {
  background: rgba(255,106,0,.45) !important;
}
.process-stage-icon {
  right: 7%;
  top: 9%;
  color: var(--orange) !important;
}
.process-stage-mark span { background: var(--orange); }
.process-nav-index {
  background: var(--page-bg) !important;
  border-color: rgba(255,106,0,.42) !important;
  box-shadow: none !important;
}
.process-nav-button.is-active .process-nav-index {
  border-color: var(--orange) !important;
  background: var(--page-bg) !important;
  box-shadow: 0 0 0 5px rgba(255,106,0,.06) !important;
}
.process-nav-title { color: #626e77; }
.process-nav-button.is-active .process-nav-title { color: #111820 !important; }

/* ---------------- About: same hollow engineering language ---------------- */
#about .about-stage {
  background: var(--page-bg) !important;
  border: 1.5px solid var(--orange-border) !important;
  border-radius: 4px;
  box-shadow: none !important;
}
#about .about-stage::before {
  background: radial-gradient(circle at 74% 26%, rgba(255,106,0,.08), transparent 27%) !important;
}
#about .about-stage-content {
  max-width: 82%;
}
#about .about-step-index {
  background: var(--page-bg) !important;
  border-color: rgba(255,106,0,.35) !important;
  box-shadow: none !important;
}
#about .about-step.is-active .about-step-index {
  background: var(--page-bg) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 5px rgba(255,106,0,.06) !important;
}
#about .about-step-copy b { color: #626e77; }
#about .about-step.is-active .about-step-copy b { color: #111820; }
#about .about-step.is-active .about-step-copy small { color: var(--orange); }

/* ---------------- Contact/footer: same page canvas ---------------- */
#contact .contact-form-wrap {
  background: var(--page-bg) !important;
  border: 1.5px solid var(--orange-border) !important;
  border-radius: 4px;
  box-shadow: none !important;
}
#contact .contact-form-wrap::before { display: none; }
#contact .contact-premium-form input,
#contact .contact-premium-form textarea {
  background: transparent !important;
  color: #111820 !important;
  border-bottom-color: #cfd5d9 !important;
}
#contact .contact-premium-form label,
#contact .contact-form-heading,
#contact .contact-form-heading p,
#contact .contact-submit-row p { color: #69747e !important; }

/* Keep scroll effects smooth but avoid oversized narrow islands. */
@media (max-width: 900px) {
  .process-experience {
    grid-template-columns: 190px minmax(0,1fr);
    gap: 2.2rem;
  }
  .process-stage {
    min-height: 610px;
    padding: 2rem 2.25rem;
  }
}

@media (max-width: 640px) {
  .main-nav { gap: 1rem; }
  .main-nav a:not(.btn) { font-size: .9rem; }
  .process-experience { display: block; }
  .process-stage {
    min-height: 520px;
    margin-top: 1.2rem;
    padding: 2rem 1.4rem;
  }
  .process-stage::before { inset: 8px; }
  .process-stage h3 { font-size: clamp(2.35rem,11vw,4rem); }
  .process-stage-copy > p:last-child { font-size: .94rem; }
  #about .about-stage-content { max-width: 100%; }
}

/* =========================================================
   FINAL ORANGE ENGINEERING PANELS
   Full orange fill + white type, with square process panel.
========================================================= */
.service-card {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  border-radius: 0 !important;
  box-shadow: 0 16px 38px rgba(255,106,0,.16) !important;
}
.service-card.is-active,
.service-card:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 22px 48px rgba(255,106,0,.22) !important;
}
.service-card h3,
.service-card h3 span,
.service-card p,
.service-card.is-active p,
.service-card .service-step,
.service-card .service-code {
  color: #fff !important;
}
.service-card .service-icon-wrap {
  background: transparent !important;
  border-color: rgba(255,255,255,.7) !important;
  color: #fff !important;
}
.service-card .service-icon-wrap svg { color: #fff !important; }
.service-card::before { background: linear-gradient(90deg, transparent, rgba(255,106,0,.65)) !important; }
.service-card::after {
  background: #fff !important;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 5px rgba(255,106,0,.18) !important;
}

/* The main third-page scroll panel: broad, solid orange, square corners. */
.process-stage {
  background: var(--orange) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 24px 60px rgba(255,106,0,.20) !important;
  min-height: 650px;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 5rem) !important;
  overflow: hidden;
}
.process-stage::before {
  inset: 18px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
.process-stage-meta { position: relative; z-index: 2; }
.process-stage-number,
.process-stage-eyebrow,
.process-stage h3,
.process-stage-copy > p:last-child {
  color: #fff !important;
}
.process-stage-line { background: rgba(255,255,255,.7) !important; }
.process-stage-icon { color: #fff !important; }
.process-stage-icon .fill { opacity: .12 !important; }
.process-stage-mark span { background: #fff !important; }

/* Orange active step on the process rail, with white text/icon treatment. */
.process-nav-button.is-active .process-nav-index {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
}
.process-nav-button.is-active .process-nav-title { color: var(--orange) !important; }

/* About scroll panel follows the same filled engineering language. */
#about .about-stage {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  border-radius: 0 !important;
  box-shadow: 0 22px 55px rgba(255,106,0,.18) !important;
  color: #fff !important;
}
#about .about-stage::before { border-color: rgba(255,255,255,.22) !important; }
#about .about-stage-label,
#about .about-stage-number,
#about .about-stage-content h3,
#about .about-stage-content p,
#about .about-stage-meta { color: #fff !important; }
#about .about-stage-visual { color: #fff !important; }

@media (max-width: 900px) {
  .process-stage {
    min-height: 610px;
    padding: 2.5rem 2.5rem !important;
  }
}

@media (max-width: 640px) {
  .process-stage {
    min-height: 520px;
    padding: 2rem 1.4rem !important;
  }
}

/* =========================================================
   FINAL VISUAL PASS — Rhenium premium orange + oversized footer
   ========================================================= */
:root {
  --rhenium-orange: #f26a21;
  --rhenium-orange-dark: #dc5815;
  --rhenium-orange-light: #ff7b36;
  --rhenium-orange-glow: rgba(242,106,33,.18);
}

/* More refined orange: warm, bright, but not neon. */
.service-card,
.process-stage,
#about .about-stage {
  background: linear-gradient(145deg, var(--rhenium-orange-light) 0%, var(--rhenium-orange) 52%, var(--rhenium-orange-dark) 100%) !important;
  border-color: transparent !important;
}

.service-card {
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(242,106,33,.16), inset 0 1px 0 rgba(255,255,255,.20) !important;
  transform: translateZ(0);
}
.service-card:hover,
.service-card.is-active {
  box-shadow: 0 25px 58px rgba(242,106,33,.24), inset 0 1px 0 rgba(255,255,255,.24) !important;
}
.service-card .service-icon-wrap {
  border-color: rgba(255,255,255,.72) !important;
  background: rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
}
.service-card::after {
  background: #fff !important;
  border-color: var(--rhenium-orange) !important;
  box-shadow: 0 0 0 5px rgba(242,106,33,.14), 0 5px 15px rgba(242,106,33,.18) !important;
}
.service-card.is-active::after { background:#fff !important; }
.service-card::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent) !important;
}

/* Third page: large, broad square-ish engineering panel with rounded corners. */
.capabilities.process-section {
  padding-left: clamp(1rem, 4vw, 4rem) !important;
  padding-right: clamp(1rem, 4vw, 4rem) !important;
}
.process-experience {
  width: min(100%, 1380px) !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(230px,.34fr) minmax(0,1.66fr) !important;
  gap: clamp(2rem,4vw,4.5rem) !important;
  min-height: 720px !important;
  align-items: center !important;
}
.process-stage {
  width: 100% !important;
  max-width: none !important;
  min-height: 680px !important;
  aspect-ratio: 1.18 / 1 !important;
  padding: clamp(2.5rem,5vw,5rem) clamp(2.5rem,5vw,5.5rem) !important;
  border-radius: 30px !important;
  box-shadow: 0 28px 70px rgba(242,106,33,.20), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.process-stage::before {
  inset: 18px !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  border-radius: 20px !important;
}
.process-stage-copy {
  width: min(100%, 900px) !important;
  max-width: 900px !important;
}
.process-stage h3 {
  font-size: clamp(3.4rem, 6vw, 6.5rem) !important;
  line-height: .94 !important;
  max-width: 760px !important;
}
.process-stage-copy > p:last-child {
  max-width: 700px !important;
  font-size: clamp(1rem,1.3vw,1.2rem) !important;
  line-height: 1.65 !important;
}
.process-stage-icon { right: 8% !important; top: 8% !important; }

/* About panel gets the same soft rounded engineering treatment. */
#about .about-stage {
  border-radius: 28px !important;
  box-shadow: 0 25px 62px rgba(242,106,33,.18), inset 0 1px 0 rgba(255,255,255,.20) !important;
}
#about .about-stage::before { border-radius: 18px !important; }

/* Oversized final Rhenium identity, inspired by the supplied reference. */
.site-footer.site-footer-premium {
  min-height: 620px !important;
  padding: 70px clamp(24px,4vw,70px) 35px !important;
  background: #fff !important;
  border-top: 1px solid #e7eaec !important;
}
.site-footer-premium .footer-ambient span {
  background: linear-gradient(transparent, rgba(242,106,33,.12), transparent) !important;
  opacity: .6 !important;
}
.site-footer-premium .footer-premium-top {
  width: min(1500px,100%) !important;
  min-height: 0 !important;
  margin: 0 auto 35px !important;
  display: block !important;
}
.site-footer-premium .footer-premium-brand {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(12px,1.5vw,28px) !important;
  color: var(--rhenium-orange) !important;
}
.site-footer-premium .footer-premium-brand .brand-mark {
  width: clamp(58px,6vw,100px) !important;
  height: clamp(58px,6vw,100px) !important;
  flex: 0 0 auto !important;
  color: var(--rhenium-orange) !important;
}
.site-footer-premium .footer-premium-brand .brand-name {
  display: block !important;
  color: var(--rhenium-orange) !important;
  font-size: clamp(5.5rem,16vw,15rem) !important;
  line-height: .78 !important;
  letter-spacing: -.075em !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}
.site-footer-premium .footer-tagline {
  margin-top: 34px !important;
  color: #6a737b !important;
  font-size: clamp(1rem,1.6vw,1.45rem) !important;
  letter-spacing: .12em !important;
}
.site-footer-premium .footer-tagline span { color: var(--rhenium-orange) !important; }
.site-footer-premium .footer-nav {
  margin-top: 28px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 30px !important;
}
.site-footer-premium .footer-nav a {
  color: #263039 !important;
  font-size: 1rem !important;
  letter-spacing: .05em !important;
}
.site-footer-premium .footer-nav a:hover { color: var(--rhenium-orange) !important; }
.site-footer-premium .footer-social {
  margin-top: 28px !important;
  display: flex !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}
.site-footer-premium .footer-social a {
  width: 54px !important;
  height: 54px !important;
  color: #27313a !important;
  border: 1px solid #dfe4e7 !important;
  background: #fff !important;
  border-radius: 14px !important;
}
.site-footer-premium .footer-social a:hover {
  color: #fff !important;
  border-color: var(--rhenium-orange) !important;
  background: var(--rhenium-orange) !important;
  transform: translateY(-4px) !important;
}
.site-footer-premium .footer-premium-bottom {
  width: min(1500px,100%) !important;
  margin: 80px auto 0 !important;
  padding-top: 22px !important;
  border-top: 1px solid #dfe4e7 !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}
.site-footer-premium .footer-index,
.site-footer-premium .footer-top-link {
  color: #4f5a63 !important;
  font-size: 11px !important;
}
.site-footer-premium .footer-brand-line {
  color: #7c858c !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}
.site-footer-premium .footer-copy {
  width: min(1500px,100%) !important;
  margin: 25px auto 0 !important;
  color: #707a82 !important;
  font-size: 13px !important;
}

@media (max-width: 900px) {
  .process-experience {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .process-timeline { width:100%; }
  .process-stage {
    min-height: 620px !important;
    aspect-ratio: auto !important;
  }
  .site-footer.site-footer-premium { min-height: 520px !important; }
  .site-footer-premium .footer-premium-brand .brand-name { font-size: clamp(4rem,14vw,8rem) !important; }
}

@media (max-width: 640px) {
  .service-card { border-radius: 20px !important; }
  .process-stage {
    min-height: 540px !important;
    padding: 2rem 1.6rem !important;
    border-radius: 24px !important;
  }
  .process-stage h3 { font-size: clamp(2.8rem,14vw,4.6rem) !important; }
  .site-footer.site-footer-premium { min-height: 470px !important; padding: 55px 20px 28px !important; }
  .site-footer-premium .footer-premium-brand { gap: 10px !important; }
  .site-footer-premium .footer-premium-brand .brand-mark { width: 42px !important; height: 42px !important; }
  .site-footer-premium .footer-premium-brand .brand-name { font-size: clamp(3.4rem,17vw,6rem) !important; }
  .site-footer-premium .footer-premium-bottom { margin-top: 55px !important; flex-wrap: wrap !important; }
  .site-footer-premium .footer-brand-line { width:100%; order:3; }
}

/* =========================================================
   FINAL REFINEMENT — HORIZONTAL PIPELINE + FULL-WIDTH PAGES
========================================================= */

/* Page 2: continuous horizontal process rail */
#services.services-story {
  width:100%;
  padding-top:clamp(4.5rem,8vw,7rem);
  padding-bottom:clamp(4rem,7vw,6rem);
  overflow:hidden;
}
#services .services-story-shell { max-width:none; width:100%; }
#services .services-story-head {
  width:min(1100px, calc(100% - 72px));
  margin:0 auto clamp(2rem,4vw,3.2rem);
}
#services .services-stage {
  min-height:0;
  width:100%;
  position:relative;
  overflow:hidden;
  padding:1.2rem 0 4.2rem;
}
#services .services-system-note {
  position:relative;
  top:auto;
  width:min(1100px, calc(100% - 72px));
  height:auto;
  margin:0 auto 1.15rem;
}
#services .services-rail,
#services .services-stage-foot { display:none; }

#services .services-carousel-controls {
  position:absolute;
  z-index:8;
  left:18px;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  justify-content:space-between;
  pointer-events:none;
}
#services .services-arrow {
  pointer-events:auto;
  width:54px;
  height:54px;
  border:1px solid rgba(255,106,0,.38);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:var(--orange);
  display:grid;
  place-items:center;
  font:700 1.35rem/1 var(--font-display);
  cursor:pointer;
  box-shadow:0 12px 32px rgba(16,29,41,.10), 0 0 0 6px rgba(255,106,0,.035);
  backdrop-filter:blur(8px);
  transition:transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
#services .services-arrow:hover {
  background:var(--orange);
  color:#fff;
  transform:scale(1.08);
  box-shadow:0 16px 38px rgba(255,106,0,.24), 0 0 0 7px rgba(255,106,0,.06);
}
#services .services-arrow:active { transform:scale(.96); }

#services .services-cards.is-horizontal {
  width:max-content;
  max-width:none;
  padding:0 76px 1rem;
  margin:0;
  display:flex;
  flex-direction:row;
  align-items:stretch;
  gap:12px;
  transform:translate3d(0,0,0);
  will-change:transform;
  overflow:visible;
}
#services .service-card.is-carousel-card {
  flex:0 0 clamp(280px, 30vw, 420px);
  width:clamp(280px, 30vw, 420px);
  aspect-ratio:1 / 1;
  min-height:0;
  box-sizing:border-box;
  padding:clamp(1.35rem,2.2vw,2rem);
  border-radius:24px;
  background:linear-gradient(145deg,#ff812d 0%, #ff6a00 58%, #f45b00 100%) !important;
  border:1px solid rgba(255,106,0,.18) !important;
  color:#fff !important;
  box-shadow:0 22px 48px rgba(255,106,0,.18), inset 0 1px 0 rgba(255,255,255,.18) !important;
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
}
#services .service-card.is-carousel-card::before {
  left:1.3rem;
  top:1.3rem;
  width:26px;
  height:1px;
  background:rgba(255,255,255,.6);
}
#services .service-card.is-carousel-card::after { display:none; }
#services .service-card.is-carousel-card:hover {
  transform:translateY(-7px) !important;
  box-shadow:0 30px 60px rgba(255,106,0,.25), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
#services .service-card-main {
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:1rem;
  padding:0 !important;
}
#services .service-icon-wrap {
  width:54px;
  height:54px;
  flex:none;
  border:1px solid rgba(255,255,255,.65);
  border-radius:15px;
  background:rgba(255,255,255,.08);
  color:#fff;
}
#services .service-icon { width:1.55rem; height:1.55rem; }
#services .service-card h3 {
  margin:0 0 .7rem;
  color:#fff !important;
  font-size:clamp(1.15rem,1.7vw,1.42rem);
  line-height:1.08;
}
#services .service-card h3 span { color:rgba(255,255,255,.7) !important; }
#services .service-card p {
  color:rgba(255,255,255,.88) !important;
  font-size:.91rem;
  line-height:1.65;
  max-width:none;
}
#services .service-code {
  margin:0;
  margin-top:auto;
  color:rgba(255,255,255,.68) !important;
  font-size:.57rem;
}
#services .service-step {
  right:1.45rem;
  top:1.3rem;
  color:rgba(255,255,255,.78) !important;
  font-size:.62rem;
}
#services .service-card.is-carousel-clone { opacity:1 !important; }

/* Page 4: let the about experience breathe across the viewport. */
#about.about-premium {
  min-height:380vh;
  width:100%;
}
#about .about-premium-sticky {
  min-height:100vh;
  width:100%;
}
#about .about-premium-grid {
  width:92vw;
  max-width:none;
  min-height:88vh;
  grid-template-columns:minmax(360px,.78fr) minmax(0,1.22fr);
  gap:clamp(45px,5vw,90px);
}
#about .about-stage {
  min-height:min(680px,78vh);
  width:100%;
  box-sizing:border-box;
}

/* Page 5: contact fills the screen instead of sitting as a centered island. */
#contact.contact-premium {
  min-height:100vh;
  width:100%;
  box-sizing:border-box;
  display:grid;
  align-items:center;
  padding:clamp(70px,7vw,100px) 4vw;
}
#contact .contact-premium-inner {
  width:92vw;
  max-width:none;
  margin:0 auto;
  align-items:center;
  grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);
  gap:clamp(45px,6vw,100px);
}
#contact .contact-form-wrap { width:100%; box-sizing:border-box; }

/* Large brand statement at the very end of the site. */
.site-footer.site-footer-premium {
  min-height:clamp(520px,62vh,720px);
  padding:clamp(60px,7vw,100px) 4vw 28px;
  background:#fff !important;
  color:#111820 !important;
  border-top:1px solid #e4e8eb;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.site-footer-premium .footer-premium-top {
  width:92vw;
  max-width:none;
  margin:0 auto clamp(34px,5vw,62px);
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1.6fr) auto auto;
  grid-template-areas:
    "logo nav social"
    "tagline nav social";
  align-items:end;
  gap:16px 38px;
}
.site-footer-premium .footer-logo-lockup {
  grid-area:logo;
  display:block;
  width:min(68vw,900px);
}
.site-footer-premium .footer-logo-lockup img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:left center;
}
.site-footer-premium .footer-tagline {
  grid-area:tagline;
  color:#69747e !important;
  font-size:clamp(.62rem,.75vw,.8rem);
  letter-spacing:.18em;
}
.site-footer-premium .footer-tagline span { color:var(--orange) !important; }
.site-footer-premium .footer-nav {
  grid-area:nav;
  align-self:end;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.site-footer-premium .footer-nav a { color:#65717b !important; font-size:.78rem; }
.site-footer-premium .footer-nav a:hover { color:var(--orange) !important; }
.site-footer-premium .footer-social {
  grid-area:social;
  align-self:end;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.site-footer-premium .footer-social a {
  width:42px;
  height:42px;
  border-color:#d9dfe3;
  color:#59656f;
  background:#fff;
}
.site-footer-premium .footer-social a:hover { color:var(--orange); border-color:var(--orange); background:#fff7f1; }
.site-footer-premium .footer-premium-bottom {
  width:92vw;
  max-width:none;
  margin:0 auto;
  border-top:1px solid #e0e5e8;
}
.site-footer-premium .footer-premium-bottom .rule { background:var(--orange); opacity:.42; }
.site-footer-premium .footer-index,
.site-footer-premium .footer-top-link { color:#69747e !important; }
.site-footer-premium .footer-brand-line { color:#69747e !important; }
.site-footer-premium .footer-copy { color:#8b959c !important; }

@media (max-width:900px) {
  #services .services-carousel-controls { left:10px; right:10px; }
  #services .services-arrow { width:46px; height:46px; }
  #services .services-cards.is-horizontal { padding-left:60px; padding-right:60px; }
  #services .service-card.is-carousel-card { flex-basis:clamp(270px,55vw,360px); width:clamp(270px,55vw,360px); }
  #about .about-premium-grid { width:calc(100% - 40px); }
  #contact .contact-premium-inner { width:calc(100% - 40px); grid-template-columns:1fr; }
  .site-footer-premium .footer-premium-top {
    width:calc(100% - 40px);
    grid-template-columns:1fr auto;
    grid-template-areas:"logo social" "tagline nav";
  }
  .site-footer-premium .footer-logo-lockup { width:min(78vw,680px); }
  .site-footer-premium .footer-premium-bottom { width:calc(100% - 40px); }
}
@media (max-width:620px) {
  #services .services-story-head,
  #services .services-system-note { width:calc(100% - 32px); }
  #services .services-carousel-controls { top:auto; bottom:20px; transform:none; }
  #services .services-cards.is-horizontal { padding:0 46px 4.2rem; gap:10px; }
  #services .service-card.is-carousel-card { flex-basis:76vw; width:76vw; aspect-ratio:1/1; border-radius:20px; }
  #about .about-premium-grid { width:calc(100% - 28px); grid-template-columns:1fr; }
  #contact.contact-premium { padding:70px 14px; }
  #contact .contact-premium-inner { width:100%; }
  .site-footer.site-footer-premium { min-height:520px; padding:58px 14px 24px; }
  .site-footer-premium .footer-premium-top {
    width:100%;
    grid-template-columns:1fr;
    grid-template-areas:"logo" "tagline" "nav" "social";
    gap:22px;
  }
  .site-footer-premium .footer-logo-lockup { width:100%; max-width:620px; }
  .site-footer-premium .footer-nav { flex-direction:row; flex-wrap:wrap; }
  .site-footer-premium .footer-social { flex-direction:row; }
  .site-footer-premium .footer-premium-bottom { width:100%; display:flex; flex-wrap:wrap; }
}

/* =========================================================
   FINAL REFINEMENT — CONTROLLED PIPELINE MOTION + COMPACT
   PROCESS PANEL + CRISP HEADER-MATCHING FOOTER LOGO
========================================================= */

/* Page 2: arrow clicks now animate the exact same card-to-card
   distance as the marquee, instead of jumping statically. */
#services .services-cards.is-horizontal {
  transition: none;
}
#services .services-cards.is-horizontal.is-click-sliding {
  transition: transform .72s cubic-bezier(.22,.72,.22,1);
}
#services .services-carousel-controls {
  z-index: 20;
}
#services .services-arrow {
  transition: transform .28s cubic-bezier(.22,.72,.22,1), background .28s ease,
              color .28s ease, box-shadow .28s ease;
}
#services .services-arrow:focus-visible {
  outline: 3px solid rgba(255,106,0,.22);
  outline-offset: 4px;
}

/* Page 3: smaller, genuinely square engineering panel with rounded corners. */
#capabilities.process-section .process-experience {
  grid-template-columns: minmax(190px,.58fr) minmax(0,1.42fr);
  gap: clamp(1.5rem,4vw,4rem);
}
#capabilities.process-section .process-stage {
  width: min(100%, 700px);
  max-width: 700px;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0 !important;
  justify-self: start;
  align-self: center;
  border-radius: 28px !important;
  padding: clamp(2rem,4vw,3.4rem) clamp(2rem,4vw,3.8rem) !important;
}
#capabilities.process-section .process-stage::before {
  inset: 14px !important;
  border-radius: 18px;
}
#capabilities.process-section .process-stage-copy {
  max-width: 88%;
}
#capabilities.process-section .process-stage h3 {
  font-size: clamp(2.7rem,4.5vw,4.35rem);
}
#capabilities.process-section .process-stage-copy > p:last-child {
  max-width: 92%;
}

/* Exact top-menu logo construction, scaled into a strong final brand statement. */
.site-footer.site-footer-premium {
  min-height: clamp(480px, 60vh, 680px);
  background: #fff !important;
  position: relative;
}
.site-footer-premium .footer-premium-top {
  grid-template-columns: minmax(0,1fr) auto auto;
  grid-template-areas:
    "logo nav social"
    "tagline nav social";
  align-items: end;
}
.site-footer-premium .footer-logo-lockup {
  display: flex !important;
  align-items: center;
  gap: clamp(18px,2vw,34px);
  width: min(78vw, 1080px) !important;
  text-decoration: none;
}
.site-footer-premium .footer-brand-mark {
  flex: 0 0 auto;
  width: clamp(90px,9vw,150px);
  height: clamp(90px,9vw,150px);
}
.site-footer-premium .footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: .9;
}
.site-footer-premium .footer-brand-name {
  color: #111820;
  font: 800 clamp(4.5rem,10vw,10.5rem)/.82 var(--font-display);
  letter-spacing: -.075em;
}
.site-footer-premium .footer-brand-tagline {
  margin-top: clamp(10px,1.2vw,18px);
  color: var(--orange);
  font: 700 clamp(.72rem,1.05vw,1.05rem)/1 var(--font-display);
  letter-spacing: .20em;
  text-transform: uppercase;
}
.site-footer-premium .footer-tagline {
  font-size: .68rem !important;
  color: #74808a !important;
}
.site-footer-premium .footer-nav a,
.site-footer-premium .footer-index,
.site-footer-premium .footer-top-link,
.site-footer-premium .footer-brand-line {
  color: #66727c !important;
}
.site-footer-premium .footer-nav a:hover,
.site-footer-premium .footer-top-link:hover { color: var(--orange) !important; }
.site-footer-premium .footer-social a:hover {
  background: rgba(255,106,0,.08) !important;
  color: var(--orange) !important;
  border-color: rgba(255,106,0,.35) !important;
}
.site-footer-premium .footer-copy {
  color: #89939b !important;
}

@media (max-width: 900px) {
  #capabilities.process-section .process-stage {
    width: min(100%, 620px);
    max-width: 620px;
    justify-self: center;
  }
  .site-footer-premium .footer-logo-lockup {
    width: min(82vw, 760px) !important;
  }
  .site-footer-premium .footer-brand-name {
    font-size: clamp(3.8rem,11vw,7rem);
  }
}

@media (max-width: 640px) {
  #capabilities.process-section .process-stage {
    width: min(100%, 88vw);
    max-width: 88vw;
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    border-radius: 22px !important;
    padding: 1.7rem 1.45rem !important;
  }
  #capabilities.process-section .process-stage::before {
    inset: 10px !important;
    border-radius: 14px;
  }
  #capabilities.process-section .process-stage h3 {
    font-size: clamp(2.2rem,10vw,3.5rem);
  }
  #capabilities.process-section .process-stage-copy > p:last-child {
    max-width: 100%;
    font-size: .9rem;
  }
  .site-footer.site-footer-premium {
    min-height: 500px;
  }
  .site-footer-premium .footer-logo-lockup {
    width: 100% !important;
    gap: 12px;
  }
  .site-footer-premium .footer-brand-mark {
    width: 58px;
    height: 58px;
  }
  .site-footer-premium .footer-brand-name {
    font-size: clamp(3rem,15vw,5.5rem);
  }
  .site-footer-premium .footer-brand-tagline {
    font-size: .56rem;
    letter-spacing: .14em;
  }
}

/* =========================================================
   SERVICE IMAGE CARDS — INDIVIDUAL VISUAL PIPELINE
   ========================================================= */
#services .service-card.is-carousel-card {
  position:relative;
  overflow:hidden;
  background:#eef1f3 !important;
  border:1px solid rgba(255,106,0,.28) !important;
  isolation:isolate;
}
#services .service-card-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  z-index:0;
  filter:saturate(.96) contrast(1.02);
  transform:scale(1.01);
  transition:transform .75s cubic-bezier(.2,.75,.2,1), filter .5s ease;
}
#services .service-card.is-carousel-card::after {
  content:"";
  display:block !important;
  position:absolute;
  inset:0;
  z-index:1;
  border-radius:inherit;
  background:
    linear-gradient(180deg, rgba(5,12,18,.04) 0%, rgba(5,12,18,.10) 30%, rgba(5,12,18,.76) 74%, rgba(5,12,18,.94) 100%),
    linear-gradient(135deg, rgba(255,106,0,.10), transparent 42%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
  pointer-events:none;
}
#services .service-card.is-carousel-card::before {
  z-index:3;
  left:1.3rem;
  top:1.3rem;
  width:30px;
  background:rgba(255,255,255,.72);
}
#services .service-card.is-carousel-card .service-step {
  z-index:4;
  color:#fff !important;
  text-shadow:0 1px 10px rgba(0,0,0,.28);
}
#services .service-card.is-carousel-card .service-card-main {
  position:absolute;
  inset:0;
  z-index:3;
  height:auto;
  display:block;
  padding:1.35rem !important;
}
#services .service-card.is-carousel-card .service-icon-wrap {
  position:absolute;
  top:1.25rem;
  left:1.25rem;
  width:52px;
  height:52px;
  border-color:rgba(255,255,255,.76);
  background:rgba(255,255,255,.10);
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.10);
  backdrop-filter:blur(5px);
}
#services .service-card.is-carousel-card .service-card-main > div:last-child {
  position:absolute;
  left:1.35rem;
  right:1.35rem;
  bottom:3.05rem;
}
#services .service-card.is-carousel-card h3 {
  font-size:clamp(1.18rem,1.8vw,1.48rem);
  line-height:1.08;
  margin:0 0 .62rem;
  color:#fff !important;
  text-shadow:0 2px 14px rgba(0,0,0,.28);
}
#services .service-card.is-carousel-card h3 span {
  color:rgba(255,255,255,.82) !important;
}
#services .service-card.is-carousel-card p {
  color:rgba(255,255,255,.93) !important;
  font-size:.88rem;
  line-height:1.55;
  text-shadow:0 1px 9px rgba(0,0,0,.25);
  max-width:36rem;
}
#services .service-card.is-carousel-card .service-code {
  position:absolute;
  left:1.35rem;
  bottom:1.25rem;
  z-index:4;
  margin:0;
  color:rgba(255,255,255,.78) !important;
  text-shadow:0 1px 8px rgba(0,0,0,.22);
}
#services .service-card.is-carousel-card:hover .service-card-image {
  transform:scale(1.055);
  filter:saturate(1.06) contrast(1.04);
}
#services .service-card.is-carousel-card:hover::after {
  background:
    linear-gradient(180deg, rgba(5,12,18,.03) 0%, rgba(5,12,18,.08) 28%, rgba(5,12,18,.72) 72%, rgba(5,12,18,.92) 100%),
    linear-gradient(135deg, rgba(255,106,0,.15), transparent 44%);
}

@media (max-width:900px) {
  #services .service-card.is-carousel-card .service-card-main > div:last-child {
    bottom:2.9rem;
  }
}
@media (max-width:620px) {
  #services .service-card.is-carousel-card .service-card-main { padding:1.1rem !important; }
  #services .service-card.is-carousel-card .service-icon-wrap {
    top:1.05rem;
    left:1.05rem;
    width:48px;
    height:48px;
  }
  #services .service-card.is-carousel-card .service-card-main > div:last-child {
    left:1.1rem;
    right:1.1rem;
    bottom:2.8rem;
  }
  #services .service-card.is-carousel-card .service-code {
    left:1.1rem;
    bottom:1.1rem;
  }
}


/* =========================================================
   FINAL VISUAL PASS — outlined image typography + Cuzor-style footer
   ========================================================= */
.service-card::after {
  background: linear-gradient(180deg, rgba(8,12,16,.02) 28%, rgba(8,12,16,.78) 100%) !important;
}
.service-card h3,
.service-card h3 span,
.service-step,
.service-code {
  color: #fff !important;
  -webkit-text-stroke: 1px #111820;
  paint-order: stroke fill;
  text-shadow: 0 2px 8px rgba(0,0,0,.24);
}
.service-card h3 { font-weight: 800 !important; }
.service-card h3 span { font-weight: 600 !important; }
.service-card p {
  color: #fff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,.38);
}
.service-code { text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.service-step { text-shadow: 0 1px 4px rgba(0,0,0,.35); }

/* Cuzor-inspired final footer: large wordmark + simple bottom row */
.site-footer.site-footer-premium {
  position: relative;
  overflow: hidden;
  background: #3b7fcf !important;
  color: #fff !important;
  min-height: clamp(430px, 54vw, 620px);
  padding: 34px clamp(28px, 4vw, 70px) 30px !important;
}
.site-footer-premium .footer-ambient { opacity: .14; }
.site-footer-premium .footer-ambient span { background: #fff !important; }
.site-footer-premium .footer-premium-top {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: end !important;
  gap: 18px !important;
  padding-top: clamp(28px, 4vw, 55px) !important;
}
.site-footer-premium .footer-logo-lockup {
  width: 100% !important;
  display: block !important;
  grid-column: 1 / -1;
  text-decoration: none !important;
}
.site-footer-premium .footer-brand-mark { display:none !important; }
.site-footer-premium .footer-brand-text { display:block !important; }
.site-footer-premium .footer-brand-name {
  display:block;
  color:#fff !important;
  font: 800 clamp(5.5rem, 18vw, 17rem)/.72 var(--font-display) !important;
  letter-spacing:-.085em !important;
  white-space: nowrap;
  text-align:center;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 4px 18px rgba(16,55,104,.12);
}
.site-footer-premium .footer-brand-tagline {
  display:none !important;
}
.site-footer-premium .footer-tagline,
.site-footer-premium .footer-nav { display:none !important; }
.site-footer-premium .footer-social {
  grid-column: 2;
  justify-content:flex-end !important;
  gap: 26px !important;
  margin: 0 0 0 auto;
}
.site-footer-premium .footer-social a {
  width:42px !important;
  height:42px !important;
  border: 2px solid rgba(255,255,255,.88) !important;
  border-radius: 10px !important;
  color:#fff !important;
  background: transparent !important;
}
.site-footer-premium .footer-social svg { width:22px !important; height:22px !important; }
.site-footer-premium .footer-premium-bottom {
  width:100% !important;
  margin: clamp(28px,5vw,65px) auto 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.85) !important;
  display:grid !important;
  grid-template-columns: 1fr auto !important;
  gap:20px !important;
}
.site-footer-premium .footer-premium-bottom .rule,
.site-footer-premium .footer-index,
.site-footer-premium .footer-brand-line { display:none !important; }
.site-footer-premium .footer-top-link {
  grid-column:2;
  color:#fff !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.14em;
}
.site-footer-premium .footer-copy {
  position:absolute;
  left: clamp(28px,4vw,70px);
  bottom: 30px;
  margin:0 !important;
  color:#fff !important;
  font-size:clamp(.82rem,1.1vw,1rem) !important;
  font-weight:700;
  text-align:left !important;
}
@media (max-width: 760px) {
  .site-footer.site-footer-premium { min-height: 390px; padding:28px 20px 24px !important; }
  .site-footer-premium .footer-brand-name { font-size: clamp(3.7rem, 16vw, 8rem) !important; }
  .site-footer-premium .footer-social { gap:10px !important; }
  .site-footer-premium .footer-social a { width:36px !important; height:36px !important; }
  .site-footer-premium .footer-copy { left:20px; bottom:24px; font-size:.72rem !important; }
}

/* =========================================================
   LATEST REQUEST — WHITE FOOTER + EXACT HEADER LOGO LOCKUP
   + COMPACT SQUARE PROCESS PANEL
   ========================================================= */
.site-footer.site-footer-premium {
  background: #fff !important;
  color: #111820 !important;
  min-height: clamp(430px, 54vw, 620px) !important;
  padding: 34px clamp(28px, 4vw, 70px) 30px !important;
}

.site-footer-premium .footer-ambient span { background: var(--orange) !important; }
.site-footer-premium .footer-ambient { opacity: .08 !important; }

/* Use the exact same mark + wordmark construction as the first-page header. */
.site-footer-premium .footer-premium-top {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  grid-template-areas: "logo social" "tagline social" !important;
  align-items: end !important;
  gap: 0 28px !important;
  padding-top: clamp(28px, 4vw, 55px) !important;
}
.site-footer-premium .footer-logo-lockup {
  grid-area: logo !important;
  width: min(78vw, 760px) !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(16px,2vw,28px) !important;
  text-decoration: none !important;
}
.site-footer-premium .footer-brand-mark {
  display: block !important;
  flex: 0 0 auto !important;
  width: clamp(72px, 8vw, 120px) !important;
  height: clamp(72px, 8vw, 120px) !important;
}
.site-footer-premium .footer-brand-mark .mark-white {
  fill: #111820 !important;
}
.site-footer-premium .footer-brand-mark .mark-orange {
  fill: var(--orange) !important;
}
.site-footer-premium .footer-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.site-footer-premium .footer-brand-name {
  display: block !important;
  color: #111820 !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: clamp(4.2rem, 9.5vw, 10.5rem) !important;
  line-height: .82 !important;
  letter-spacing: -.065em !important;
  white-space: nowrap !important;
  text-align: left !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
.site-footer-premium .footer-brand-tagline {
  display: block !important;
  margin-top: 10px !important;
  color: var(--orange) !important;
  font-family: var(--font-body) !important;
  font-size: clamp(.75rem, 1.2vw, 1.15rem) !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.site-footer-premium .footer-tagline,
.site-footer-premium .footer-nav { display: none !important; }
.site-footer-premium .footer-social {
  grid-area: social !important;
  justify-content: flex-end !important;
  align-self: end !important;
  gap: 16px !important;
  margin: 0 0 4px auto !important;
}
.site-footer-premium .footer-social a {
  width: 46px !important;
  height: 46px !important;
  border: 1.5px solid rgba(17,24,32,.75) !important;
  border-radius: 10px !important;
  color: #111820 !important;
  background: #fff !important;
}
.site-footer-premium .footer-social a:hover {
  color: var(--orange) !important;
  border-color: var(--orange) !important;
  background: #fff7f1 !important;
}
.site-footer-premium .footer-social svg { width: 22px !important; height: 22px !important; }
.site-footer-premium .footer-premium-bottom {
  width: 100% !important;
  margin: clamp(36px,6vw,70px) auto 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(17,24,32,.72) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
}
.site-footer-premium .footer-premium-bottom .rule,
.site-footer-premium .footer-index,
.site-footer-premium .footer-brand-line { display: none !important; }
.site-footer-premium .footer-top-link {
  color: #111820 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
}
.site-footer-premium .footer-copy {
  position: static !important;
  margin: 0 !important;
  color: #65717b !important;
  font-size: clamp(.75rem, 1vw, .95rem) !important;
  font-weight: 700 !important;
  text-align: left !important;
}

/* Page 3 — compact large-format square panel: still substantial, no narrow/tall feeling. */
#capabilities.process-section .process-experience {
  grid-template-columns: minmax(170px,.48fr) minmax(0,1.52fr) !important;
  gap: clamp(1.2rem,3vw,3rem) !important;
}
#capabilities.process-section .process-stage {
  width: min(100%, 570px) !important;
  max-width: 570px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  justify-self: start !important;
  align-self: center !important;
  border-radius: 24px !important;
  padding: clamp(1.55rem,3vw,2.5rem) !important;
}
#capabilities.process-section .process-stage::before {
  inset: 11px !important;
  border-radius: 16px !important;
}
#capabilities.process-section .process-stage-copy { max-width: 91% !important; }
#capabilities.process-section .process-stage h3 {
  font-size: clamp(2.25rem,3.8vw,3.65rem) !important;
  line-height: .95 !important;
}
#capabilities.process-section .process-stage-copy > p:last-child {
  max-width: 94% !important;
  font-size: clamp(.9rem,1.25vw,1.08rem) !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  .site-footer-premium .footer-premium-top {
    grid-template-areas: "logo" "social" !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .site-footer-premium .footer-logo-lockup { width: 100% !important; }
  .site-footer-premium .footer-social { justify-content: flex-start !important; margin-left: 0 !important; }
  #capabilities.process-section .process-stage {
    width: min(100%, 520px) !important;
    max-width: 520px !important;
  }
}
@media (max-width: 760px) {
  .site-footer.site-footer-premium { min-height: 390px !important; padding: 28px 20px 24px !important; }
  .site-footer-premium .footer-logo-lockup { gap: 12px !important; }
  .site-footer-premium .footer-brand-mark { width: 58px !important; height: 58px !important; }
  .site-footer-premium .footer-brand-name { font-size: clamp(3.2rem, 15vw, 6rem) !important; }
  .site-footer-premium .footer-brand-tagline { font-size: .58rem !important; letter-spacing: .12em !important; }
  .site-footer-premium .footer-social a { width: 38px !important; height: 38px !important; }
  #capabilities.process-section .process-stage { width: min(100%, 420px) !important; max-width: 420px !important; }
}

/* FINAL SPACING REFINEMENT — bring Page 2 and Page 3 together, center Page 3 panel */
#services.services-story {
  padding-bottom: clamp(2rem, 3vw, 3rem) !important;
}
#capabilities.process-section {
  padding-top: clamp(2.5rem, 4vw, 4rem) !important;
}
#capabilities.process-section .process-stage {
  justify-self: center !important;
  align-self: center !important;
}

@media (max-width: 900px) {
  #services.services-story { padding-bottom: 2rem !important; }
  #capabilities.process-section { padding-top: 2.5rem !important; }
  #capabilities.process-section .process-stage { justify-self: center !important; }
}

/* MOBILE LAYOUT FIX — remove desktop pinned-scroll spacer behavior on phones */
@media (max-width: 640px) {
  #services.services-story {
    min-height: auto !important;
    padding-top: 2.5rem !important;
    padding-bottom: 1.25rem !important;
    overflow: hidden !important;
  }
  #services .services-stage {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
  }
  #services .services-stage-foot { margin-top: .75rem !important; }

  #capabilities.process-section {
    min-height: auto !important;
    height: auto !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    overflow: visible !important;
  }
  #capabilities.process-section .process-intro {
    margin-bottom: 1.5rem !important;
  }
  #capabilities.process-section .process-experience {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    padding-bottom: 0 !important;
  }
  #capabilities.process-section .process-timeline {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  #capabilities.process-section .process-nav {
    height: auto !important;
    min-height: 0 !important;
    padding: .5rem 0 !important;
  }
  #capabilities.process-section .process-stage {
    width: min(88vw, 360px) !important;
    max-width: 360px !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
  }

  #about.about-premium {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 2rem !important;
  }
  #about .about-premium-sticky {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    height: auto !important;
    padding: 2rem 0 !important;
  }

  #contact.contact-premium {
    min-height: auto !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* FOOTER GRID — white engineering-style final frame */
.site-footer.site-footer-premium {
  position: relative !important;
  background-color: #f7f7f5 !important;
  background-image:
    linear-gradient(rgba(25,32,38,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,32,38,.055) 1px, transparent 1px),
    linear-gradient(rgba(25,32,38,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,32,38,.025) 1px, transparent 1px) !important;
  background-size: 42px 42px, 42px 42px, 10px 10px, 10px 10px !important;
  background-position: center center !important;
  border-top: 1px solid rgba(20,28,34,.12) !important;
}
.site-footer.site-footer-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255,106,0,.08) 8.05%, transparent 8.1%),
    linear-gradient(0deg, transparent 0 82%, rgba(255,106,0,.07) 82.05%, transparent 82.1%);
  opacity: .7;
}
.site-footer-premium .footer-ambient { opacity: .22 !important; }
.site-footer-premium .footer-ambient span {
  background: linear-gradient(transparent, rgba(255,106,0,.18), transparent) !important;
}
.site-footer-premium .footer-premium-top,
.site-footer-premium .footer-premium-bottom,
.site-footer-premium .footer-copy { position: relative; z-index: 2; }
.site-footer-premium .footer-tagline { color: #66717a !important; }
.site-footer-premium .footer-tagline span { color: #1b2329 !important; }
.site-footer-premium .footer-nav a { color: #46525b !important; }
.site-footer-premium .footer-nav a:hover { color: #11181d !important; }
.site-footer-premium .footer-social a {
  border-color: rgba(25,32,38,.16) !important;
  color: #4c5962 !important;
}
.site-footer-premium .footer-social a:hover {
  background: rgba(255,106,0,.08) !important;
  border-color: rgba(255,106,0,.35) !important;
  color: #151c21 !important;
}
.site-footer-premium .footer-premium-bottom {
  border-top-color: rgba(20,28,34,.15) !important;
}
.site-footer-premium .footer-premium-bottom .rule { background: rgba(20,28,34,.13) !important; }
.site-footer-premium .footer-index,
.site-footer-premium .footer-top-link { color: #6b767e !important; }
.site-footer-premium .footer-brand-line { color: #4f5b63 !important; }
.site-footer-premium .footer-copy { color: #7a8389 !important; }
.site-footer-premium .footer-top-link:hover { color: #ff6a00 !important; }

/* Engineering registration marks */
.site-footer.site-footer-premium .footer-premium-bottom::before,
.site-footer.site-footer-premium .footer-premium-bottom::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(20,28,34,.28);
  pointer-events: none;
}
.site-footer.site-footer-premium .footer-premium-bottom::before { left: -2px; top: 14px; }
.site-footer.site-footer-premium .footer-premium-bottom::after { right: -2px; top: 14px; }

/* =====================================================
   FINAL REQUEST — full-screen first video + hero copy on Page 2
   ===================================================== */
.hero.hero-video {
  min-height: 100svh !important;
  height: 100svh !important;
  max-width: none !important;
  width: 100% !important;
  margin-top: -76px !important;
  padding: 76px 0 0 !important;
  display: block !important;
  position: relative !important;
  background: #f4f4f4 !important;
  overflow: hidden !important;
  isolation: isolate !important;
}
.hero.hero-video .hero-video-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  display: block !important;
  mix-blend-mode: normal !important;
  background: #f4f4f4 !important;
}
.hero.hero-video .hero-video-wash,
.hero.hero-video .hero-video-vignette,
.hero.hero-video .hero-grid,
.hero.hero-video .hero-video-scroll { display: none !important; }

/* Page 2 receives the former first-page wording. */
.services-hero-copy {
  width: min(100%, 980px);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}
.services-hero-copy .kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--orange);
}
.services-hero-copy .kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--orange);
}
.services-hero-copy h2 {
  max-width: 900px;
  margin: .55rem auto 1.15rem;
  color: #111820;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.services-hero-lede {
  max-width: 760px;
  margin: 0 auto;
  color: #5f6b75;
  font-size: clamp(.98rem, 1.25vw, 1.08rem);
  line-height: 1.72;
}
.services-hero-tags {
  justify-content: center;
  margin: 1.35rem 0 1.25rem;
}
.services-hero-tags span {
  color: #4f5a64 !important;
  border-color: #dce1e5 !important;
  background: rgba(255,255,255,.78) !important;
}
.services-hero-actions {
  justify-content: center;
  margin-top: 1rem;
}

/* Remove the small chapter/system labels requested in the reference screenshots. */
.services-system-note,
.about-scroll-note,
.contact-eyebrow,
.hero-video-meta,
.hero-video-frame { display: none !important; }

/* Footer: use the exact same Rhenium K mark construction as the header, scaled as one lockup. */
.site-footer-premium .footer-logo-lockup {
  align-items: center !important;
  gap: clamp(14px, 1.7vw, 24px) !important;
}
.site-footer-premium .footer-brand-mark {
  width: clamp(58px, 7.4vw, 105px) !important;
  height: clamp(58px, 7.4vw, 105px) !important;
  flex: 0 0 auto !important;
}
.site-footer-premium .footer-brand-mark .mark-white { fill: #111820 !important; }
.site-footer-premium .footer-brand-mark .mark-orange { fill: var(--orange) !important; }
.site-footer-premium .footer-brand-text { justify-content: center !important; }
.site-footer-premium .footer-brand-name {
  font-size: clamp(3.6rem, 8.7vw, 9.5rem) !important;
  line-height: .88 !important;
  letter-spacing: -.065em !important;
}
.site-footer-premium .footer-brand-tagline {
  margin-top: 9px !important;
  font-size: clamp(.68rem, 1.05vw, 1rem) !important;
  letter-spacing: .18em !important;
}

@media (max-width: 900px) {
  .hero.hero-video {
    margin-top: -68px !important;
    padding-top: 68px !important;
  }
}
@media (max-width: 640px) {
  .hero.hero-video {
    min-height: 100svh !important;
    height: 100svh !important;
    margin-top: -64px !important;
    padding-top: 64px !important;
  }
  .services-hero-copy {
    margin-bottom: 2rem;
  }
  .services-hero-copy h2 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }
  .services-hero-lede {
    font-size: .92rem;
    line-height: 1.6;
  }
  .services-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .services-hero-actions .btn { width: min(100%, 260px); justify-content: center; }
  .site-footer-premium .footer-brand-mark {
    width: 56px !important;
    height: 56px !important;
  }
  .site-footer-premium .footer-brand-name {
    font-size: clamp(3rem, 15vw, 5rem) !important;
  }
}

/* Keep quick facts inside Page 2 instead of creating a separate interstitial page. */
.services-story .facts-inline {
  max-width: none !important;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem) !important;
  padding: 0 !important;
}


/* =========================================================
   FINAL VISUAL FIXES — HD HERO / CONTACT TWO-TONE / MOBILE
========================================================= */
.hero.hero-video .hero-video-media {
  filter: contrast(1.035) saturate(1.025) brightness(1.008);
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1.001);
}

/* Page 5: orange information panel + white form panel. */
#contact.contact-premium {
  background: #fff !important;
  color: #ff6a00 !important;
  min-height: 100svh;
  position: relative;
}
#contact.contact-premium::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 48%;
  background: #ff6a00;
  pointer-events: none;
}
#contact .contact-ambient { z-index: 1; }
#contact .contact-ambient::before {
  opacity: .28;
  background-image: linear-gradient(rgba(17,24,32,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(17,24,32,.055) 1px, transparent 1px) !important;
  background-size: 42px 42px !important;
  mask-image: none;
}
#contact .contact-ambient::after { background: rgba(255,106,0,.22); }
#contact .contact-premium-inner { z-index: 3; }
#contact .contact-premium-copy,
#contact .contact-premium-copy .kicker,
#contact .contact-premium-copy h2,
#contact .contact-premium-copy h2 em,
#contact .contact-premium-copy .contact-lead,
#contact .contact-premium-details dt,
#contact .contact-premium-details dd,
#contact .contact-status-line {
  color: #fff !important;
}
#contact .contact-premium-copy h2 em {
  -webkit-text-stroke: 1px rgba(255,255,255,.9) !important;
}
#contact .contact-premium-details > div { border-top-color: rgba(255,255,255,.3) !important; }
#contact .contact-form-wrap {
  background: rgba(255,255,255,.98) !important;
  border-color: rgba(255,106,0,.28) !important;
  box-shadow: 0 30px 80px rgba(17,24,32,.08) !important;
  backdrop-filter: none !important;
}
#contact .contact-form-heading,
#contact .contact-form-heading p,
#contact .contact-premium-form label,
#contact .contact-submit-row p,
#contact .contact-premium-form input,
#contact .contact-premium-form textarea {
  color: #ff6a00 !important;
}
#contact .contact-premium-form input,
#contact .contact-premium-form textarea {
  border-bottom-color: rgba(255,106,0,.28) !important;
}
#contact .contact-premium-form input::placeholder,
#contact .contact-premium-form textarea::placeholder { color: rgba(255,106,0,.45) !important; }
#contact .contact-form-heading span,
#contact .contact-submit { color: #ff6a00 !important; }
#contact .contact-submit {
  background: #ff6a00 !important;
  color: #fff !important;
  border-color: #ff6a00 !important;
}
#contact .contact-form-wrap::before { background: linear-gradient(135deg,rgba(255,106,0,.65),transparent 35%,transparent 68%,rgba(255,106,0,.25)) !important; }
#contact .status-line { background: rgba(255,255,255,.35) !important; }
#contact .contact-signal,
#contact .contact-crosshair { z-index: 2; }

@media (max-width: 900px) {
  #contact.contact-premium::before {
    width: 100%;
    height: 49%;
    inset: 0 0 auto 0;
  }
  #contact .contact-premium-inner { position: relative; }
}

/* Keep Page 3 from racing through all four stages on fast trackpads/wheels. */
@media (min-width: 641px) {
  #capabilities.process-section .process-experience {
    overscroll-behavior: contain;
  }
}

/* FINAL CORRECTION — show the complete hero video without top/bottom cropping */
.hero.hero-video .hero-video-media {
  object-fit: contain !important;
  object-position: center center !important;
  background: #f4f4f4 !important;
}

/* Restore the About / Client-focused R&D stage to the previous light engineering look.
   Page 5 contact two-tone remains unchanged. */
#about .about-stage {
  background: var(--page-bg) !important;
  border: 1.5px solid var(--orange-border) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #111820 !important;
}
#about .about-stage::before {
  border-color: rgba(16,25,35,.12) !important;
  background: radial-gradient(circle at 74% 26%, rgba(255,106,0,.08), transparent 27%) !important;
}
#about .about-stage-label,
#about .about-stage-number,
#about .about-stage-content h3,
#about .about-stage-content p,
#about .about-stage-meta {
  color: #111820 !important;
}
#about .about-stage-label { color: var(--orange) !important; }
#about .about-stage-visual { color: #111820 !important; }


/* =========================================================
   FINAL REQUEST — NEW HERO VIDEO + REFERENCE CONTACT PAGE
========================================================= */
/* Page 1: use the newly supplied video and show its complete
   16:9 frame without cropping. On desktop the frame fills the
   viewport; the neutral canvas prevents any visible seam. */
@media (min-width: 801px) {
  .hero.hero-video {
    min-height: 100svh !important;
    height: 100svh !important;
    padding: 0 !important;
    background: #f4f4f4 !important;
  }
  .hero.hero-video .hero-video-media {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center center !important;
    mix-blend-mode: normal !important;
    background: #f4f4f4 !important;
  }
}

/* Page 5: match the supplied light reference — pale engineering
   canvas, dark oversized copy, orange construction lines and a
   clean white form panel. */
#contact.contact-premium {
  min-height: 100svh !important;
  height: auto !important;
  padding: 0 !important;
  display: grid !important;
  align-items: stretch !important;
  background: #f3f4f4 !important;
  color: #111820 !important;
  overflow: hidden !important;
}
#contact.contact-premium::before { display:none !important; }
#contact .contact-ambient {
  opacity: 1 !important;
  z-index: 0 !important;
  pointer-events:none !important;
}
#contact .contact-ambient::before {
  opacity: .42 !important;
  background-image:
    linear-gradient(rgba(17,24,32,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,32,.045) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  mask-image:none !important;
}
#contact .contact-ambient::after { display:none !important; }
#contact .contact-premium-inner {
  position:relative !important;
  z-index:3 !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  min-height:100svh !important;
  grid-template-columns: 58% 42% !important;
  gap:0 !important;
  align-items:stretch !important;
}
#contact .contact-premium-copy {
  padding: 1rem 4.1vw 2rem !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  box-sizing:border-box !important;
  color:#111820 !important;
  border-right:1px solid rgba(255,106,0,.72) !important;
}
#contact .contact-premium-copy .kicker {
  color:#69747e !important;
  margin:0 0 2.3rem !important;
  font:700 .86rem/1 var(--font-display) !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
}
#contact .contact-premium-copy h2 {
  max-width: 760px !important;
  margin: 0 !important;
  color:#111820 !important;
  font-size:clamp(4.2rem,7vw,7.5rem) !important;
  line-height:.84 !important;
  letter-spacing:-.065em !important;
  font-weight:700 !important;
}
#contact .contact-premium-copy h2 em {
  color:#111820 !important;
  -webkit-text-stroke:0 !important;
  font-style:normal !important;
}
#contact .contact-lead {
  max-width: 760px !important;
  margin: 2.7rem 0 0 !important;
  color:#69747e !important;
  font-size:clamp(1rem,1.25vw,1.25rem) !important;
  line-height:1.7 !important;
}
#contact .contact-premium-details {
  max-width: 800px !important;
  margin-top:auto !important;
  margin-bottom:0 !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:24px !important;
}
#contact .contact-premium-details > div {
  padding-top:12px !important;
  border-top:1px solid rgba(17,24,32,.12) !important;
}
#contact .contact-premium-details dt {
  color:#69747e !important;
  font-size:.72rem !important;
}
#contact .contact-premium-details dd {
  color:#111820 !important;
  font-size:.86rem !important;
}
#contact .contact-status-line { display:none !important; }

#contact .contact-form-wrap {
  width:auto !important;
  height:calc(100% - 34px) !important;
  margin:0 1.5vw 1.5vw 0 !important;
  align-self:end !important;
  box-sizing:border-box !important;
  padding:clamp(36px,4.2vw,58px) clamp(30px,3.3vw,62px) !important;
  border:1.5px solid rgba(255,106,0,.85) !important;
  border-radius:4px !important;
  background:rgba(248,249,249,.96) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
#contact .contact-form-wrap::before { display:none !important; }
#contact .contact-form-heading {
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  margin-bottom:3rem !important;
}
#contact .contact-form-heading span {
  color:#ff6a00 !important;
  font:800 1rem/1 var(--font-display) !important;
}
#contact .contact-form-heading p {
  margin:0 !important;
  color:#69747e !important;
  font:700 .68rem/1 var(--font-display) !important;
  letter-spacing:.16em !important;
}
#contact .contact-premium-form { gap:2rem !important; }
#contact .contact-premium-form label {
  color:#69747e !important;
  gap:.7rem !important;
  font:700 .68rem/1 var(--font-display) !important;
  letter-spacing:.12em !important;
}
#contact .contact-premium-form input,
#contact .contact-premium-form textarea {
  color:#111820 !important;
  background:#fff !important;
  border:0 !important;
  border-bottom:1px solid #ccd3d7 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
#contact .contact-premium-form input { height:70px !important; }
#contact .contact-premium-form textarea { min-height:164px !important; }
#contact .contact-premium-form input:focus,
#contact .contact-premium-form textarea:focus { border-bottom-color:#ff6a00 !important; }
#contact .contact-premium-form .field-shell i { display:none !important; }
#contact .contact-submit-row {
  margin-top:1rem !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:1.5rem !important;
}
#contact .contact-submit-row p {
  max-width:220px !important;
  margin:0 !important;
  color:#69747e !important;
  font-size:.88rem !important;
  line-height:1.5 !important;
}
#contact .contact-submit {
  min-width:218px !important;
  min-height:64px !important;
  border-radius:999px !important;
  background:#ff6a00 !important;
  color:#fff !important;
  border-color:#ff6a00 !important;
  font-size:1rem !important;
  box-shadow:none !important;
}

@media (max-width: 900px) {
  #contact.contact-premium { overflow:visible !important; }
  #contact .contact-premium-inner {
    min-height:auto !important;
    grid-template-columns:1fr !important;
  }
  #contact .contact-premium-copy {
    min-height:65vh !important;
    border-right:0 !important;
    border-bottom:1px solid rgba(255,106,0,.72) !important;
    padding:1rem 6vw 2.5rem !important;
  }
  #contact .contact-premium-copy h2 { font-size:clamp(3.2rem,13vw,5.5rem) !important; }
  #contact .contact-premium-details { margin-top:3rem !important; }
  #contact .contact-form-wrap {
    height:auto !important;
    margin:0 4vw 4vw !important;
  }
}

/* FINAL PAGE 5 — tighter match to supplied reference artwork */
#contact.contact-premium {
  min-height: 100svh !important;
  height: 100svh !important;
  padding: 0 !important;
  background: #f2f3f3 !important;
  color: #111820 !important;
}
#contact .contact-ambient::before {
  opacity: .48 !important;
  background-image:
    linear-gradient(rgba(17,24,32,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,32,.035) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
}
#contact .contact-premium-inner {
  min-height: 100svh !important;
  height: 100% !important;
  grid-template-columns: 58% 42% !important;
}
#contact .contact-premium-copy {
  position: relative !important;
  padding: 10px 3.75vw 24px !important;
  border-right: 1px solid rgba(255,106,0,.78) !important;
  overflow: hidden !important;
}
#contact .contact-premium-copy::after {
  content: "";
  position: absolute;
  left: 3.75vw;
  right: 0;
  top: 48.2%;
  height: 1px;
  background: rgba(255,106,0,.72);
  pointer-events: none;
}
#contact .contact-premium-copy .kicker {
  margin: 0 0 2.15rem !important;
  color: #69747e !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
}
#contact .contact-premium-copy h2 {
  width: 760px !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #101820 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: clamp(5rem, 7vw, 8.15rem) !important;
  line-height: .84 !important;
  letter-spacing: -.075em !important;
  font-weight: 800 !important;
}
#contact .contact-premium-copy h2 em {
  color: #101820 !important;
  font-style: normal !important;
  -webkit-text-stroke: 0 !important;
}
#contact .contact-lead {
  max-width: 780px !important;
  margin: 2.7rem 0 0 !important;
  color: #6b7781 !important;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem) !important;
  line-height: 1.65 !important;
}
#contact .contact-premium-details {
  width: 100% !important;
  max-width: 820px !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
}
#contact .contact-premium-details > div {
  padding-top: 0 !important;
  border-top: 0 !important;
}
#contact .contact-premium-details dt {
  color: #707b84 !important;
  font-size: .72rem !important;
  letter-spacing: .12em !important;
}
#contact .contact-premium-details dd {
  margin-top: .55rem !important;
  color: #111820 !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
}
#contact .contact-form-wrap {
  height: calc(100% - 18px) !important;
  margin: 0 1.5vw 18px 0 !important;
  padding: 52px 3.35vw 42px !important;
  border: 1.5px solid #ff6a00 !important;
  border-radius: 4px !important;
  background: #f7f8f8 !important;
}
#contact .contact-form-heading {
  margin-bottom: 2.7rem !important;
}
#contact .contact-form-heading span {
  color: #ff6a00 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
}
#contact .contact-form-heading p {
  color: #69747e !important;
  font-size: .67rem !important;
  letter-spacing: .16em !important;
}
#contact .contact-premium-form { gap: 1.75rem !important; }
#contact .contact-premium-form label {
  color: #69747e !important;
  font-size: .68rem !important;
  letter-spacing: .11em !important;
}
#contact .contact-premium-form input,
#contact .contact-premium-form textarea {
  color: #111820 !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #ccd3d7 !important;
}
#contact .contact-premium-form input { height: 70px !important; }
#contact .contact-premium-form textarea { min-height: 164px !important; }
#contact .contact-submit-row { margin-top: .9rem !important; }
#contact .contact-submit-row p {
  color: #69747e !important;
  font-size: .88rem !important;
}
#contact .contact-submit {
  min-width: 218px !important;
  min-height: 64px !important;
  background: #ff6a00 !important;
  color: #fff !important;
  border-color: #ff6a00 !important;
}

@media (max-width: 900px) {
  #contact.contact-premium { height: auto !important; min-height: auto !important; }
  #contact .contact-premium-inner { height: auto !important; }
  #contact .contact-premium-copy::after { display:none !important; }
  #contact .contact-premium-copy { padding: 18px 6vw 2.5rem !important; }
  #contact .contact-premium-copy h2 { width:auto !important; font-size:clamp(3.3rem,13vw,5.8rem) !important; }
  #contact .contact-form-wrap { margin:0 4vw 4vw !important; height:auto !important; }
}


/* =========================================================
   PRIMARY BRAND LOCKUP + LIGHT CONTACT / FOOTER
   ========================================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e3e7ea;
}
.header-inner { min-height: 72px; }
.brand-primary-lockup { display:flex; align-items:center; }
.brand-primary-logo {
  display:block;
  width: 174px;
  height:auto;
  max-height:58px;
  object-fit:contain;
}
.main-nav a:not(.btn) {
  color: #5b6773;
}
.main-nav a:not(.btn):hover,
.main-nav a.active { color:#18212b; }
.nav-toggle span { background:#18212b; }

/* Page 5 / contact: match the supplied light reference and keep all text visible. */
#contact.contact-premium {
  --contact-orange:#ff6a00;
  --contact-bg:#f4f5f5;
  min-height:100vh;
  padding: clamp(34px,4vw,64px) 0 18px;
  color:#18212b;
  background:#f4f5f5;
  overflow:hidden;
}
#contact .contact-ambient { opacity:.9; }
#contact .contact-ambient::before {
  opacity:.58;
  background-image:linear-gradient(rgba(24,33,43,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(24,33,43,.045) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:none;
}
#contact .contact-ambient::after {
  left:2.5%; right:0; top:51%;
  background:#ff6a00;
  opacity:.62;
}
#contact .contact-orbit { border-color:rgba(24,33,43,.08); }
#contact .orbit-one { width:700px;height:700px;right:-300px;top:-260px; }
#contact .orbit-two { border-color:rgba(255,106,0,.15); }
#contact .contact-signal { background:#f4f5f5; border-color:rgba(255,106,0,.7); }
#contact .contact-crosshair { border-color:rgba(24,33,43,.12); }
#contact .contact-crosshair::before,#contact .contact-crosshair::after { background:rgba(255,106,0,.25); }
#contact .contact-premium-inner {
  width:min(100%, 1710px);
  min-height:calc(100vh - 82px);
  margin:0 auto;
  padding:0 3.8vw;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(520px,.9fr);
  gap:0;
  align-items:stretch;
}
#contact .contact-premium-copy {
  padding:0 4.2vw 26px 0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
#contact .contact-eyebrow {
  margin:0 0 18px;
  color:#687684;
  font-size:11px;
  letter-spacing:.18em;
}
#contact .contact-eyebrow span { background:#ff6a00; }
#contact .contact-premium-copy .kicker {
  color:#687684;
  margin-bottom:20px;
}
#contact .contact-premium-copy h2 {
  max-width:780px;
  color:#18212b;
  font:800 clamp(4.4rem,7.2vw,8.5rem)/.87 var(--font-display);
  letter-spacing:-.075em;
}
#contact .contact-premium-copy h2 em {
  color:#18212b;
  -webkit-text-stroke:0;
}
#contact .contact-lead {
  max-width:850px;
  margin:26px 0 0;
  color:#687684;
  font-size:clamp(1rem,1.45vw,1.25rem);
  line-height:1.7;
}
#contact .contact-premium-details {
  max-width:850px;
  margin-top:42px;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
#contact .contact-premium-details > div {
  padding-top:11px;
  border-top:1px solid rgba(24,33,43,.16);
}
#contact .contact-premium-details dt { color:#687684; }
#contact .contact-premium-details dd { color:#18212b; font-size:.9rem; }
#contact .contact-status-line { color:#687684; }
#contact .status-line { background:rgba(24,33,43,.12); }

#contact .contact-form-wrap {
  align-self:stretch;
  padding:clamp(34px,4vw,62px);
  border:1.5px solid #ff6a00;
  border-radius:3px;
  background:#f8f9f9;
  box-shadow:none;
  backdrop-filter:none;
}
#contact .contact-form-wrap::before { display:none; }
#contact .contact-form-heading {
  margin-bottom:38px;
  color:#687684;
}
#contact .contact-form-heading span { color:#ff6a00; font-size:17px; }
#contact .contact-form-heading p { color:#687684; font-size:11px; }
#contact .contact-premium-form { gap:27px; }
#contact .contact-premium-form label {
  color:#687684;
  font-size:10px;
}
#contact .contact-premium-form input,
#contact .contact-premium-form textarea {
  padding:15px 12px;
  border:1px solid #d8dde1;
  border-radius:0;
  background:#fff;
  color:#18212b;
}
#contact .contact-premium-form textarea { min-height:160px; }
#contact .contact-premium-form .field-shell i { display:none; }
#contact .contact-submit-row { margin-top:12px; }
#contact .contact-submit-row p { color:#687684; }
#contact .contact-submit { background:#ff6a00; color:#fff; border-color:#ff6a00; }
#contact .form-status { color:#18212b; }

/* Footer: use the supplied primary logo on a light engineering-grid field. */
.site-footer.site-footer-premium {
  min-height:310px;
  padding:64px 32px 28px;
  background:#f4f5f5;
  border-top:1px solid #dce2e6;
  color:#18212b;
}
.site-footer-premium .footer-ambient span {
  background:linear-gradient(transparent,rgba(255,106,0,.22),transparent);
}
.site-footer-premium::before,
.site-footer-premium::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
.site-footer-premium::before {
  background-image:linear-gradient(rgba(24,33,43,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(24,33,43,.045) 1px,transparent 1px);
  background-size:24px 24px;
}
.site-footer-premium::after {
  background-image:linear-gradient(rgba(24,33,43,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(24,33,43,.04) 1px,transparent 1px);
  background-size:120px 120px;
}
.site-footer-premium .footer-premium-top,
.site-footer-premium .footer-premium-bottom,
.site-footer-premium .footer-copy { position:relative; z-index:2; }
.footer-primary-logo {
  display:block;
  width:260px;
  height:auto;
  max-height:130px;
  object-fit:contain;
}
.site-footer-premium .footer-tagline { color:#687684; }
.site-footer-premium .footer-tagline span { color:#18212b; }
.site-footer-premium .footer-nav a { color:#5b6773; }
.site-footer-premium .footer-nav a:hover { color:#18212b; }
.site-footer-premium .footer-social a { color:#18212b; border-color:#cfd6db; }
.site-footer-premium .footer-social a:hover { background:rgba(255,106,0,.08); }
.site-footer-premium .footer-premium-bottom { border-top:1px solid #d2d9de; }
.site-footer-premium .footer-premium-bottom .rule { background:#d2d9de; }
.site-footer-premium .footer-index,
.site-footer-premium .footer-top-link { color:#687684; }
.site-footer-premium .footer-brand-line { color:#18212b; }
.site-footer-premium .footer-copy { color:#687684; }

@media (max-width: 760px) {
  .brand-primary-logo { width:150px; max-height:52px; }
  #contact.contact-premium { padding:32px 0; }
  #contact .contact-premium-inner { display:block; min-height:auto; padding:0 20px; }
  #contact .contact-premium-copy { padding:0 0 36px; }
  #contact .contact-premium-copy h2 { font-size:clamp(3rem,13vw,5.2rem); }
  #contact .contact-premium-details { grid-template-columns:repeat(2,1fr); }
  #contact .contact-form-wrap { padding:28px 22px; }
  .footer-primary-logo { width:220px; }
}


/* Final contact visibility fix — keep Page 6 text readable on the light background. */
#contact.contact-premium .contact-premium-copy,
#contact.contact-premium .contact-premium-copy .kicker,
#contact.contact-premium .contact-premium-copy h2,
#contact.contact-premium .contact-premium-copy h2 em,
#contact.contact-premium .contact-premium-copy .contact-lead,
#contact.contact-premium .contact-premium-details dt,
#contact.contact-premium .contact-premium-details dd,
#contact.contact-premium .contact-status-line {
  color: #18212b !important;
  text-shadow: none !important;
}
#contact.contact-premium .contact-premium-copy h2 em {
  -webkit-text-stroke: 0 !important;
}
#contact.contact-premium .contact-premium-details > div {
  border-top-color: rgba(24,33,43,.16) !important;
}
#contact.contact-premium .contact-status-line .status-line {
  background: rgba(24,33,43,.12) !important;
}
#contact.contact-premium .contact-lead {
  opacity: 1 !important;
}

/* FINAL — enlarge primary Rhenium logo in footer */
.site-footer-premium .footer-primary-logo {
  width: 400px !important;
  max-width: min(400px, 100%) !important;
  max-height: 180px !important;
}
@media (max-width: 760px) {
  .site-footer-premium .footer-primary-logo {
    width: 310px !important;
    max-width: 100% !important;
    max-height: 150px !important;
  }
}


/* FINAL — larger, well-aligned contact details */
#contact .contact-premium-details {
  max-width: 760px !important;
  margin-top: 56px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 34px 48px !important;
}
#contact .contact-premium-details > div {
  padding-top: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#contact .contact-premium-details dt {
  font-size: .82rem !important;
  letter-spacing: .16em !important;
  margin: 0 !important;
}
#contact .contact-premium-details dd {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#contact .contact-premium-details dd a { color: inherit; text-decoration: none; transition: color .2s; }
#contact .contact-premium-details dd a:hover { color: var(--orange, #ff6a00); }
@media (max-width: 760px) {
  #contact .contact-premium-details { grid-template-columns: 1fr !important; gap: 24px !important; margin-top: 36px !important; }
  #contact .contact-premium-details dd { font-size: 1.15rem !important; }
}

/* FINAL — keep email on one line, tidy column proportions */
#contact .contact-premium-details {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
  gap: 30px 40px !important;
}
#contact .contact-premium-details dd { font-size: clamp(1.05rem, 1.35vw, 1.3rem) !important; overflow-wrap: normal; }
#contact .contact-premium-details dd a[href^="mailto"] { white-space: nowrap; }
@media (max-width: 760px) {
  #contact .contact-premium-details { grid-template-columns: 1fr !important; }
  #contact .contact-premium-details dd a[href^="mailto"] { white-space: normal; overflow-wrap: anywhere; }
}
