/* ==========================================================================
   Alladi Cloud Solutions — design system
   Every colour on the site comes from the tokens below, so a palette is one block.
     --accent       solid fills (buttons, bars, icons) — white text sits on it
     --accent-hi    lighter accent for highlighted words / numbers on the dark bg
     --accent-soft  softest tint (focus rings, dashed rules)
   Legacy names (--indigo / --teal / --mint / --orange) map onto these.
   ========================================================================== */

:root {
  /* Ember — black, white and dark orange */
  --ink-950: #000000; --ink-900: #070707; --ink-850: #0E0E0E; --ink-800: #141414; --ink-700: #1C1C1C;
  --ink-rgb: 7, 7, 7;
  --accent: #D9480F; --accent-hi: #FF6A13; --accent-soft: #FF8A3D;
  --accent-rgb: 217, 72, 15; --accent-hi-rgb: 255, 106, 19;
  --text: #FFFFFF; --text-dim: #C8C8C8; --text-mute: #8C8C8C;
}

:root {
  --indigo: var(--accent);
  --indigo-400: var(--accent-hi);
  --indigo-300: #FFFFFF;
  --teal: var(--accent);
  --teal-400: var(--accent-hi);
  --teal-300: var(--accent-soft);
  --mint: #FFFFFF;
  --orange: var(--accent);
  --orange-hi: var(--accent-hi);

  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --glass: rgba(var(--ink-rgb), 0.55);
  --glass-hi: rgba(var(--ink-rgb), 0.7);

  --grad: linear-gradient(var(--accent), var(--accent));
  --grad-soft: linear-gradient(rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.16));
  --grad-text: linear-gradient(var(--accent-hi), var(--accent-hi));

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 20px 50px -20px rgba(var(--accent-rgb), 0.55);
  --shadow-teal: 0 20px 50px -20px rgba(var(--accent-rgb), 0.55);

  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Poppins', 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-900) !important;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(var(--accent-rgb), 0.4); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-950); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; border: 2px solid var(--ink-950); }

.acs h1, .acs h2, .acs h3, .acs h4, .acs h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 0; line-height: 1.15; }
.acs h1, .acs h2 { font-weight: 800; }
.acs p { color: var(--text-dim); margin: 0; }
.acs a { text-decoration: none; color: inherit; }
.acs a:hover { text-decoration: none; }
.acs img { max-width: 100%; }
.acs ul { margin: 0; padding: 0; }
.acs b, .acs strong { color: var(--text); font-weight: 600; }

/* ---------- Page shell & ambient background ---------- */
.acs { position: relative; isolation: isolate; overflow: hidden; overflow-x: clip; overflow-y: visible; background: transparent; }
.acs-aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--ink-900); }
.acs-aurora span, .acs-aurora::after { display: none !important; }
.acs-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: acs-drift 26s var(--ease) infinite alternate; }
.acs-aurora span:nth-child(1) { width: 46vw; height: 46vw; top: -18vw; left: -10vw; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.55), transparent 65%); }
.acs-aurora span:nth-child(2) { width: 40vw; height: 40vw; top: 20vh; right: -14vw; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.42), transparent 65%); animation-duration: 32s; animation-delay: -6s; }
.acs-aurora span:nth-child(3) { width: 34vw; height: 34vw; bottom: -14vw; left: 30vw; background: radial-gradient(circle, rgba(var(--accent-hi-rgb), 0.35), transparent 65%); animation-duration: 38s; animation-delay: -12s; }
.acs-aurora::after { content: ""; position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes acs-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(6vw, 5vh, 0) scale(1.15); } }

.acs-gridlines { display: none; }

.acs-container { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.acs-container--wide { max-width: 1400px; }
.acs-container--narrow { max-width: 880px; }

/* ---------- Sections ---------- */
.acs-section { position: relative; padding: 96px 0; }
.acs-section--tight { padding: 70px 0; }
.acs-section--flush-top { padding-top: 0; }
.acs-section--band { background: var(--ink-850); }

.acs-section-head { max-width: 720px; margin: 0 0 56px; }
.acs-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.acs-section-head--center .acs-eyebrow { justify-content: center; }
.acs-section-head h2 { font-size: clamp(30px, 4.2vw, 52px); margin-bottom: 18px; }
.acs-section-head p { font-size: 17px; line-height: 1.7; }
.acs-section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }

/* ---------- Typography helpers ---------- */
.acs-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 0; border: 0; border-radius: 0; background: none; color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.acs-eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--orange); }
.acs-eyebrow--plain { padding: 0; border: 0; background: none; backdrop-filter: none; }
@keyframes acs-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.acs-grad-text, .acs-accent { background: none !important; -webkit-text-fill-color: currentColor; color: var(--orange-hi) !important; }
.acs-serif { font-family: var(--font-display); font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--orange-hi); }
.acs-lede { font-size: 18px; line-height: 1.75; color: var(--text-dim); }
.acs-kicker { font-family: var(--font-display); font-weight: 600; color: var(--mint); }
.acs-muted { color: var(--text-mute) !important; }

