/* ==========================================================================
   RIEL — Page sections
   ========================================================================== */

/* --------------------------------------------------------- Home hero */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: flex-end;
  background: var(--c-dark);
  overflow: hidden;
}
@media (max-width: 767px) { .hero { min-height: 88svh; } }

.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
.hero__slide.is-active { opacity: 1; }
.hero__media { overflow: hidden; }
.hero__slide { overflow: hidden; }
.hero__slide img, .hero__slide video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,20,20,.9) 0%, rgba(20,20,20,.62) 42%, rgba(20,20,20,.2) 78%),
    linear-gradient(to top, rgba(20,20,20,.82) 0%, rgba(20,20,20,0) 55%);
}

.hero__inner {
  position: relative;
  width: 100%;
  /* the fixed header overlays the hero, so clear it here */
  padding-top: calc(var(--header-h) + clamp(48px, 8vh, 96px));
  padding-bottom: clamp(56px, 9vh, 112px);
}
.hero__content { max-width: 800px; }
.hero .eyebrow { color: #fff; opacity: .82; }
.hero h1 {
  color: #fff;
  margin-bottom: var(--s-5);
  /* Wide enough that every slide headline sets on exactly two lines at desktop;
     balance then evens the two out. Narrower and the longest one runs to three. */
  max-width: 22ch;
  text-wrap: balance;
}
@media (max-width: 1023px) { .hero h1 { max-width: 18ch; } }
@media (max-width: 767px)  { .hero h1 { max-width: none; text-wrap: pretty; } }
.hero__sub {
  font-size: var(--fs-lead);
  font-weight: 400;
  color: rgba(255,255,255,.84);
  max-width: 620px;
  margin-bottom: var(--s-7);
  line-height: 1.55;
}
.hero .btn-row { gap: var(--s-3); }
/* The two hero CTAs read as a pair: identical size, slimmer than the default
   large button. flex-basis 0 with equal grow makes their widths match exactly
   rather than following their label lengths. */
.hero .btn-row .btn {
  flex: 1 1 0;
  max-width: 264px;
  padding-top: 13px;
  padding-bottom: 13px;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .hero .btn-row .btn { flex: 1 1 100%; max-width: 360px; }
}

.hero__foot {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-5);
  margin-top: clamp(48px, 7vh, 88px);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__scroll {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-ui); font-size: var(--fs-xs);
  font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color var(--t-fast);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll svg { width: 15px; height: 15px; animation: bob 2s var(--ease-out) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }

.hero__dots { display: flex; align-items: center; gap: var(--s-4); }
.hero__index { font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.hero__dots-list { display: flex; gap: 7px; }
.hero__dot {
  width: 26px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.28);
  transition: background var(--t-base);
}
.hero__dot[aria-selected="true"] { background: var(--c-orange); }
@media (max-width: 639px) { .hero__foot { flex-direction: column; align-items: flex-start; gap: var(--s-4); } }

/* --------------------------------------------------------- Division split cards */

.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 767px) { .divisions { grid-template-columns: 1fr; } }

.division {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(400px, 46vw, 540px);
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-dark);
  isolation: isolate;
}
.division__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.division__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.division:hover .division__bg img { transform: scale(1.06); }
.division::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(16,16,16,.94) 8%, rgba(16,16,16,.55) 48%, rgba(16,16,16,.18) 100%);
}
.division__content { position: relative; width: 100%; }
.division__accent {
  width: 44px; height: 3px;
  background: var(--c-solar);
  margin-bottom: var(--s-5);
  transition: width var(--t-slow) var(--ease-out);
}
.division--steel .division__accent { background: #9FB0C7; }
.division:hover .division__accent { width: 88px; }
.division h3 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: var(--s-3);
  letter-spacing: -.01em;
}
.division__tag {
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  margin-bottom: var(--s-5);
}
.division__cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-ui); font-size: .9375rem; font-weight: 600; color: #fff;
}
.division__cta svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease-out); }
.division:hover .division__cta svg { transform: translateX(5px); }
.division__link { position: absolute; inset: 0; z-index: 3; }

