/* ==========================================================================
   ACDC Cranes Ltd | Website stylesheet
   Author: Rob Richardson
   Copyright 2026 Digital Design NE Ltd. All rights reserved.
   ========================================================================== */

:root {
  /* ACDC brand palette (sampled from overheadcranerepairs.co.uk) */
  --acdc-blue: #3263f3;
  --acdc-indigo: #4344a3;
  --acdc-indigo-2: #4c4dac;
  --acdc-navy: #02038d;
  --acdc-orange: #ff8a00;
  --acdc-orange-2: #df7a0e;
  --acdc-purple: #594c8f;
  --black: #000000;
  --charcoal: #2c2c2c;
  --text: #2f2f2f;
  --muted: #515151;
  --light: #f0f0f0;
  --line: #d3ced2;
  --white: #ffffff;

  --gutter: 35px;
  --radius: 10px;
  --header-h: 132px;
  --topbar-h: 37px;
  --bar-h: 108px;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--acdc-indigo); color: var(--white); border-radius: 6px; transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--acdc-orange); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Rolling label (hover text swap used across buttons and nav links)
   -------------------------------------------------------------------------- */
.roll { position: relative; display: inline-flex; overflow: hidden; vertical-align: top; }
.roll > span { display: block; transition: transform .45s var(--ease); white-space: nowrap; }
.roll::after {
  content: attr(data-label);
  position: absolute; left: 0; top: 100%;
  white-space: nowrap;
  transition: transform .45s var(--ease);
}
a:hover > .roll > span, a:focus-visible > .roll > span,
a:hover > .roll::after, a:focus-visible > .roll::after,
.btn:hover .roll > span, .btn:hover .roll::after { transform: translateY(-100%); }

/* Eyebrow: ACDC orange-to-purple dash + label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 15px; line-height: 1; font-weight: 600; letter-spacing: .2px;
  color: var(--muted);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 50px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--acdc-orange-2), var(--acdc-purple));
}
.eyebrow--light { color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   Header (fixed)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: var(--white);
  transition: transform .5s var(--ease);
}
.topbar { display: flex; height: var(--topbar-h); background: var(--black); }
.topbar a {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: flex-start;
  padding: 8px var(--gutter) 8px;
  font-size: 13px; line-height: 21px; font-weight: 500; color: var(--white);
  border: solid var(--acdc-blue); border-width: 0 1px 2px 1px;
  white-space: nowrap; overflow: hidden;
  transition: background-color .3s, color .3s;
}
.topbar a + a { border-left-width: 0; }
.topbar a:hover { background: #111; color: var(--acdc-orange); }
.topbar strong { font-weight: 600; color: var(--acdc-orange); margin-right: 6px; }

.mainbar { padding: 0 var(--gutter); }
.mainbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0 9px;
  border-bottom: 2px solid var(--acdc-orange);
}
.brand { display: flex; align-items: center; gap: 30px; flex: none; }
.brand__logo { width: 200px; height: auto; aspect-ratio: 465 / 170; }

.service-nav { display: flex; gap: 7px; }
.pill {
  display: inline-flex; align-items: center; height: 35px;
  padding: 5px 18px 6px; border-radius: 5px;
  background: var(--acdc-indigo); color: var(--white);
  font-size: 14px; line-height: 21px; font-weight: 500;
  transition: background-color .3s;
}
.pill:hover { background: var(--acdc-blue); }
.pill--hot { background: var(--acdc-orange); }
.pill--hot:hover { background: var(--acdc-orange-2); }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -9px; }
.menu-toggle__icon { position: relative; width: 26px; height: 18px; }
.menu-toggle__icon i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--acdc-indigo); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menu-toggle__icon i:nth-child(1) { top: 0; }
.menu-toggle__icon i:nth-child(2) { top: 8px; }
.menu-toggle__icon i:nth-child(3) { top: 16px; }
.menu-open .menu-toggle__icon i:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__icon i:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Mobile / tablet drawer */
.drawer {
  position: fixed; inset: 0; z-index: 9;
  background: var(--white);
  padding: calc(var(--header-h) + 20px) 20px calc(var(--bar-h) + 20px);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.menu-open .drawer { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.drawer:focus { outline: none; }
.drawer__services { display: grid; gap: 10px; }
.drawer__services .btn { width: 100%; justify-content: flex-start; height: 53px; }
.drawer__links { margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--acdc-blue); display: grid; gap: 2px; }
.drawer__links h3 { font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 10px 0 6px; }
.drawer__links a { padding: 7px 0; font-size: 17px; font-weight: 500; color: var(--acdc-indigo); }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Buttons (indigo, blue keyline, rising fill on hover)
   -------------------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--acdc-indigo); color: var(--white);
  font-size: 15px; line-height: 19.2px; font-weight: 600;
  pointer-events: auto;
}
.btn--lg { height: 53px; }
.btn--orange { background: var(--acdc-orange); }
.label-short { display: none !important; }
.btn .roll { z-index: 2; }
.btn::before {
  content: ""; position: absolute; z-index: 1;
  left: -10%; width: 120%; height: 157%;
  bottom: -165%;
  background: var(--acdc-blue); border-radius: 50%;
  transition: bottom .55s var(--ease), border-radius .55s var(--ease);
}
.btn--orange::before { background: var(--acdc-orange-2); }
.btn:hover::before, .btn:focus-visible::before { bottom: -30%; border-radius: 40%; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--acdc-blue); pointer-events: none; }
.btn--orange::after { box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Fixed action bar (bottom)
   -------------------------------------------------------------------------- */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 10;
  background: var(--white);
  padding: 15px var(--gutter);
}
.action-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 0;
  border-top: 2px solid var(--acdc-blue);
  border-bottom: 2px solid var(--acdc-orange);
}