/* ---------- Buttons ---------- */
.acs-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 100px; border: 1.5px solid transparent; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease); isolation: isolate; }
.acs-btn i { font-size: 12px; transition: transform 0.35s var(--ease); }
.acs-btn:hover i.fa-arrow-right, .acs-btn:hover i.fa-arrow-right-long { transform: translateX(4px); }
.acs-btn--primary { color: #fff !important; background: var(--orange); box-shadow: none; }
.acs-btn--primary:hover { color: #fff !important; background: var(--orange-hi); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(var(--accent-rgb), 0.9); }
.acs-btn--ghost { color: #fff !important; background: transparent; border-color: rgba(255, 255, 255, 0.7); }
.acs-btn--ghost:hover { color: var(--ink-900) !important; border-color: #fff; background: #fff; transform: translateY(-2px); }
.acs-btn--sm { padding: 10px 18px; font-size: 13px; }
.acs-btn--play { padding: 8px 20px 8px 8px; }
.acs-btn--play .acs-play-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: none; }
.acs-btn--play .acs-play-dot i { font-size: 11px; margin-left: 2px; }
.acs-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--teal-300) !important; }
.acs-link i { font-size: 11px; transition: transform 0.3s var(--ease); }
.acs-link:hover i { transform: translateX(4px); }
.acs-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Glass cards ---------- */
.acs-card { position: relative; border-radius: var(--radius-lg); padding: 32px; background: var(--ink-800); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: none; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s var(--ease); }
.acs-card::before { display: none; }
.acs-card::after { display: none; }
.acs-card:hover { border-color: rgba(var(--accent-rgb), 0.7); }
.acs-card--lift:hover { transform: translateY(-6px); }
.acs-card > * { position: relative; z-index: 1; }
.acs-card h3 { font-size: 21px; margin-bottom: 12px; }
.acs-card p { font-size: 15px; line-height: 1.7; }
.acs-card--flat { background: var(--ink-800); }

.acs-icon { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 20px; color: #fff; background: var(--orange); box-shadow: none; margin-bottom: 22px; }
.acs-icon--teal { background: var(--orange); color: #fff; box-shadow: none; }
.acs-icon--indigo { background: var(--orange); }
.acs-icon--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--orange-hi); box-shadow: none; }
.acs-icon--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; margin-bottom: 0; }

.acs-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-mute); }

/* ---------- Pills / chips ---------- */
.acs-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.acs-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 600; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); }
.acs-pill--teal { color: var(--orange-hi); border-color: rgba(var(--accent-rgb), 0.6); }

.acs-checks { list-style: none; display: grid; gap: 14px; }
.acs-checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.acs-checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; display: grid; place-items: center; font-size: 10px; background: var(--orange); color: #fff; }

/* ---------- Stats ---------- */
.acs-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); background: var(--ink-800); overflow: hidden; }
.acs-stat { padding: 30px 28px; position: relative; }
.acs-stat + .acs-stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, 0.12); }
.acs-stat b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--orange-hi); }
.acs-stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-mute); }

/* ---------- Media placeholders (swap src later) ---------- */
.acs-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 10; background: var(--ink-800); border: 1px solid rgba(255, 255, 255, 0.1); }
.acs-media::before { content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; border: 1px dashed rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.85); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; background: rgba(0, 0, 0, 0.4); }
.acs-media::after { display: none; }
.acs-media > img, .acs-media > video, .acs-media > iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.acs-media.is-missing > img { display: none; }
.acs-media--square { aspect-ratio: 1 / 1; }
.acs-media--portrait { aspect-ratio: 4 / 5; }
.acs-media--wide { aspect-ratio: 21 / 9; }
.acs-media--video { aspect-ratio: 16 / 9; }
.acs-media-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(0, 0, 0, 0.12); }
.acs-media-tag { position: absolute; z-index: 3; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: rgba(0, 0, 0, 0.6); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--text); text-transform: uppercase; }
.acs-media-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 10px var(--accent-hi); }
.acs-media .acs-btn--play { position: absolute; z-index: 3; left: 18px; bottom: 18px; }
.acs-frame { position: relative; padding: 0; border-radius: var(--radius-lg); background: none; border: 0; }
.acs-frame::before { display: none; }