/* --------------------------------------------------------- Split (image + text) */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--s-7); }
  .split--reverse .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-lg); }

/* Split sections that should line up with each other down the page share one
   ratio, so their images render at the same height in the same column width
   regardless of each photo's own proportions. */
.split__media--fixed img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}
@media (max-width: 900px) {
  .split__media--fixed img { aspect-ratio: 16 / 10; }
}
.split__media .ratio { border-radius: var(--r-lg); }

.split__badge {
  position: absolute;
  right: clamp(-12px, -1vw, 0px);
  bottom: clamp(-16px, -1.4vw, -12px);
  padding: var(--s-5) var(--s-6);
  background: var(--c-orange);
  color: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  max-width: 260px;
}
.split__badge strong { display: block; font-family: var(--font-ui); font-size: 2rem; line-height: 1; color: #fff; margin-bottom: 4px; }
.split__badge span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; opacity: .92; }

.facts-row {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-6); padding-top: var(--s-6);
  border-top: 1px solid var(--border);
}
.facts-row div { display: grid; gap: 2px; }
.facts-row strong { font-family: var(--font-ui); font-size: 1.125rem; color: var(--text-strong); }
.facts-row span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.section--dark .facts-row { border-color: var(--border-dark); }
.section--dark .facts-row strong { color: #fff; }

/* --------------------------------------------------------- Stats / counters */

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
}
@media (max-width: 1023px) { .stats { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
@media (max-width: 599px)  { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat { padding-top: var(--s-5); border-top: 2px solid var(--c-orange); }
.stat__value {
  display: flex; align-items: baseline; gap: 3px;
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--text-strong);
  letter-spacing: -.03em;
}
.stat__suffix { font-size: .45em; color: var(--c-orange); font-weight: 600; }
.stat__label {
  margin-top: var(--s-3);
  font-size: .9375rem;
  color: var(--text-muted);
}
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: var(--text-on-dark); }
.stat--tbd .stat__value { color: var(--text-muted); }

/* --------------------------------------------------------- Marquee (clients / awards) */

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: clamp(40px, 6vw, 84px); align-items: center; }
.marquee__track img {
  height: clamp(38px, 4vw, 54px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
  transition: filter var(--t-base), opacity var(--t-base);
}
.marquee:hover .marquee__track img { filter: grayscale(0); opacity: 1; }

/* --------------------------------------------------------- Project cards / rail */

/* Drag-to-scroll rail.
   Three cards sit fully in view with the next one peeking, so it is obvious
   there is more to the right. The native scrollbar is hidden in favour of the
   progress line below; touch and trackpad scrolling still work as normal, and
   the rail is keyboard-scrollable. */

.rail-wrap { position: relative; }

.rail {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.rail::-webkit-scrollbar { display: none; }

.rail > * {
  scroll-snap-align: start;
  /* three across, plus a peek of the fourth */
  flex: 0 0 calc((100% - (2 * var(--s-5)) - 56px) / 3);
}
@media (max-width: 1023px) {
  .rail > * { flex-basis: calc((100% - var(--s-5) - 48px) / 2); }
}
@media (max-width: 639px) {
  .rail > * { flex-basis: calc(100% - 56px); }
}

/* Grab affordance — pointer devices only; touch already drags natively. */
@media (pointer: fine) {
  .rail.is-draggable { cursor: grab; }
  .rail.is-grabbing {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  /* while dragging, never let a card swallow the gesture as a click or a
     native image drag */
  .rail.is-grabbing * { pointer-events: none; user-select: none; }
}

/* Progress line, in place of a scrollbar */
.rail-progress {
  position: relative;
  height: 2px;
  margin-top: var(--s-6);
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.rail-progress__bar {
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: var(--c-dark);
  border-radius: 2px;
  transform-origin: left center;
  will-change: transform;
}
.section--dark .rail-progress { background: rgba(255, 255, 255, .18); }
.section--dark .rail-progress__bar { background: var(--c-orange); }
.rail-progress[hidden] { display: none; }

.project-card { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; background: var(--c-dark); }
.project-card__media { aspect-ratio: 4 / 3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,16,16,.92) 4%, rgba(16,16,16,.35) 46%, transparent 72%);
}
.project-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: var(--s-5); }
.project-card__body h3 { color: #fff; font-size: 1.1875rem; margin-bottom: var(--s-3); }
.project-card__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-xs); color: rgba(255,255,255,.78); }
.project-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.project-card__meta svg { width: 13px; height: 13px; opacity: .8; }
.project-card__badges {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.project-card .badge { position: static; }

/* --------------------------------------------------------- Process timeline */

.process { display: grid; grid-template-columns: repeat(var(--process-cols, 5), 1fr); gap: var(--s-5); position: relative; }
.process:has(> .process__step:nth-child(6)) { --process-cols: 6; }
@media (max-width: 1199px) { .process:has(> .process__step:nth-child(6)) { --process-cols: 3; } }
@media (max-width: 1023px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px)  { .process { grid-template-columns: 1fr; } }

.process__step { position: relative; padding-top: var(--s-7); }
.process__step::before {
  content: ""; position: absolute; top: 15px; left: 0; right: 0;
  height: 1px; background: var(--border);
}
.process__step::after {
  content: ""; position: absolute; top: 10px; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px var(--c-orange-soft);
}
.section--dark .process__step::before { background: var(--border-dark); }
.section--dark .process__step::after { box-shadow: 0 0 0 4px rgba(244,124,32,.2); }
.process__num { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; color: var(--c-orange); }
.process__step h3 { font-size: 1.0625rem; margin: var(--s-2) 0 var(--s-2); }
.process__step p { font-size: .875rem; color: var(--text-muted); margin: 0; }
.section--dark .process__step p { color: var(--text-on-dark); }

/* --------------------------------------------------------- Heritage timeline */

.timeline { position: relative; display: grid; gap: var(--s-6); }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline__item { position: relative; padding-left: var(--s-8); }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--c-grey-300);
  transition: border-color var(--t-base), transform var(--t-base);
}
.timeline__item.is-key::before { border-color: var(--c-orange); transform: scale(1.15); }
.timeline__year { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--c-orange); line-height: 1; margin-bottom: var(--s-2); }
.timeline__item h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.timeline__item p { font-size: .9375rem; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------- Page hero (inner pages) */

.page-hero {
  position: relative;
  background: var(--c-dark);
  color: #fff;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(44px, 6vw, 84px));
  padding-bottom: clamp(56px, 9vw, 116px);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(24,24,24,.94), rgba(24,24,24,.62));
}
.page-hero__inner { position: relative; max-width: 860px; }
.page-hero .breadcrumb { margin-bottom: var(--s-6); }
.page-hero h1 { color: #fff; margin-bottom: var(--s-4); }
.page-hero p { font-size: var(--fs-lead); font-weight: 400; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 660px; margin: 0; }
.page-hero .btn-row { margin-top: var(--s-7); }

.page-hero__chips {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.16);
}
.page-hero__chips div { display: grid; gap: 3px; }
.page-hero__chips strong { font-family: var(--font-ui); font-size: 1.25rem; color: #fff; }
.page-hero__chips span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }

/* --------------------------------------------------------- Trust strip */

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
@media (max-width: 767px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust__item { display: flex; gap: var(--s-4); align-items: flex-start; }
.trust__item svg { width: 26px; height: 26px; flex: none; color: var(--c-orange); margin-top: 2px; }
.trust__item strong { display: block; font-family: var(--font-ui); font-size: 1rem; color: var(--text-strong); margin-bottom: 4px; }
.trust__item span { font-size: .875rem; color: var(--text-muted); }
.section--dark .trust__item strong { color: #fff; }
.section--dark .trust__item span { color: var(--text-on-dark); }

/* --------------------------------------------------------- Case study cards */

.case-card {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: var(--s-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.case-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-4px); }
.case-card__metric { text-align: left; }
.case-card__metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 700; line-height: 1;
  color: var(--c-orange);
  letter-spacing: -.03em;
}
.case-card__metric span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.case-card h3 { font-size: 1.375rem; margin-bottom: var(--s-2); }
.case-card p { margin: 0; font-size: .9375rem; color: var(--text-muted); }
@media (max-width: 899px) {
  .case-card { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* --------------------------------------------------------- Quote band */

.quote-band { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 899px) { .quote-band { grid-template-columns: 1fr; } }
.quote-band__info {
  background: var(--c-dark);
  color: var(--text-on-dark);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.quote-band__info h2 { color: #fff; }
.quote-band__list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.quote-band__list li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .9375rem; margin: 0; }
.quote-band__list svg { width: 20px; height: 20px; flex: none; color: var(--c-orange); margin-top: 2px; }
.quote-band__form {
  background: var(--c-grey-100);
  padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
}

/* --------------------------------------------------------- ROI calculator */

.roi { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 899px) { .roi { grid-template-columns: 1fr; } }

.roi__form {
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.roi__unit { display: inline-flex; gap: 4px; padding: 4px; background: var(--c-grey-100); border-radius: var(--r-pill); }
.roi__unit button {
  padding: 6px 14px; border-radius: var(--r-pill);
  font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted);
  transition: all var(--t-fast);
}
.roi__unit button[aria-pressed="true"] { background: #fff; color: var(--c-dark); box-shadow: var(--shadow-sm); }

.roi__results {
  padding: clamp(24px, 3vw, 40px);
  background: var(--c-dark);
  border-radius: var(--r-lg);
  color: var(--text-on-dark);
}
.roi__results h3 { color: #fff; font-size: 1.25rem; }
.roi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-block: var(--s-6); }
@media (max-width: 479px) { .roi__grid { grid-template-columns: 1fr; } }
.roi__metric { padding-top: var(--s-4); border-top: 1px solid var(--border-dark); }
.roi__metric strong {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; line-height: 1.1;
  color: #fff; letter-spacing: -.02em;
}
.roi__metric strong em { font-style: normal; font-size: .5em; color: var(--c-orange); font-weight: 600; }
.roi__metric > span { display: block; margin-top: 5px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); }
.roi__metric--hero strong { font-size: 2.5rem; color: var(--c-orange); }
.roi__metric--hero { border-top-color: var(--c-orange); grid-column: span 2; }
@media (max-width: 479px) { .roi__metric--hero { grid-column: span 1; } }

.roi__chart { margin-block: var(--s-6); }
.roi__chart svg { width: 100%; height: auto; overflow: visible; }

.roi__assumptions { margin-top: var(--s-5); border-top: 1px solid var(--border-dark); }
.roi__assumptions .acc-trigger { color: #fff; font-size: .9375rem; padding: var(--s-4) 0; }
.roi__assumptions .acc-trigger svg { color: rgba(255,255,255,.6); }
.roi__assumptions ul { list-style: none; margin: 0; padding: 0 0 var(--s-4); display: grid; gap: var(--s-2); }
.roi__assumptions li { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--fs-sm); margin: 0; border-bottom: 1px dashed var(--border-dark); padding-bottom: var(--s-2); }
.roi__assumptions li span:last-child { color: #fff; font-family: var(--font-ui); font-weight: 600; white-space: nowrap; }

.roi__disclaimer {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: rgba(244,124,32,.12);
  border-left: 3px solid var(--c-orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------- Product catalog (steel) */

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  text-align: center;
  transition: border-color var(--t-fast), box-shadow var(--t-base), transform var(--t-base);
}
.product:hover { border-color: var(--c-orange); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: var(--s-3); background: #fff; }
.product span {
  display: block;
  padding: var(--s-3);
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--c-dark);
  line-height: 1.35;
}

/* --------------------------------------------------------- Comparison table */

.compare-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.compare th, .compare td { padding: var(--s-4) var(--s-5); text-align: left; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.compare thead th {
  background: var(--c-grey-100);
  font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
}
.compare tbody th { font-family: var(--font-ui); font-weight: 600; color: var(--text-strong); width: 30%; }
.compare td:nth-child(2) { color: var(--text-strong); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: #2E7D32; font-weight: 700; }
.compare .no  { color: #C0392B; font-weight: 700; }

/* --------------------------------------------------------- Team */

.team-card { text-align: left; }
.team-card .ratio { border-radius: var(--r-md); margin-bottom: var(--s-4); aspect-ratio: 3 / 4; }
.team-card img { transition: transform var(--t-slow) var(--ease-out); }
.team-card:hover img { transform: scale(1.04); }
.team-card h3 { font-size: 1.125rem; margin-bottom: 3px; }
.team-card span { font-size: var(--fs-sm); color: var(--c-orange); font-family: var(--font-ui); font-weight: 600; }
.team-card small { display: block; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 2px; }

/* --------------------------------------------------------- Sticky rail (service pages) */

.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1023px) { .with-rail { grid-template-columns: 1fr; } }

.rail-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: var(--s-6);
  background: var(--c-grey-100);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.rail-card h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.rail-card p { font-size: .875rem; color: var(--text-muted); margin-bottom: var(--s-5); }
.rail-card .btn { width: 100%; margin-bottom: var(--s-2); }
@media (max-width: 1023px) { .rail-card { position: static; } }

/* --------------------------------------------------------- Prose (rich text) */

.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-7); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--c-orange); }
.prose img { border-radius: var(--r-md); margin-block: var(--s-6); }
.prose blockquote {
  margin: var(--s-7) 0;
  padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--c-orange);
  background: var(--c-grey-100);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-lead);
  color: var(--text-strong);
}

/* Bulleted check list */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.check-list li { display: flex; gap: var(--s-3); align-items: flex-start; margin: 0; font-size: .9375rem; }
.check-list svg { width: 19px; height: 19px; flex: none; color: var(--c-orange); margin-top: 2px; }

/* --------------------------------------------------------- Listing toolbar */

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border);
}
.toolbar__count { font-size: var(--fs-sm); color: var(--text-muted); }
.toolbar__right { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.toolbar select, .toolbar input[type="search"] {
  padding: 10px 16px;
  border: 1px solid var(--c-grey-300);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .875rem;
}
.toolbar input[type="search"] { min-width: 220px; }

/* --------------------------------------------------------- News */

.news-card .card__media { aspect-ratio: 16 / 10; }
.news-card__meta { display: flex; gap: var(--s-3); font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; }
.news-card__meta span:first-child { color: var(--c-orange); font-weight: 700; }

/* --------------------------------------------------------- Job list */

.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
  padding: var(--s-5) var(--s-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-base), transform var(--t-base);
}
.job:hover { border-color: var(--c-orange); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.job h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.job__meta { display: flex; flex-wrap: wrap; gap: var(--s-4); font-size: var(--fs-sm); color: var(--text-muted); }
.job__meta span { display: inline-flex; align-items: center; gap: 5px; }
.job__meta svg { width: 14px; height: 14px; color: var(--c-orange); }
@media (max-width: 599px) { .job { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- Download cards */

.download {
  display: flex; gap: var(--s-5); align-items: center;
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-base);
}
.download:hover { border-color: var(--c-orange); box-shadow: var(--shadow-sm); }
.download__icon {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--c-orange-soft);
  color: var(--c-orange);
}
.download__icon svg { width: 24px; height: 24px; }
.download h3 { font-size: 1.0625rem; margin-bottom: 3px; }
.download p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.download .btn { margin-left: auto; flex: none; }
@media (max-width: 599px) { .download { flex-wrap: wrap; } .download .btn { margin-left: 0; width: 100%; } }

/* --------------------------------------------------------- Standards badges */

.standards { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.standards span {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: #fff;
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-strong);
}
.section--dark .standards span { background: rgba(255,255,255,.05); border-color: var(--border-dark); color: #fff; }

/* ==========================================================================
   Brief v2 (2026-11-17) — homepage additions
   ========================================================================== */

/* Hero: "Precision Engineering | Energy | Infrastructures". The first part
   takes its own line; the remaining parts share the second with orange bars. */
.hero h1.hero__title--parts { max-width: none; text-wrap: initial; }
.hero__part { white-space: nowrap; }
.hero__part:first-child { display: block; }
.hero__part:first-child + .hero__sep { display: none; }
.hero__sep { color: var(--c-orange); font-weight: 400; padding-inline: .12em; }
@media (max-width: 479px) {
  .hero__part { display: block; }
  .hero__sep { display: none; }
}

/* Dual business cards: small label above the card name */
.division__eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin: 0 0 var(--s-2);
}

/* Industries */
.industry {
  padding: var(--s-6);
  background: #fff;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.industry p { margin: 0; font-size: .9375rem; color: var(--text-muted); }

/* Awards & certifications */
.awards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-4);
}
.award {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-5);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: #fff;
}
.award h3 { font-size: 1.0625rem; line-height: 1.35; margin: 0; }
.award__icon {
  flex: none; width: 44px; height: 44px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--c-solar-soft); color: var(--c-solar-ink);
}
.award__icon svg { width: 22px; height: 22px; }
.award--cert { background: var(--c-dark); border-color: var(--c-dark); }
.award--cert h3 { color: #fff; }
.award--cert .award__icon { background: rgba(255,255,255,.1); color: var(--c-orange); }
.award--cert .award__event, .award--cert .award__meta { color: rgba(255,255,255,.7); }
.award__event {
  font-family: var(--font-ui);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--s-1);
}
.award__meta { margin: var(--s-1) 0 0; font-size: var(--fs-sm); color: var(--text-muted); }