/* --------------------------------------------------------------------------
   Main
   -------------------------------------------------------------------------- */
main {
  position: relative; z-index: 2;
  background: var(--white);
  padding-top: calc(var(--header-h) + 28px);
}
.section { padding: 50px var(--gutter); }
.rule { height: 2px; margin: 0 var(--gutter); }
.rule--orange { background: var(--acdc-orange); }
.rule--blue { background: var(--acdc-blue); }

.media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
}
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing > img { display: none; }
.media.is-missing::after {
  content: attr(data-fallback);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center;
  color: rgba(255, 255, 255, .55); font-weight: 600; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere;
  background: linear-gradient(135deg, var(--acdc-navy), var(--acdc-indigo));
}

/* Animated film grain */
.grain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.grain::before {
  content: ""; position: absolute; inset: -200%; width: 400%; height: 400%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .06;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(-10%, 10%); }
  20% { transform: translate(5%, -5%); }
  40% { transform: translate(-5%, -10%); }
  60% { transform: translate(10%, 5%); }
  80% { transform: translate(-8%, 3%); }
  100% { transform: translate(3%, -8%); }
}

/* Hero (crossfading slideshow of ACDC hero artwork) */
.hero { padding: 0 var(--gutter) var(--gutter); }
.hero .media { height: 630px; background: var(--charcoal); }
.slides { position: absolute; inset: 0; z-index: 0; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.is-active { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(28, 28, 28, .82) 0%, rgba(28, 28, 28, .55) 38%, rgba(28, 28, 28, 0) 62%);
}
.hero__content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px 40px 40px;
  color: var(--white);
  pointer-events: none;
}
.hero h1 {
  max-width: 680px;
  font-size: 60px; line-height: 1.04; letter-spacing: -1.5px; font-weight: 600;
}
.hero h1 em { font-style: normal; color: var(--acdc-orange); }
.hero__lede {
  max-width: 600px; margin-bottom: 26px;
  font-size: 22px; line-height: 1.3; letter-spacing: -.3px; font-weight: 500;
}
.hero__lede strong { display: block; color: var(--acdc-orange); font-weight: 600; margin-bottom: 6px; }
.dots { position: absolute; right: 40px; bottom: 40px; z-index: 3; display: flex; gap: 8px; }
.dots button { width: 34px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.dots button::after { content: ""; position: absolute; inset: 0; background: var(--acdc-orange); transform: scaleX(0); transform-origin: left; }
.dots button.is-active::after { transform: scaleX(1); transition: transform var(--slide-ms, 6000ms) linear; }
.dots button.is-done::after { transform: scaleX(1); }

/* Quick links (Crane Services / Products / Repairs 24/7) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  min-height: 260px; padding: 30px;
  border-radius: var(--radius);
  background: var(--acdc-navy); color: var(--white);
}
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .9s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 3, 141, .35) 0%, rgba(2, 3, 141, .92) 78%); transition: opacity .5s; }
.tile:hover > img { transform: scale(1.05); }
.tile__icon { width: 44px; height: 44px; color: var(--acdc-orange); }
.tile h2 { font-size: 30px; line-height: 1.08; letter-spacing: -.8px; font-weight: 600; }
.tile__more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--acdc-orange); }
.tile__more svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.tile:hover .tile__more svg { transform: translateX(5px); }

/* Section headings */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.sec-head h2, .standard h2 {
  font-size: 50px; line-height: 1.04; letter-spacing: -1.5px; font-weight: 600;
  color: var(--acdc-indigo);
}
.sec-head h2 { max-width: 700px; }
.sec-head p { max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* Card grids (services + products) */
.card-grid { display: grid; gap: 25px; }
.card-grid--services { grid-template-columns: repeat(3, 1fr); }
.card-grid--products { grid-template-columns: repeat(4, 1fr); }
.card { display: block; }
.card .media { aspect-ratio: 330 / 430; }
.card-grid--products .media { aspect-ratio: 1 / 1; background: var(--light); }
.card .media > img { transition: transform .8s var(--ease); }
.card-grid--products .media > img { object-fit: contain; }
.card:hover .media > img { transform: scale(1.04); }
.card__title {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 18px;
  font-size: 21px; line-height: 1.25; letter-spacing: -.4px; font-weight: 600;
  color: var(--acdc-indigo);
}
.card-grid--products .card__title { font-size: 18px; text-transform: uppercase; letter-spacing: .2px; }
.card--svc {
  display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 22px;
  padding: 14px; border-radius: 14px; background: var(--light);
  transition: background-color .35s, transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card--svc:hover { background: #ebebf7; transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(2, 3, 141, .5); }
.card--svc .media { border-radius: 8px; }
.card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 8px 6px 6px 0; }
.card--svc .card__title { margin-top: 0; font-size: 20px; line-height: 1.25; }
.card__more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--acdc-orange); }
.card__more svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.card--svc:hover .card__more svg { transform: translateX(4px); }
.card__arrow { flex: none; width: 22px; height: 22px; color: var(--acdc-orange); opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease); }
.card:hover .card__arrow, .card:focus-visible .card__arrow { opacity: 1; transform: none; }