/* ---------- Floating glass badge ---------- */
.acs-float { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(var(--ink-rgb), 0.9); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: none; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; animation: acs-bob 6s ease-in-out infinite; }
.acs-float i, .acs-float img { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 13px; padding: 6px; object-fit: contain; }
.acs-float small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--text-mute); }
@keyframes acs-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Background video (duotone: black · white · orange) ---------- */
/* Full-bleed hero loop: extends up under the floating nav (offset set by header.html). */
.acs-herovid { position: absolute; left: 0; right: 0; top: calc(-1 * var(--acs-nav-offset, 120px)); bottom: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #000; }
.acs-herovid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; transform: scale(1.02); animation: acs-kenburns 30s ease-in-out infinite alternate; }
.acs-herovid::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.52); }
.acs-herovid::after { display: none; }
@keyframes acs-kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hm-hero, .acs-page-hero { isolation: isolate; }
.hm-hero h1, .hm-hero p, .acs-page-hero h1, .acs-page-hero p, .acs-page-hero .acs-eyebrow, .hm-hero .acs-eyebrow { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.hm-hero .acs-lede, .acs-page-hero .acs-lede, .acs-page-hero p { color: #fff !important; }
.hm-hero > .acs-gridlines, .acs-page-hero > .acs-gridlines { z-index: 1; }

/* Media cards filled with a loop — tinted so every clip stays on-palette */
.acs-media--duo::before { display: none; }
.acs-media--duo > video { filter: none; }
.acs-media--duo::after { display: none; }

/* Tech logos in their own brand colours, animated.
   Each tile carries --brand (set inline). Logo sits on a white chip so every mark reads true;
   a brand-coloured ring breathes around it, the logo floats, and hover lights the whole tile. */
.acs .hm-tile-logo, .acs .cp-tech-logo, .acs .cb-tile-logo, .acs .lt-tile-logo {
  position: relative; background: #fff !important; border: 0 !important; border-radius: 14px !important;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand, var(--accent)) 55%, transparent);
  animation: acs-brand-pulse 3.2s ease-in-out infinite; transition: transform 0.35s var(--ease), box-shadow 0.35s ease; }
.acs .hm-tile-logo img, .acs .cp-tech-logo img, .acs .cb-tile-logo img, .acs .lt-tile-logo img { filter: none; animation: acs-logo-float 3.2s ease-in-out infinite; }
.acs .hm-tile-logo i, .acs .cp-tech-logo i, .acs .cb-tile-logo i, .acs .lt-tile-logo i { color: var(--brand, var(--accent)) !important; animation: acs-logo-float 3.2s ease-in-out infinite; }
.acs .acs-float img { filter: none; background: #fff; }
/* stagger so the row shimmers instead of pulsing in unison */
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n+2) :is(.hm-tile-logo, .cp-tech-logo, .cb-tile-logo, .lt-tile-logo),
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n+2) :is(img, i) { animation-delay: -1.1s; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n) :is(.hm-tile-logo, .cp-tech-logo, .cb-tile-logo, .lt-tile-logo),
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n) :is(img, i) { animation-delay: -2.2s; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile) { border-color: color-mix(in srgb, var(--brand, #fff) 28%, transparent) !important; transition: border-color 0.35s ease, transform 0.35s var(--ease), background 0.35s ease, box-shadow 0.35s ease !important; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):hover { border-color: var(--brand, var(--accent)) !important; background: color-mix(in srgb, var(--brand, var(--accent)) 10%, var(--ink-850)) !important; transform: translateY(-4px); box-shadow: 0 16px 34px -18px var(--brand, var(--accent)) !important; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):hover :is(.hm-tile-logo, .cp-tech-logo, .cb-tile-logo, .lt-tile-logo) { transform: scale(1.1) rotate(-4deg); animation-play-state: paused; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand, var(--accent)) 30%, transparent) !important; }
@keyframes acs-brand-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand, var(--accent)) 50%, transparent), 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand, var(--accent)) 22%, transparent), 0 0 18px 2px color-mix(in srgb, var(--brand, var(--accent)) 35%, transparent); } }
@keyframes acs-logo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* Animated colour-gradient frame + sweep on every tech tile.
   ::before = rotating conic gradient ring (brand -> orange -> white), masked to a 1.5px border.
   ::after  = soft diagonal gradient wash that drifts across the tile. */
@property --acs-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile) { position: relative; isolation: isolate; overflow: hidden; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile)::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; padding: 1.5px;
  width: auto; height: auto; filter: none; opacity: 0.85; border-radius: inherit;
  background: conic-gradient(from var(--acs-ang), var(--brand, var(--accent)), transparent 22%, var(--accent-hi) 40%, transparent 55%, #ffffff 68%, transparent 80%, var(--brand, var(--accent)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: acs-spin-ang 6s linear infinite; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, color-mix(in srgb, var(--brand, var(--accent)) 22%, transparent) 42%, color-mix(in srgb, var(--accent) 16%, transparent) 58%, transparent 80%);
  background-size: 260% 100%; animation: acs-sweep 7s ease-in-out infinite; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n+2)::before { animation-delay: -2s; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n)::before { animation-delay: -4s; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n+2)::after { animation-delay: -2.3s; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):nth-child(3n)::after { animation-delay: -4.6s; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile):hover::before { opacity: 1; animation-duration: 2.2s; }