/* About: vision & mission (brief v2 §7.1) */
.mv .feature { padding: clamp(28px, 4vw, 48px); }
.mv h3 { font-size: 1.5rem; margin-bottom: var(--s-4); }
.mv__statement { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.4; color: var(--text-strong) !important; }
.mv .check-list { margin: 0; }

/* Division hubs (brief v2 §5) */
.hub-more { margin: var(--s-6) 0 0; font-size: var(--fs-sm); color: var(--text-muted); }
.hub-more a { color: var(--text-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hub-more a:hover { color: var(--c-orange); }

.models { gap: var(--s-5); }
.model {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--c-solar);
}
.model--opex { border-top-color: var(--c-orange); }
.model h3 { font-size: var(--fs-h3); margin: 0 0 var(--s-3); }
.model p:last-child { margin: 0; color: var(--text-muted); }
.model__tag {
  font-family: var(--font-ui); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: var(--ls-eyebrow); color: var(--c-solar-ink); margin: 0 0 var(--s-2);
}
.model--opex .model__tag { color: var(--c-orange-hover); }

.lifecycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
@media (max-width: 1023px) { .lifecycle { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px)  { .lifecycle { grid-template-columns: 1fr; } }
.lifecycle__step {
  position: relative; display: block;
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-card);
  color: inherit; text-decoration: none;
  transition: border-color var(--t-base), background var(--t-base);
}
a.lifecycle__step:hover { border-color: var(--c-solar); background: rgba(255,255,255,.04); }
.lifecycle__step > svg { width: 28px; height: 28px; color: var(--c-solar); margin-bottom: var(--s-4); }
.lifecycle__num { position: absolute; top: var(--s-5); right: var(--s-5); font-family: var(--font-head); font-weight: 700; color: rgba(255,255,255,.28); }
.lifecycle__step h3 { color: #fff; font-size: 1.125rem; margin: 0 0 var(--s-2); }
.lifecycle__step p { margin: 0; font-size: .9375rem; color: var(--text-on-dark); }

/* ROI: CO2 result (brief v2 §5.1) */
.roi__metric--green strong { color: #7BC67E; }

/* Project case study (brief v2 §6.2) */
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s-4); margin: var(--s-5) 0 var(--s-3); }
.result { padding: var(--s-5); border-radius: var(--r-card); background: var(--c-grey-100); border-top: 3px solid var(--c-orange); }
.result strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.15; color: var(--text-strong); }
.result span { display: block; margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--text-muted); }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin: 0; font-size: var(--fs-h3); }