/* Standard rows (About Us / InspectUs) */
.standard__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.standard__grid + .standard__grid { margin-top: 30px; }
.standard__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  min-height: 500px; padding: 50px 50px 56px;
  border-radius: var(--radius);
  background: var(--acdc-navy); color: var(--white);
}
.standard h2 { color: var(--white); }
.standard__card--light { background: var(--light); color: var(--text); }
.standard__card--light h2 { color: var(--acdc-indigo); }
.standard__body { display: grid; gap: 14px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.standard__card--light .standard__body { color: var(--muted); }
.standard__body strong { color: var(--white); font-weight: 600; }
.standard__card--light .standard__body strong { color: var(--acdc-indigo); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.features li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.features svg { flex: none; width: 28px; height: 28px; color: var(--acdc-orange); }
.standard .media { min-height: 500px; }
.standard .media > img { position: absolute; inset: 0; }
.media--contain { display: grid; place-items: center; background: #2d2d2d; }
.media--contain > img { position: static !important; width: auto !important; height: 92% !important; max-height: 640px; object-fit: contain !important; }
.media--right > img { object-position: right center; }
.media__tag {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  max-width: calc(100% - 48px);
  padding: 12px 18px; border-radius: 8px;
  background: var(--acdc-orange); color: var(--white);
  font-size: 18px; line-height: 1.2; font-weight: 600;
}

/* CTA */
.cta { padding: 50px var(--gutter); }
.cta .media { min-height: 359px; }
.cta .media > img { position: absolute; inset: 0; object-position: right center; }
.cta .media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2, 3, 141, .95) 0%, rgba(2, 3, 141, .82) 45%, rgba(2, 3, 141, .2) 100%); }
.cta__content {
  position: relative; z-index: 2;
  padding: 80px 80px 80px;
  color: var(--white);
}
.cta h2 { font-size: 40px; line-height: 1.1; letter-spacing: -1px; font-weight: 600; }
.cta p { max-width: 720px; margin: 20px 0 28px; font-size: 19px; line-height: 1.45; }
.cta p a { color: var(--acdc-orange); font-weight: 600; }