.acs :is(.hm-tile, .cp-tech, .cb-tile, .lt-tile) > * { position: relative; z-index: 2; }
@keyframes acs-spin-ang { to { --acs-ang: 360deg; } }
@keyframes acs-sweep { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }

/* ---------- Page hero (inner pages) ---------- */
.acs-page-hero { position: relative; padding: 90px 0 90px; }
.acs-page-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.acs-page-hero h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 24px; }
.acs-page-hero .acs-lede { max-width: 580px; margin-bottom: 34px; }
.acs-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 13px; color: var(--text-mute); }
.acs-crumbs a { color: var(--text-dim); }
.acs-crumbs a:hover { color: var(--teal-300); }
.acs-crumbs i { font-size: 9px; opacity: 0.6; }

/* ---------- Marquee ---------- */
.acs-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.acs-marquee-track { display: flex; gap: 18px; width: max-content; animation: acs-marquee 40s linear infinite; }
.acs-marquee:hover .acs-marquee-track { animation-play-state: paused; }
.acs-marquee--reverse .acs-marquee-track { animation-direction: reverse; }
@keyframes acs-marquee { to { transform: translateX(-50%); } }

/* ---------- Tabs ---------- */
.acs-tabs-nav { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 100px; background: var(--ink-800); border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 36px; }
.acs-tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: 100px; border: 0; background: transparent; color: var(--text-mute); font-family: var(--font-display); font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.35s var(--ease); }
.acs-tab:hover { color: var(--text); }
.acs-tab.is-active { color: #fff; background: var(--orange); box-shadow: none; }
.acs-tab-panel { display: none; }
.acs-tab-panel.is-active { display: block; animation: acs-fade-up 0.6s var(--ease); }
@keyframes acs-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Accordion ---------- */
.acs-acc { border-top: 1px solid var(--line); }
.acs-acc-item { border-bottom: 1px solid var(--line); }
.acs-acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; color: var(--text); font-family: var(--font-display); font-size: 18px; font-weight: 600; text-align: left; cursor: pointer; }
.acs-acc-btn i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--teal-300); font-size: 12px; transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.acs-acc-item.is-open .acs-acc-btn i { transform: rotate(45deg); background: rgba(var(--accent-rgb), 0.15); }
.acs-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acs-acc-item.is-open .acs-acc-body { grid-template-rows: 1fr; }
.acs-acc-body > div { overflow: hidden; }
.acs-acc-body > div > * { padding-bottom: 24px; }

/* ---------- Steps / timeline ---------- */
.acs-timeline { position: relative; display: grid; gap: 28px; padding-left: 40px; }
.acs-timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--orange); }
.acs-timeline-item { position: relative; }
.acs-timeline-item::before { content: ""; position: absolute; left: -40px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink-900); border: 2px solid var(--teal-300); box-shadow: none; }

/* ---------- Glow divider ---------- */
.acs-divider { height: 1px; border: 0; margin: 0; background: rgba(255, 255, 255, 0.12); }

/* ---------- Forms ---------- */
.acs-field { display: grid; gap: 8px; }
.acs-field label { font-size: 13px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; }
.acs-input, .acs select, .acs textarea, .acs input[type="text"], .acs input[type="email"], .acs input[type="tel"], .acs input[type="number"] { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.55); color: var(--text); font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.acs textarea { min-height: 140px; resize: vertical; }
.acs select option { background: var(--ink-900); color: var(--text); }
.acs-input::placeholder, .acs input::placeholder, .acs textarea::placeholder { color: var(--text-mute); }
.acs-input:focus, .acs select:focus, .acs textarea:focus, .acs input:focus { border-color: var(--teal-300); background: rgba(0, 0, 0, 0.8); box-shadow: 0 0 0 4px rgba(var(--accent-hi-rgb), 0.14); }

/* ---------- CTA band ---------- */
.acs-cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 64px; background: var(--orange); border: 0; }
.acs-cta h2, .acs-cta p, .acs-cta .acs-eyebrow, .acs-cta .acs-grad-text, .acs-cta .acs-accent, .acs-cta .acs-serif { color: #fff !important; }
.acs-cta .acs-eyebrow::before { background: #fff; }
.acs-cta .acs-btn--primary { background: var(--ink-900); }
.acs-cta .acs-btn--primary:hover { background: #fff; color: var(--ink-900) !important; }
.acs-cta .acs-btn--ghost { border-color: #fff; }
.acs-cta h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 14px; }

/* ---------- Video modal ---------- */
.acs-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(10px); }
.acs-modal.is-open { display: flex; animation: acs-fade-up 0.4s var(--ease); }
.acs-modal-inner { position: relative; width: 100%; max-width: 1040px; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--line-strong); box-shadow: 0 50px 120px -30px rgba(var(--accent-rgb), 0.5); }
.acs-modal-inner video { width: 100%; max-height: 80vh; display: block; }
.acs-modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.7); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 15px; }
.acs-modal-close:hover { background: var(--indigo); }

/* ---------- Scroll reveal ---------- */
.acs-reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.acs-reveal.is-visible { opacity: 1; transform: none; }
.acs-reveal--left { transform: translateX(-40px); }
.acs-reveal--right { transform: translateX(40px); }
.acs-reveal--zoom { transform: scale(0.94); }
.no-js .acs-reveal { opacity: 1; transform: none; }

/* ---------- Generic grids ---------- */
.acs-grid { display: grid; gap: 24px; }
.acs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.acs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.acs-grid--4 { grid-template-columns: repeat(4, 1fr); }
.acs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.acs-split--reverse > :first-child { order: 2; }

/* Bento: 6-col grid with span helpers */
.acs-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.acs-span-2 { grid-column: span 2; }
.acs-span-3 { grid-column: span 3; }
.acs-span-4 { grid-column: span 4; }
.acs-span-6 { grid-column: span 6; }
.acs-row-2 { grid-row: span 2; }

@media (max-width: 1080px) {
  .acs-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .acs-bento { grid-template-columns: repeat(2, 1fr); }
  .acs-bento > * { grid-column: span 1; }
  .acs-bento > .acs-span-4, .acs-bento > .acs-span-6 { grid-column: span 2; }
  .acs-row-2 { grid-row: auto; }
}
@media (max-width: 960px) {
  .acs-herovid::before { background: rgba(0, 0, 0, 0.55); }
  .acs-section { padding: 72px 0; }
  .acs-page-hero { padding: 60px 0; }
  .acs-page-hero-grid, .acs-split, .acs-section-head--split { grid-template-columns: 1fr; gap: 44px; }
  .acs-split--reverse > :first-child { order: 0; }
  .acs-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .acs-stats { grid-template-columns: repeat(2, 1fr); }
  .acs-stat:nth-child(3)::before { display: none; }
  .acs-cta { padding: 44px 32px; }
}
@media (max-width: 640px) {
  .acs-container { padding: 0 16px; }
  .acs-section { padding: 64px 0; }
  .acs-grid--2, .acs-grid--3, .acs-grid--4, .acs-bento { grid-template-columns: 1fr; }
  .acs-bento > * { grid-column: span 1 !important; }
  .acs-card { padding: 24px; }
  .acs-stats { grid-template-columns: 1fr 1fr; }
  .acs-stat { padding: 22px 18px; }
  .acs-float { display: none; }
  .acs-tabs-nav { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 100px; }
  .acs-tabs-nav::-webkit-scrollbar { display: none; }
  .acs-tab { flex: none; padding: 10px 16px; font-size: 13px; }
  .acs-cta { padding: 36px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .acs-reveal { opacity: 1; transform: none; }
  .acs-herovid video { animation: none; }
}

/* ---------- Clean look: strip decorative glow layers that pages add ---------- */
.acs [class*="-glow"], .acs [class*="-blob"], .acs [class$="-ring"], .acs [class*="-ring "], .acs [class*="-ring--"],
.acs-aurora span, .acs-gridlines { display: none !important; }
.acs [class*="-dots"]:not(.fa-comment-dots) { display: none !important; }

/* Solid-orange panels: accents switch to white, icons to black chips */
.hm-adv-label .acs-grad-text, .ab-build .acs-grad-text, .ab-mv-mission .acs-grad-text, .cp-cap--hero .acs-grad-text, .cl-client--feature .acs-grad-text, .cb-forecast .acs-grad-text, .lt-proof .acs-grad-text, .om-pillar--accent .acs-grad-text, .hm-adv-label .acs-serif, .ab-build .acs-serif, .ab-mv-mission .acs-serif, .cp-cap--hero .acs-serif, .cl-client--feature .acs-serif, .cb-forecast .acs-serif, .lt-proof .acs-serif, .om-pillar--accent .acs-serif, .hm-adv-label .acs-accent, .ab-build .acs-accent, .ab-mv-mission .acs-accent, .cp-cap--hero .acs-accent, .cl-client--feature .acs-accent, .cb-forecast .acs-accent, .lt-proof .acs-accent, .om-pillar--accent .acs-accent, .hm-adv-label p, .ab-build p, .ab-mv-mission p, .cp-cap--hero p, .cl-client--feature p, .cb-forecast p, .lt-proof p, .om-pillar--accent p, .hm-adv-label span, .ab-build span, .ab-mv-mission span, .cp-cap--hero span, .cl-client--feature span, .cb-forecast span, .lt-proof span, .om-pillar--accent span, .hm-adv-label small, .ab-build small, .ab-mv-mission small, .cp-cap--hero small, .cl-client--feature small, .cb-forecast small, .lt-proof small, .om-pillar--accent small { color: #fff !important; }
.hm-adv-label .acs-icon, .ab-build .acs-icon, .ab-mv-mission .acs-icon, .cp-cap--hero .acs-icon, .cl-client--feature .acs-icon, .cb-forecast .acs-icon, .lt-proof .acs-icon, .om-pillar--accent .acs-icon { background: var(--ink-900) !important; color: #fff !important; }
.hm-adv-label .acs-pill, .ab-build .acs-pill, .ab-mv-mission .acs-pill, .cp-cap--hero .acs-pill, .cl-client--feature .acs-pill, .cb-forecast .acs-pill, .lt-proof .acs-pill, .om-pillar--accent .acs-pill { border-color: rgba(255, 255, 255, 0.6); color: #fff; }

/* ==========================================================================
   LAYOUT LAYER — "Architectural grid"
   Square frames, hairline cells, numbered editorial section heads,
   split-screen inner heroes. Colours and fonts are unchanged.
   ========================================================================== */
:root { --radius-xl: 0; --radius-lg: 0; --radius-md: 0; --radius-sm: 0; --hair: rgba(255, 255, 255, 0.12); }
.acs *:not([class*="orbit"]):not([class*="ring"]):not(.cp-orbit-center):not(.hm-orbit-dot):not(.acs-btn):not(.acs-play-dot):not(.acs-btn i):not(.hm-tile-logo):not(.cp-tech-logo):not(.cb-tile-logo):not(.lt-tile-logo),
.acs *::before, .acs *::after { border-radius: 0 !important; }
.acs { counter-reset: acs-sec; }

/* ---- Buttons: rectangular, uppercase, spaced ---- */
/* Buttons: soft pill with the arrow in its own circle */
.acs .acs-btn { border-radius: 999px !important; padding: 15px 30px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; gap: 14px; }
.acs .acs-btn:has(> i.fa-arrow-right:last-child) { padding-right: 8px; }
.acs .acs-btn > i.fa-arrow-right:last-child, .acs .acs-btn > i.fa-arrow-right-long:last-child { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50% !important; font-size: 11px; background: rgba(255, 255, 255, 0.2); transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease; }
.acs .acs-btn--ghost > i.fa-arrow-right:last-child { background: rgba(255, 255, 255, 0.12); }
.acs .acs-btn:hover > i.fa-arrow-right:last-child { transform: translateX(3px); background: #fff; color: var(--accent); }
.acs .acs-btn--primary:hover > i.fa-arrow-right:last-child { background: var(--accent); color: #fff; }
.acs .acs-btn--ghost:hover > i.fa-arrow-right:last-child { background: var(--accent); color: #fff; }
.acs .acs-cta .acs-btn--primary:hover > i.fa-arrow-right:last-child { background: var(--ink-900); color: #fff; }
.acs .acs-btn--play .acs-play-dot { border-radius: 50% !important; }
.acs .acs-btn--sm { padding: 13px 22px; font-size: 11px; }
.acs .acs-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.55); }
.acs .acs-btn--play { padding: 7px 26px 7px 7px; }
.acs .acs-btn--play .acs-play-dot { width: 38px; height: 38px; }
.acs .acs-link { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff !important; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* ---- Eyebrows: orange square marker; section heads get a running number ---- */
.acs .acs-eyebrow { gap: 12px; font-size: 11px; letter-spacing: 0.3em; color: #fff; }
.acs .acs-eyebrow::before { width: 8px; height: 8px; background: var(--accent); animation: none; box-shadow: none; }
.acs .acs-section-head { counter-increment: acs-sec; }
.acs .acs-section-head .acs-eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--accent); }

/* ---- Section heads: hairline above; full-width heads use a label column + heading column ---- */
.acs .acs-section-head { max-width: 760px; padding-top: 28px; border-top: 1px solid var(--hair); margin-bottom: 56px; text-align: left !important; margin-left: 0 !important; }
.acs .acs-section-head .acs-eyebrow { justify-content: flex-start !important; }
.acs .acs-container > .acs-section-head:not(.acs-section-head--split) { max-width: none; display: grid; grid-template-columns: minmax(170px, 0.28fr) 1fr; column-gap: 48px; align-items: start; margin-bottom: 64px; }
.acs .acs-container > .acs-section-head:not(.acs-section-head--split) > .acs-eyebrow { grid-column: 1; grid-row: 1 / span 4; margin: 6px 0 0; }
.acs .acs-container > .acs-section-head:not(.acs-section-head--split) > :not(.acs-eyebrow) { grid-column: 2; max-width: 760px; margin-left: 0 !important; margin-right: 0 !important; }
.acs .acs-section-head > h2 { margin-bottom: 16px; }
.acs .acs-section-head.acs-section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }

/* ---- Cards become outlined cells with an orange rule that draws in on hover ---- */
.acs-card { background: transparent; border: 1px solid var(--hair); padding: 36px 32px; }
.acs-card::before { display: block; content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px; background: var(--accent); opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); pointer-events: none; z-index: 2; }
.acs-card:hover::before { transform: scaleX(1); }
.acs-card:hover { border-color: var(--hair); }
.acs-card--lift:hover { transform: none; }

/* ---- Icons: square outline, orange glyph ---- */
.acs-icon, .acs-icon--teal, .acs-icon--indigo { background: transparent; border: 1px solid var(--accent); color: var(--accent-hi); width: 48px; height: 48px; font-size: 18px; }
.acs-card:hover .acs-icon { background: var(--accent); color: #fff; }
.acs-icon--sm { width: 38px; height: 38px; font-size: 14px; }

/* ---- Pills: square tags ---- */
.acs .acs-pill { padding: 6px 12px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; border-color: rgba(255, 255, 255, 0.22); }

/* ---- Stats: open strip between two rules ---- */
.acs .acs-stats { background: transparent; border: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.acs .acs-stat { padding: 34px 28px; }
.acs .acs-stat b { color: #fff; }
.acs .acs-stat b::after { content: ""; display: block; width: 26px; height: 3px; margin-top: 14px; background: var(--accent); }
.acs .acs-stat span { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; }

/* ---- Media: square, framed by orange corner brackets ---- */
.acs .acs-media { border: 0; }
.acs .acs-frame { padding: 0; }
.acs .acs-frame::before, .acs .acs-frame::after { content: ""; display: block !important; position: absolute; z-index: 5; width: 46px; height: 46px; pointer-events: none; filter: none; opacity: 1; background: none; }
.acs .acs-frame::before { inset: -12px auto auto -12px; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); }
.acs .acs-frame::after { inset: auto -12px -12px auto; border-bottom: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.acs .acs-media-tag { background: var(--ink-900); letter-spacing: 0.16em; font-size: 10.5px; }

/* ---- Floating badges: black tag with orange edge ---- */
.acs .acs-float { background: var(--ink-900); border: 0; border-left: 3px solid var(--accent); padding: 12px 18px 12px 12px; animation: none; }

/* ---- Tabs: underline ---- */
.acs .acs-tabs-nav { padding: 0; gap: 0; background: transparent; border: 0; border-bottom: 1px solid var(--hair); }
.acs .acs-tab { padding: 16px 26px; background: transparent; color: var(--text-mute); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.acs .acs-tab.is-active { background: transparent; color: #fff; border-bottom-color: var(--accent); box-shadow: none; }

/* ---- Accordion rows ---- */
.acs .acs-acc-btn i { border-color: var(--accent); color: var(--accent-hi); }

/* ---- Marquee: ruled band ---- */
.acs .acs-marquee { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 18px 0; }

/* ---- CTA band: full orange block ---- */
.acs .acs-cta { padding: 72px 64px; }

/* ---- Inner pages: split-screen hero (text on black, video on the right half) ---- */
.acs-page-hero { padding: 110px 0 120px; min-height: 78vh; display: flex; align-items: center; }
.acs-page-hero > .acs-container { width: 100%; }
.acs-page-hero .acs-herovid { left: 50%; }
.acs-page-hero .acs-herovid::before { background: rgba(0, 0, 0, 0.18); }
.acs-page-hero .acs-herovid video { animation: none; transform: none; }
/* product walkthrough heroes: the player is the visual, so no background loop behind it */
.acs-page-hero:has(video[controls]) .acs-herovid { display: none; }
/* hero fact strips sit on a solid bar across the split */
.acs-page-hero .acs-stats, .acs-page-hero .sv-feats, .acs-page-hero .lt-chips { position: relative; z-index: 3; background: var(--ink-900) !important; }
.acs-page-hero .sv-feats, .acs-page-hero .lt-chips { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.acs .acs-page-hero .acs-page-hero-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
.acs-page-hero h1, .acs-page-hero p, .acs-page-hero .acs-eyebrow { text-shadow: none !important; }
.acs-page-hero .acs-page-hero-grid > :nth-child(2) .acs-frame:not(:has(video[controls])),
.acs-page-hero .acs-page-hero-grid > :nth-child(2) > .acs-media:not(:has(video[controls])) { visibility: hidden; }
.acs .acs-crumbs { text-transform: uppercase; letter-spacing: 0.16em; font-size: 11px; }

@media (max-width: 960px) {
  .acs .acs-container > .acs-section-head:not(.acs-section-head--split) { display: block; margin-bottom: 44px; }
  .acs .acs-container > .acs-section-head:not(.acs-section-head--split) > .acs-eyebrow { margin-bottom: 18px; }
  .acs .acs-section-head.acs-section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .acs-page-hero { min-height: 0; padding: calc(58vw + 36px) 0 64px; display: block; }
  .acs-page-hero .acs-herovid { left: 0; top: 0; bottom: auto; height: 58vw; }
  .acs .acs-page-hero .acs-page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .acs-page-hero .acs-page-hero-grid > :nth-child(2):not(:has(video[controls])) { display: none; }
  .acs-page-hero:has(video[controls]) { padding-top: 48px; }
  .acs .acs-cta { padding: 48px 28px; }
}
@media (max-width: 640px) {
  .acs .acs-stat { padding: 24px 16px; }
}


/* ---------- Split heroes (inner pages): consistent alignment & gaps ---------- */
@media (min-width: 961px) {
  .acs-page-hero { min-height: min(calc(100vh - var(--acs-nav-offset, 80px)), 860px); padding: 72px 0; display: flex; align-items: center; }
  .acs-page-hero > .acs-container { width: 100%; max-width: 1400px !important; padding-left: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); }
  .acs .acs-page-hero .acs-page-hero-grid { grid-template-columns: 1fr 1fr !important; column-gap: 0; align-items: center; }
  .acs .acs-page-hero .acs-page-hero-grid > :first-child { max-width: 620px; padding-right: clamp(40px, 5vw, 88px); }
  .acs-page-hero .acs-crumbs { max-width: calc(50% - 88px); }
  .acs .cb-hero h1, .acs .lt-hero h1 { font-size: clamp(52px, 5.6vw, 92px) !important; }
}

/* ==========================================================================
   RESPONSIVE LAYER — shared fixes for phones, tablets and large screens
   ========================================================================== */
img, video, iframe, svg { max-width: 100%; }
.acs table { display: block; max-width: 100%; overflow-x: auto; }
.acs h1, .acs h2, .acs h3 { overflow-wrap: break-word; }
/* Very large screens: keep content from stretching edge-to-edge */
@media (min-width: 1920px) {
  .acs-container { max-width: 1360px; }
  .acs-container--wide { max-width: 1560px; }
}
/* Tablets */
@media (max-width: 1024px) {
  .acs-section-head h2 { font-size: clamp(28px, 5vw, 44px); }
}
/* Phones */
@media (max-width: 640px) {
  .acs .acs-pill, .acs .acs-media-tag { font-size: 11px; }
  .acs-page-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .acs-section-head h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .acs-lede { font-size: 16px; }
  .acs .acs-btn { padding: 14px 22px; letter-spacing: 0.1em; }
  .acs-btn-row { gap: 10px; }
  .acs-btn-row .acs-btn { flex: 1 1 auto; }
  .acs .acs-stat b { font-size: 26px; }
}
@media (max-width: 380px) {
  .acs-container { padding: 0 14px; }
  .acs .acs-btn { padding: 13px 18px; font-size: 11px; }
}
/* Small phones (<=400px, e.g. iPhone SE): let grid/flex columns shrink below their content width
   and allow button labels to wrap, so nothing is pushed past the screen edge. */
@media (max-width: 400px) {
  .acs div, .acs section, .acs article, .acs aside, .acs figure, .acs li { min-width: 0; }
  .acs .acs-btn { white-space: normal; text-align: center; }
  .acs-btn-row .acs-btn { flex: 1 1 100%; }
}
/* Leadership hero: the portrait column is replaced by the background video, so its floating extras go too */
.acs-page-hero .ld-portrait-badge, .acs-page-hero .ld-portrait-note { display: none; }

/* ---------- Hero with a still image instead of a video loop ----------
   Slow drift keeps the split hero alive; a soft black fade blends the photo into the text side
   and orange corner brackets tie it to the site's framing style. */
.acs-herovid--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 50%; animation: acs-herodrift 26s ease-in-out infinite alternate; }
@keyframes acs-herodrift { from { transform: scale(1.03); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.acs-herovid--img::before { background: linear-gradient(90deg, rgba(var(--ink-rgb), 0.85) 0%, rgba(var(--ink-rgb), 0.25) 22%, rgba(0, 0, 0, 0.08) 60%, rgba(0, 0, 0, 0.3) 100%) !important; }
.acs-herovid--img::after { content: ""; display: block !important; position: absolute; z-index: 2; right: clamp(16px, 3vw, 44px); bottom: clamp(16px, 3vw, 44px); width: clamp(60px, 7vw, 110px); height: clamp(60px, 7vw, 110px); border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); pointer-events: none; }
@media (max-width: 960px) {
  /* stacked layout: photo is a banner above the text, so fade its bottom edge instead */
  .acs-herovid--img::before { background: linear-gradient(0deg, rgba(var(--ink-rgb), 0.9) 0%, rgba(var(--ink-rgb), 0.2) 30%, rgba(0, 0, 0, 0.05) 100%) !important; }
  .acs-herovid--img::after { top: 16px; bottom: auto; right: 16px; border-bottom: 0; border-top: 3px solid var(--accent); width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .acs-herovid--img img { animation: none; } }