/* --------------------------------------------------------------------------
   Footer (revealed beneath main)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative; z-index: 1;
  background: var(--black); color: var(--line);
  padding: 50px var(--gutter) calc(var(--bar-h) + 50px);
}
.site-footer.is-reveal { position: sticky; bottom: 0; }
.footer__rule { height: 2px; background: var(--acdc-blue); }
.footer__rule--orange { background: var(--acdc-orange); }
.footer__top {
  position: relative;
  display: flex; justify-content: space-between; gap: 40px;
  padding: 30px 0 24px;
}
.footer__left { flex: 1 1 auto; max-width: 56%; display: flex; flex-direction: column; gap: 34px; }
.footer__brand { display: flex; align-items: center; gap: 28px; }
.footer__brand img { width: 230px; height: auto; aspect-ratio: 465 / 170; flex: none; }
.footer__blurb { max-width: 420px; font-size: 14px; line-height: 1.6; color: rgba(211, 206, 210, .8); }
.footer__contacts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; }
.footer__right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 40px; }
.group-badge { display: block; padding: 16px 22px; border-radius: 10px; background: var(--white); }
.group-badge img { display: block; width: 250px; height: auto; }
.footer__navs { display: flex; gap: 46px; }

.f-col h3 { font-size: 15px; line-height: 19.2px; font-weight: 600; color: var(--white); margin-bottom: 14px; }
.f-col p, .f-col li { font-size: 14px; line-height: 21px; }
.f-col .f-label { font-size: 13px; line-height: 19.2px; font-weight: 600; color: var(--acdc-orange); margin: 12px 0 4px; }
.f-col a { opacity: .85; transition: opacity .25s, color .25s; overflow-wrap: anywhere; }
.f-col a:hover { opacity: 1; color: var(--white); }
.f-map { width: 100%; height: 150px; border: 0; border-radius: 8px; filter: grayscale(.35) contrast(1.05); background: #111; }
.f-nav h3 { margin-bottom: 22px; }
.f-nav__cols { display: flex; gap: 46px; }
.f-nav ul { display: grid; align-content: start; gap: 11px; min-width: 98px; }
.f-nav li { white-space: nowrap; }
.f-nav a { position: relative; display: inline-block; padding-bottom: 3px; }
.f-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--acdc-orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.f-nav a:hover::after, .f-nav a:focus-visible::after { transform: scaleX(1); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 0 0; }
.footer__legal { font-size: 14px; line-height: 1.7; color: rgba(211, 206, 210, .75); }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.footer__legal nav a:hover { color: var(--acdc-orange); }
.footer__marks { display: flex; align-items: center; gap: 40px; }
.partners { display: flex; align-items: center; gap: 12px; }
.partners li { display: grid; place-items: center; width: 104px; height: 56px; padding: 10px 12px; border-radius: 8px; background: var(--white); }
.partners li.is-missing { display: none; }
.partners img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.credit img { width: 150px; height: auto; opacity: .85; transition: opacity .25s; }
.credit:hover img { opacity: 1; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Header compacts on scroll: top bar slides away */
.is-scrolled .site-header { transform: translateY(calc(var(--topbar-h) * -1)); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .service-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .topbar a { padding-left: 18px; padding-right: 18px; }
  .footer__top { flex-direction: column; }
  .footer__left { max-width: none; }
  .footer__right { align-items: flex-start; }
  .group-badge { position: absolute; top: 34px; right: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__marks { flex-wrap: wrap; }
  .partners { flex-wrap: wrap; }
}

@media (max-width: 1199px) {
  .hero .media { height: 600px; }
  .hero h1 { font-size: 50px; max-width: 520px; }
  .hero__lede { font-size: 19px; max-width: 500px; }
  .hero__shade { background: linear-gradient(90deg, rgba(28, 28, 28, .92) 0%, rgba(28, 28, 28, .8) 48%, rgba(28, 28, 28, .25) 100%); }
  .tiles { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .tile { min-height: 230px; padding: 24px; }
  .tile h2 { font-size: 24px; }
  .card-grid--services { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card-grid--products { grid-template-columns: repeat(2, 1fr); row-gap: 35px; }
  .card__title { font-size: 18px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .standard__grid { grid-template-columns: 1fr; }
  .standard__grid--rev .media { order: -1; }
  .standard .media { min-height: 0; aspect-ratio: 16 / 9; }
  .standard .media--contain { aspect-ratio: auto; height: 520px; }
  .standard__card { min-height: 0; padding: 45px; }
  .cta__content { padding: 70px 60px; }
  .topbar a:nth-child(5) { display: none; }
}

@media (max-width: 809px) {
  :root { --gutter: 20px; --header-h: 92px; --bar-h: 92px; }
  .topbar { display: none; }
  .is-scrolled .site-header { transform: none; }
  .mainbar__inner { padding: 10px 0 8px; }
  .brand__logo { width: 170px; }
  main { padding-top: calc(var(--header-h) + 10px); }

  .hero .media { height: min(82vh, 660px); min-height: 560px; }
  .hero__shade { background: linear-gradient(180deg, rgba(28, 28, 28, .9) 0%, rgba(28, 28, 28, .55) 45%, rgba(28, 28, 28, .92) 100%); }
  .hero__content { padding: 28px 24px 30px; }
  .hero h1 { font-size: 38px; line-height: 1.06; letter-spacing: -1px; }
  .hero__lede { font-size: 17px; margin-bottom: 20px; }
  .hero .btn { height: 48px; padding: 12px 18px; font-size: 14px; }
  .hero__content { padding-top: 46px; }
  .dots { left: 24px; right: auto; top: 22px; bottom: auto; }
  .dots button { width: 22px; }

  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile { min-height: 190px; }

  .sec-head h2, .standard h2 { font-size: 36px; letter-spacing: -1px; }
  .sec-head p { font-size: 16px; }
  .section { padding: 32px var(--gutter); }
  .card-grid--services { grid-template-columns: 1fr; gap: 14px; }
  .card--svc { grid-template-columns: minmax(0, 38%) 1fr; gap: 16px; padding: 12px; }
  .card--svc .card__title { font-size: 17px; }
  .card-grid--products { grid-template-columns: 1fr 1fr; gap: 16px; row-gap: 26px; }
  .card__title { font-size: 15px; margin-top: 12px; }
  .card-grid--products .card__title { font-size: 14px; }
  .card__arrow { display: none; }

  .standard__card { padding: 32px 24px 36px; }
  .standard__body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .standard .media--contain { height: 440px; }
  .media__tag { left: 16px; bottom: 16px; font-size: 15px; }

  .cta { padding: 30px var(--gutter); }
  .cta .media::before { background: linear-gradient(180deg, rgba(2, 3, 141, .94) 0%, rgba(2, 3, 141, .86) 100%); }
  .cta__content { padding: 44px 26px; }
  .cta h2 { font-size: 30px; }
  .cta p { font-size: 17px; }

  .action-bar { padding: 10px var(--gutter); }
  .action-bar__inner { padding: 12px 0; gap: 10px; }
  .action-bar .btn { flex: 1 1 0; padding: 12px 12px; font-size: 15px; }
  .label-full { display: none !important; }
  .label-short { display: inline-flex !important; }

  .site-footer { padding-top: 30px; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__brand img { width: 180px; }
  .footer__contacts { grid-template-columns: 1fr 1.15fr; gap: 28px 14px; }
  .footer__contacts .f-col--map { grid-column: 1 / -1; }
  .group-badge { position: static; align-self: flex-start; padding: 12px 16px; }
  .group-badge img { width: 210px; }
  .footer__right { flex-direction: column-reverse; gap: 34px; }
  .footer__navs { flex-direction: column; gap: 34px; }
  .f-nav__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .f-nav li { white-space: normal; }
  .f-nav h3 { margin-bottom: 16px; }
  .partners li { width: 92px; height: 50px; }
}

@media (max-width: 389px) {
  .action-bar .btn { font-size: 14px; padding: 12px 8px; }
  .hero h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Footer: client login links (matches the rsis.co.uk footer) */
.f-nav__sub { margin-top: 26px; }
.flogin { display: inline-flex; align-items: center; gap: 8px; }
.flogin::before { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--acdc-blue); border-right: 2px solid var(--acdc-blue); transform: rotate(45deg); flex: none; }
.flogin:hover::before { border-color: var(--acdc-orange); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.pill.is-current { box-shadow: inset 0 -3px 0 var(--acdc-orange); }
.pill--hot.is-current { box-shadow: inset 0 -3px 0 var(--white); }

/* Page banner (same card treatment as the homepage hero, shorter) */
.hero--page .media { height: 380px; background: var(--acdc-navy); }
.hero--page .media--plain { background: linear-gradient(120deg, var(--acdc-navy) 0%, var(--acdc-indigo) 100%); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 3, 141, .9) 0%, rgba(2, 3, 141, .62) 48%, rgba(2, 3, 141, .15) 100%); }
.media--plain .page-hero__shade { display: none; }
.page-hero__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 40px; color: var(--white); }
.hero--page h1 { max-width: 900px; font-size: 52px; line-height: 1.06; letter-spacing: -1.5px; font-weight: 600; }
.page-hero__lede { max-width: 640px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--acdc-orange); border-right: 2px solid var(--acdc-orange); transform: rotate(45deg); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* Body copy */
.page-body + .page-body { padding-top: 10px; }
.prose { max-width: 860px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose .ph2 { font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; font-weight: 600; color: var(--acdc-indigo); margin-top: 34px; }
.prose .ph3 { font-size: 26px; line-height: 1.2; letter-spacing: -.5px; font-weight: 600; color: var(--acdc-indigo); margin-top: 30px; }
.prose .ph4 { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--acdc-indigo); margin-top: 24px; }
.prose > :first-child { margin-top: 0; }
.prose .eyebrow { margin-top: 34px; margin-bottom: -6px; }
.prose .eyebrow + .ph2 { margin-top: 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a:not(.btn) { color: var(--acdc-blue); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--acdc-orange); }
.list { list-style: none; padding: 0; display: grid; gap: 10px; }
.list > li { position: relative; padding-left: 30px; }
.list > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 7px; border-left: 2.5px solid var(--acdc-orange); border-bottom: 2.5px solid var(--acdc-orange); transform: translateY(-50%) rotate(-45deg); }
ol.list { counter-reset: n; }
ol.list > li { counter-increment: n; padding-left: 38px; }
ol.list > li::before { content: counter(n); width: 26px; height: 26px; top: .1em; border: 0; transform: none; border-radius: 50%; background: var(--acdc-indigo); color: var(--white); font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.btn-row + .btn-row { margin-top: 12px; }
.prose .btn-row { margin-top: 26px; }
.btn__icon { position: relative; z-index: 2; display: inline-flex; width: 18px; height: 18px; margin-left: 12px; }
.btn__icon svg { width: 100%; height: 100%; }
.btn-note { font-weight: 600; color: var(--acdc-indigo); }

/* Text and images side by side */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.split .prose { max-width: none; }
.split__media { position: sticky; top: calc(var(--header-h) - var(--topbar-h) + 20px); }
.split__media .gallery { grid-template-columns: 1fr 1fr; }
.split__media .gallery--one { grid-template-columns: 1fr; }

/* Images */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery--one { grid-template-columns: 1fr; }
.figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--light); }
.figure img { width: 100%; height: auto; display: block; }
.gallery:not(.gallery--one) .figure { aspect-ratio: 4 / 3; }
.gallery:not(.gallery--one) .figure img { height: 100%; object-fit: cover; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid #e3e1ea; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid #ebe9f1; }
.data-table th { background: var(--acdc-indigo); color: var(--white); font-weight: 600; }
.data-table tr:nth-child(even) td { background: #f7f7fb; }
.data-table td:first-child { font-weight: 600; color: var(--acdc-indigo); white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }

/* Cards on inner pages */
.page-body .card-grid { margin-top: 10px; }
.card--plain .media { aspect-ratio: 4 / 3; }
.card--plain .media > img { object-fit: cover; }

/* Legal pages */
.legal { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal ol { counter-reset: item; list-style: none; padding-left: 0; }
.legal ol ol { padding-left: 34px; margin-top: 8px; }
.legal li { counter-increment: item; position: relative; padding-left: 40px; margin-top: 10px; }
.legal li::before { content: counters(item, ".") "."; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--acdc-indigo); }
.legal > ol > li { margin-top: 26px; }
.legal > ol > li > strong:first-child { display: block; font-size: 22px; letter-spacing: -.3px; color: var(--acdc-indigo); }
.legal a { color: var(--acdc-blue); overflow-wrap: anywhere; }

/* Enquiry form */
.enquiry { margin-top: 10px; padding: 34px; border-radius: 14px; background: var(--light); }
.enquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.enquiry label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--acdc-indigo); }
.enquiry__full { grid-column: 1 / -1; }
.enquiry input, .enquiry textarea { width: 100%; padding: 13px 15px; border: 1.5px solid #dad8e4; border-radius: 9px; background: var(--white); font: inherit; font-weight: 400; font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.enquiry textarea { resize: vertical; min-height: 150px; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--acdc-blue); box-shadow: 0 0 0 4px rgba(50, 99, 243, .14); }
.enquiry .is-invalid { border-color: #d83a2e; }
.enquiry__hp { position: absolute !important; left: -9999px; }
.enquiry__status { margin-top: 14px; font-weight: 600; color: var(--acdc-indigo); min-height: 1.4em; }
.enquiry__status.is-error { color: #c0392b; }

@media (max-width: 1199px) {
  .hero--page .media { height: 340px; }
  .hero--page h1 { font-size: 44px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split__media { position: static; }
}
@media (max-width: 809px) {
  .hero--page .media { height: auto; min-height: 280px; }
  .page-hero__content { position: relative; padding: 28px 24px; min-height: 280px; }
  .hero--page h1 { font-size: 34px; letter-spacing: -1px; }
  .prose { font-size: 16px; }
  .prose .ph2 { font-size: 30px; }
  .prose .ph3 { font-size: 22px; }
  .enquiry { padding: 22px 18px; }
  .enquiry__grid { grid-template-columns: 1fr; }
  .data-table td:first-child { white-space: normal; }
  .split__media .gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Site-wide page components
   ========================================================================== */
.ico { width: 26px; height: 26px; color: var(--acdc-orange); flex: none; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }

/* Section heading used on inner pages */
.sec-head h2 { color: var(--acdc-indigo); }
.sec-head--inner { align-items: flex-end; }
.sec-head--inner .prose { max-width: 760px; }
.sec-head--inner .prose .ph2 { margin-top: 0; }

/* Split rows alternate sides */
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.split--rev .split__media { order: -1; }

/* Card variants */
.card-grid--services2 { grid-template-columns: repeat(4, 1fr); }
.card-grid--tiles { grid-template-columns: repeat(3, 1fr); }
.card--service .media, .card--tile .media { aspect-ratio: 4 / 3; }
.card--service .media > img, .card--tile .media > img { object-fit: cover; }
.card--text { display: flex; align-items: flex-end; min-height: 120px; padding: 22px; border-radius: var(--radius); background: var(--acdc-navy); }
.card--text .card__title { margin: 0; color: var(--white); width: 100%; }
.card--text .card__arrow { opacity: 1; transform: none; color: var(--acdc-orange); }
.card--static .card__arrow { display: none; }
.card--static:hover .media > img { transform: none; }
.card--tile .card__title { font-size: 19px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; }
.partner-logo { height: 54px; width: auto; }

/* Data table sub rows */
.data-table tr.sub td { padding-top: 0; border-top: 0; color: var(--muted); }

/* Category browser */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 10px; }
.cat-card { position: relative; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 18px; padding: 14px 20px 14px 14px; border-radius: 14px; background: var(--light); transition: background-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.cat-card:hover { background: #ebebf7; transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(2, 3, 141, .55); }
.cat-card .media { aspect-ratio: 1; border-radius: 10px; background: var(--white); }
.cat-card .media > img { object-fit: contain; padding: 6px; }
.cat-card h3 { font-size: 18px; line-height: 1.25; font-weight: 600; color: var(--acdc-indigo); }
.cat-card span { font-size: 14px; color: var(--muted); }
.cat-card .card__arrow { width: 22px; height: 22px; color: var(--acdc-orange); }
.cat-card .card__arrow svg { width: 100%; height: 100%; }
.cat-card--text { grid-template-columns: 1fr auto; padding: 22px 22px; background: var(--acdc-navy); }
.cat-card--text h3 { color: var(--white); }
.cat-card--text span { color: rgba(255, 255, 255, .75); }
.cat-card--text:hover { background: var(--acdc-indigo); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--light); color: var(--acdc-indigo); font-size: 14px; font-weight: 600; border: 1.5px solid transparent; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--acdc-indigo); }
.chip.is-on { background: var(--acdc-indigo); color: var(--white); }
.card.is-hidden { display: none; }

/* Product page */
.product-top { padding-top: 10px; }
.product-top .crumbs ol { color: var(--muted); margin-bottom: 22px; }
.product-top .crumbs a:hover, .product-top .crumbs [aria-current] { color: var(--acdc-indigo); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.pgal { position: sticky; top: calc(var(--header-h) - var(--topbar-h) + 20px); }
.pgal__main { aspect-ratio: 1; border-radius: 14px; background: var(--light); overflow: hidden; display: grid; place-items: center; }
.pgal__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.pgal__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pgal__thumb { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--light); border: 2px solid transparent; transition: border-color .2s; }
.pgal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pgal__thumb.is-on, .pgal__thumb:hover { border-color: var(--acdc-orange); }
.pinfo .eyebrow a:hover { color: var(--acdc-indigo); }
.pinfo__title { font-size: 52px; line-height: 1.04; letter-spacing: -1.5px; font-weight: 600; color: var(--acdc-indigo); }
.pinfo__sub { margin: 14px 0 22px; font-size: 21px; line-height: 1.35; font-weight: 500; color: var(--text); }
.pinfo .btn-row { margin: 28px 0 26px; }
.pinfo__facts { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid #e6e4ee; }
.pinfo__facts li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.pinfo__facts a { color: var(--acdc-indigo); font-weight: 600; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.spec { padding: 28px 30px; border-radius: 14px; background: var(--light); }
.spec .prose, .spec { max-width: none; }
.spec .ph3 { margin-top: 0; font-size: 22px; }
.spec > * + * { margin-top: 14px; }
.spec p, .spec li { font-size: 16px; line-height: 1.6; color: var(--muted); }
.video-frame { border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; max-width: 1100px; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; }

/* Vacancies */
.job-list { display: grid; gap: 16px; }
.job-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 26px 30px; border-radius: 14px; background: var(--light); transition: background-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.job-card:hover { background: #ebebf7; transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(2, 3, 141, .55); }
.job-card__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--acdc-navy); }
.job-card h3 { font-size: 24px; letter-spacing: -.4px; font-weight: 600; color: var(--acdc-indigo); }
.job-card__meta { display: flex; gap: 8px; margin: 8px 0 10px; }
.job-card__meta span { padding: 4px 11px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 600; color: var(--acdc-indigo); }
.job-card p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 760px; }
.job-card__go { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--acdc-orange); white-space: nowrap; }
.job-card__go svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.job-card:hover .job-card__go svg { transform: translateX(4px); }
.job { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; align-items: start; }
.apply { position: sticky; top: calc(var(--header-h) - var(--topbar-h) + 20px); padding: 30px; border-radius: 14px; background: var(--acdc-navy); color: var(--white); }
.apply h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.5px; font-weight: 600; margin-bottom: 10px; }
.apply p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.apply__mail { color: var(--acdc-orange); font-weight: 600; overflow-wrap: anywhere; }
.apply .btn { margin: 18px 0 14px; width: 100%; }
.apply__note a { color: var(--white); font-weight: 600; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 14px; background: var(--light); transition: background-color .3s, transform .45s var(--ease); }
a.contact-card:hover { background: #ebebf7; transform: translateY(-3px); }
.contact-card h3 { margin-top: 8px; font-size: 18px; font-weight: 600; color: var(--acdc-indigo); }
.contact-card p { font-size: 15px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.contact-card strong { color: var(--acdc-orange); }
.contact-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.contact-main .ph2 { font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; font-weight: 600; color: var(--acdc-indigo); }
.contact-lede { margin: 14px 0 22px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.contact-lede a { color: var(--acdc-indigo); font-weight: 600; }
.contact-map { min-height: 420px; border-radius: 14px; overflow: hidden; background: var(--light); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 1199px) {
  .card-grid--services2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--tiles { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; gap: 30px; }
  .pgal { position: static; max-width: 620px; }
  .pinfo__title { font-size: 42px; }
  .job { grid-template-columns: 1fr; }
  .apply { position: static; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-main { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}
@media (max-width: 809px) {
  .card-grid--services2, .card-grid--tiles { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { grid-template-columns: 72px 1fr auto; }
  .pinfo__title { font-size: 34px; letter-spacing: -1px; }
  .pinfo__sub { font-size: 18px; }
  .specs { grid-template-columns: 1fr; }
  .spec { padding: 22px; }
  .pgal__thumb { width: 64px; height: 64px; }
  .job-card { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .job-card__icon { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-main .ph2 { font-size: 32px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .chip { flex: none; }
}

/* Heading left, copy right (long text sections) */
.lead-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 50px; align-items: start; }
.lead-split__head { position: sticky; top: calc(var(--header-h) - var(--topbar-h) + 24px); font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; font-weight: 600; color: var(--acdc-indigo); }
.lead-split__head::before { content: ""; display: block; width: 50px; height: 3px; border-radius: 2px; margin-bottom: 18px; background: linear-gradient(90deg, var(--acdc-orange-2), var(--acdc-purple)); }
.lead-split .prose { max-width: none; }
@media (max-width: 1199px) { .lead-split { grid-template-columns: 1fr; gap: 20px; } .lead-split__head { position: static; } }
@media (max-width: 809px) { .lead-split__head { font-size: 30px; } }
.page-body .prose:has(.table-wrap) { max-width: none; }
.page-body .prose .table-wrap { max-width: 1100px; }
.cta .media > img { width: 100%; height: 100%; object-fit: cover; }
.f-nav a.flogin { display: inline-flex; }
.flogin::before { display: block; }
a.group-badge { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.group-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(50, 99, 243, .6); }
