/*
 * Design tokens. Names mirror the future theme.json:
 *   --c-*   -> settings.color.palette        (slug = name after --c-)
 *   --fs-*  -> settings.typography.fontSizes
 *   --sp-*  -> settings.spacing.spacingSizes
 * Direction: white-led corporate (ref. Vertiv / STACK), one orange accent, black only for
 * photo overlays and the footer.
 */
:root {
  /* Neutrals */
  --c-white: #FFFFFF;
  --c-grey-50: #F5F6F7;        /* alternate section background */
  --c-grey-100: #ECEEF1;
  --c-line: #DFE2E6;
  --c-text: #111317;
  --c-text-muted: #59606A;     /* 6.3:1 on white */
  --c-black: #0B0C0E;          /* footer, photo overlays */
  --c-black-2: #17191C;
  --c-on-dark-muted: #B4B9C0;

  /* Orange */
  --c-orange: #FF5A1F;         /* graphics, icons, rules, highlights */
  --c-orange-deep: #D0450E;    /* button fill: white text passes AA (4.6:1) */
  --c-orange-deeper: #B03A0B;  /* button hover */
  --c-orange-text: #C93F0C;    /* orange text on white, 5:1 */
  --c-orange-wash: #FFF1EB;

  /* Type */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wdth-display: 106%;
  --wdth-body: 100%;

  --fs-xs: 0.8125rem;                                    /* 13 */
  --fs-sm: 0.9375rem;                                    /* 15 */
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);   /* 16-17 */
  --fs-md: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); /* 18-21 */
  --fs-lg: clamp(1.375rem, 1.2rem + 0.9vw, 2rem);        /* 22-32 */
  --fs-xl: clamp(1.875rem, 1.4rem + 2.2vw, 3.25rem);     /* 30-52 */
  --fs-2xl: clamp(2.375rem, 1.6rem + 3.8vw, 4.5rem);     /* 38-72 */

  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-body: 1.6;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-section: clamp(3.5rem, 2.4rem + 5vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2rem);
  --container: 77.5rem;   /* 1240px */
  --measure: 38rem;

  /* Shape */
  --r-control: 2px;
  --r-card: 4px;
  --shadow-card: 0 1px 2px rgb(17 19 23 / 0.06), 0 8px 24px -12px rgb(17 19 23 / 0.18);
  --shadow-pop: 0 18px 50px -20px rgb(17 19 23 / 0.35);

  --header-h: 4.5rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  min-height: 100vh;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-stretch: var(--wdth-body);
  line-height: var(--lh-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 700;
  font-stretch: var(--wdth-display);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); line-height: var(--lh-tight); letter-spacing: -0.025em; font-weight: 750; }
h2 { font-size: var(--fs-xl); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-md); letter-spacing: -0.01em; }
p { text-wrap: pretty; }

a { color: var(--link, var(--c-orange-text)); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

::selection { background: var(--c-orange); color: var(--c-black); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4); top: -100px;
  z-index: 1000;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-orange);
  color: var(--c-black);
  font-weight: 600;
  border-radius: var(--r-control);
}
.skip-link:focus { top: var(--sp-4); }

/* Visible marker for facts still to be confirmed by Atlas CSF. Remove the class when filled. */
.is-tbc {
  outline: 1px dashed currentColor;
  outline-offset: 2px;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Themes: every section declares one. Components read these variables, never raw colours. */
.t-white, .t-grey {
  --bg: var(--c-white);
  --surface: var(--c-white);
  --fg: var(--c-text);
  --muted: var(--c-text-muted);
  --line: var(--c-line);
  --link: var(--c-orange-text);
  --accent-fg: var(--c-orange-text);
  background: var(--bg);
  color: var(--fg);
}
.t-grey { --bg: var(--c-grey-50); }
.t-dark {
  --bg: var(--c-black);
  --surface: var(--c-black-2);
  --fg: var(--c-white);
  --muted: var(--c-on-dark-muted);
  --line: rgb(255 255 255 / 0.16);
  --link: var(--c-orange);
  --accent-fg: var(--c-orange);
  background: var(--bg);
  color: var(--fg);
}

.l-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-section { padding-block: var(--sp-section); }

.l-split { display: grid; gap: var(--sp-5) var(--sp-8); }
@media (min-width: 960px) {
  .l-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}

/* Section heading row: title + intro on the left, optional link on the right */
.l-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--sp-4) var(--sp-6); margin-bottom: var(--sp-7); }
.l-head__text { display: grid; gap: var(--sp-3); max-width: 44rem; }
.l-head__text p { color: var(--muted); font-size: var(--fs-md); }

/* Short orange rule above section titles (Vertiv/AirTrunk-style anchor) */
.l-rule::before { content: ""; display: block; width: 3rem; height: 4px; background: var(--c-orange); margin-bottom: var(--sp-4); }

.l-prose { max-width: var(--measure); }
.l-prose > * + * { margin-top: 1em; }
.l-prose p, .l-prose li { color: var(--muted); }
.l-prose strong { color: var(--fg); font-weight: 600; }

.l-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .l-grid--2, .l-grid--3, .l-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .l-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .l-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

main { display: block; padding-top: var(--header-h); }

/* ------------------------------------------------------------ icon */
.c-icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.c-icon--sm { width: 1.125rem; height: 1.125rem; }

/* ------------------------------------------------------------ buttons */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.c-btn--primary { background: var(--c-orange-deep); color: var(--c-white); }
.c-btn--primary:hover { background: var(--c-orange-deeper); }
.c-btn--outline { border-color: var(--fg); color: var(--fg); }
.c-btn--outline:hover { background: var(--fg); color: var(--bg); }
.c-btn--light { border-color: rgb(255 255 255 / 0.7); color: var(--c-white); }
.c-btn--light:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }
.c-btn--sm { min-height: 2.5rem; padding: 0.5rem 1.125rem; }
.c-btn--block { width: 100%; }
.c-btn[disabled] { opacity: 0.6; cursor: progress; }

.c-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* "Learn more" style link: orange text, chevron moves on hover */
.c-more {
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: var(--accent-fg);
  font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none;
}
.c-more .c-icon { width: 1rem; height: 1rem; transform: rotate(-90deg); transition: transform 0.2s var(--ease); }
.c-more:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.c-more:hover .c-icon { transform: rotate(-90deg) translateY(3px); }

/* ------------------------------------------------------------ tags */
.c-tag {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.6;
}
.c-tag--sample { border-style: dashed; color: var(--c-orange-text); border-color: currentColor; background: var(--c-white); }

/* ------------------------------------------------------------ logo */
.c-logo { display: inline-flex; align-items: center; gap: 0.625rem; color: inherit; text-decoration: none; }
.c-logo svg { width: 2rem; height: 2rem; }
.c-logo__word { font-size: 1.1875rem; font-weight: 750; font-stretch: 118%; letter-spacing: -0.01em; line-height: 1; }
.c-logo__word span { font-weight: 400; color: var(--c-orange-text); }
.c-footer .c-logo__word span { color: var(--c-orange); }

/* ------------------------------------------------------------ header (always white) */
.c-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: var(--c-white);
  color: var(--c-text);
  --fg: var(--c-text); --muted: var(--c-text-muted); --line: var(--c-line); --accent-fg: var(--c-orange-text);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.3s var(--ease);
}
.c-header.is-scrolled { box-shadow: 0 6px 20px -14px rgb(17 19 23 / 0.35); }
.c-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); height: 100%; }

.c-nav { display: none; height: 100%; }
.c-nav__list { display: flex; align-items: stretch; gap: var(--sp-1); height: 100%; }
.c-nav__list > li { display: flex; }
.c-nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0 0.875rem;
  color: #3A3F47;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.c-nav__link::after { content: ""; position: absolute; left: 0.875rem; right: 0.875rem; bottom: -1px; height: 3px; background: transparent; transition: background-color 0.2s; }
.c-nav__link:hover, .c-nav__link[aria-expanded="true"] { color: var(--c-text); }
.c-nav__link[aria-expanded="true"]::after, .c-nav__link[aria-current]::after { background: var(--c-orange); }
.c-nav__link[aria-current] { color: var(--c-text); }
.c-nav__link .c-icon { transition: transform 0.2s var(--ease); }
.c-nav__link[aria-expanded="true"] .c-icon { transform: rotate(180deg); }
.c-header__cta { display: none; }

@media (min-width: 1024px) {
  .c-nav, .c-header__cta { display: flex; }
  .c-burger { display: none !important; }
}

/* Mega menu */
.c-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
}
.c-mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
.c-mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); padding-top: var(--sp-6); }
.c-mega__group h2 { font-size: var(--fs-sm); font-stretch: 100%; letter-spacing: 0; color: var(--c-text); }
.c-mega__group > p { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: var(--sp-1); line-height: 1.6; min-height: 3.2em; }
.c-mega__list { margin-top: var(--sp-4); display: grid; gap: 2px; border-top: 1px solid var(--c-line); padding-top: var(--sp-3); }
.c-mega__item {
  display: flex; gap: var(--sp-3); align-items: center;
  padding: var(--sp-3); margin-inline: calc(var(--sp-3) * -1);
  border-radius: var(--r-card);
  color: var(--c-text); text-decoration: none;
}
.c-mega__item:hover { background: var(--c-grey-50); }
.c-mega__item .c-icon { color: var(--c-orange); }
.c-mega__item strong { font-size: var(--fs-sm); font-weight: 600; }
.c-mega__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-4); margin-inline: calc(var(--gutter) * -1); padding: var(--sp-4) var(--gutter); background: var(--c-grey-50); border-top: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Burger + mobile panel */
.c-burger { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-right: -0.5rem; color: var(--c-text); }
.c-burger .i-close { display: none; }
.c-header.is-open .c-burger .i-close { display: block; }
.c-header.is-open .c-burger .i-menu { display: none; }

.c-mobile {
  position: fixed; inset: var(--header-h) 0 0;
  display: flex; flex-direction: column;
  background: var(--c-white);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s 0.35s;
}
.c-header.is-open .c-mobile { transform: none; visibility: visible; transition-delay: 0s; }
.c-mobile__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-block: var(--sp-2) var(--sp-6); }
.c-mobile__link, .c-mobile__group > summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.5rem;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-text);
  font-size: var(--fs-md); font-weight: 600;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}
.c-mobile__group > summary::-webkit-details-marker { display: none; }
.c-mobile__group > summary .c-icon { transition: transform 0.2s var(--ease); color: var(--c-orange); }
.c-mobile__group[open] > summary .c-icon { transform: rotate(180deg); }
.c-mobile__sub { padding: var(--sp-3) 0 var(--sp-4); border-bottom: 1px solid var(--c-line); }
.c-mobile__sub h3 { font-size: var(--fs-xs); font-weight: 600; color: var(--c-text-muted); margin: var(--sp-4) 0 var(--sp-1); letter-spacing: 0; font-stretch: 100%; }
.c-mobile__sub h3:first-child { margin-top: 0; }
.c-mobile__sub a { display: flex; align-items: center; min-height: 2.75rem; color: var(--c-text); text-decoration: none; }
.c-mobile__foot { padding: var(--sp-4) var(--gutter) calc(var(--sp-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); display: grid; gap: var(--sp-3); background: var(--c-grey-50); }
.c-mobile__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-sm); }
.c-mobile__contact a { color: var(--c-text); }

body.has-menu-open { overflow: hidden; }

/* ------------------------------------------------------------ photo card (services, segments, cases, insights) */
.c-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.c-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.c-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-grey-100); }
.c-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.c-card:hover .c-card__media img { transform: scale(1.04); }
.c-card__body { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; padding: var(--sp-5); }
.c-card__kicker { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); align-items: center; font-size: var(--fs-xs); color: var(--c-text-muted); }
.c-card h3 { font-size: var(--fs-md); }
.c-card h3 a { color: var(--c-text); text-decoration: none; }
.c-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.c-card h3 a:focus-visible { outline: none; }
.c-card:has(h3 a:focus-visible) { outline: 2px solid var(--c-orange); outline-offset: 3px; }
.c-card p { color: var(--c-text-muted); font-size: var(--fs-sm); }
.c-card__foot { margin-top: auto; padding-top: var(--sp-2); }
.c-card__foot .c-more { position: relative; z-index: 2; }
/* Links inside a card that must stay clickable above the stretched title link */
.c-card__links { position: relative; z-index: 2; list-style: none; padding: 0; display: grid; gap: var(--sp-1); margin-top: var(--sp-1); }
.c-card__links a { color: var(--c-text); font-size: var(--fs-sm); font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-orange); text-underline-offset: 0.25em; }
.c-card__links a:hover { color: var(--c-orange-text); }

.c-card__meta { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem var(--sp-4); font-size: var(--fs-sm); padding-top: var(--sp-3); border-top: 1px solid var(--c-line); margin-top: auto; }
.c-card__meta dt { color: var(--c-text-muted); }
.c-card__meta dd { margin: 0; font-weight: 500; }

/* ------------------------------------------------------------ footer */
.c-footer { padding-block: var(--sp-8) var(--sp-5); background: var(--c-black); color: var(--c-white); --muted: var(--c-on-dark-muted); --line: rgb(255 255 255 / 0.14); }
.c-footer__top { display: grid; gap: var(--sp-7); }
.c-footer__brand p { margin-top: var(--sp-4); color: var(--muted); font-size: var(--fs-sm); max-width: 22rem; }
.c-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
.c-footer h2 { font-size: var(--fs-sm); font-stretch: 100%; letter-spacing: 0; margin-bottom: var(--sp-3); }
.c-footer ul { list-style: none; padding: 0; display: grid; gap: var(--sp-1); }
.c-footer li a, .c-footer address a { color: var(--muted); text-decoration: none; font-size: var(--fs-sm); display: inline-block; padding-block: 0.3rem; }
.c-footer li a:hover, .c-footer address a:hover { color: var(--c-white); }
.c-footer address { font-style: normal; color: var(--muted); font-size: var(--fs-sm); display: grid; gap: var(--sp-2); }
.c-footer__bottom { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--muted); }
.c-footer__bottom a { color: var(--muted); }
.c-footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
@media (min-width: 640px) { .c-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .c-footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* ------------------------------------------------------------ dialog */
.c-dialog {
  width: min(44rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-top: 4px solid var(--c-orange);
  border-radius: 0 0 var(--r-card) var(--r-card); /* square top corners under the orange accent */
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: var(--shadow-pop);
  overflow: auto;
  overscroll-behavior: contain;
  --muted: var(--c-text-muted); --accent-fg: var(--c-orange-text); --line: var(--c-line);
}
.c-dialog--narrow { width: min(30rem, calc(100% - 1.5rem)); }
.c-dialog::backdrop { background: rgb(11 12 14 / 0.6); backdrop-filter: blur(3px); }
.c-dialog[open] { animation: dialog-in 0.25s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } }
.c-dialog__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-5) var(--sp-5) var(--sp-4); background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.c-dialog__head h2 { font-size: var(--fs-lg); }
.c-dialog__head p { margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--c-text-muted); }
.c-dialog__close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin: -0.5rem -0.5rem 0 0; border-radius: var(--r-control); flex: none; }
.c-dialog__close:hover { background: var(--c-grey-50); }
.c-dialog__body { padding: var(--sp-5); }
body:has(.c-dialog[open]) { overflow: hidden; }

/* ------------------------------------------------------------ forms */
.c-form { display: grid; gap: var(--sp-4); }
.c-form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .c-form__row { grid-template-columns: 1fr 1fr; } }
.c-field { display: grid; gap: 0.375rem; align-content: start; }
.c-field > label, .c-field > legend { font-size: var(--fs-sm); font-weight: 600; padding: 0; }
.c-field .c-opt { font-weight: 400; color: var(--c-text-muted); }
.c-input {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid #B9BEC5;
  border-radius: var(--r-control);
  background: var(--c-white);
  color: var(--c-text);
  font-size: 1rem;  /* 16px prevents iOS zoom */
  transition: border-color 0.15s, box-shadow 0.15s;
}
.c-input:hover { border-color: var(--c-text-muted); }
.c-input:focus { outline: none; border-color: var(--c-orange-deep); box-shadow: 0 0 0 3px var(--c-orange-wash); }
textarea.c-input { min-height: 7rem; resize: vertical; }
select.c-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.125rem;
  padding-right: 2.5rem;
}
.c-field.is-invalid .c-input { border-color: #B42318; }
.c-field__error { display: none; font-size: var(--fs-xs); color: #B42318; font-weight: 500; }
.c-field.is-invalid .c-field__error { display: block; }

fieldset.c-field { border: 0; padding: 0; min-width: 0; }
.c-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.c-chip { position: relative; }
.c-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.c-chip span {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid #B9BEC5; border-radius: 999px;
  background: var(--c-white);
  font-size: var(--fs-sm);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.c-chip input:checked + span { background: var(--c-orange-deep); border-color: var(--c-orange-deep); color: var(--c-white); }
.c-chip input:focus-visible + span { outline: 2px solid var(--c-orange); outline-offset: 2px; }

.c-check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text-muted); }
.c-check input { width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; accent-color: var(--c-orange-deep); flex: none; }

.c-form__status { font-size: var(--fs-sm); }
.c-form__status:empty { display: none; }
.c-form__status.is-error { color: #B42318; font-weight: 500; }

.c-success { display: grid; gap: var(--sp-3); padding: var(--sp-5) 0; }
.c-success svg { width: 2.5rem; height: 2.5rem; color: var(--c-orange-text); }
.c-success h3 { font-size: var(--fs-lg); }
.c-success p { color: var(--c-text-muted); }

/* ------------------------------------------------------------ breadcrumb */
.c-crumbs ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; font-size: var(--fs-sm); color: var(--muted); }
.c-crumbs li + li::before { content: "/"; margin-right: var(--sp-2); opacity: 0.6; }
.c-crumbs a { color: var(--muted); text-decoration: none; }
.c-crumbs a:hover { color: var(--fg); }

/* ------------------------------------------------------------ accordion (native details) */
.c-faq { border-top: 1px solid var(--line); }
.c-faq details { border-bottom: 1px solid var(--line); }
.c-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  min-height: 3.75rem; padding-block: var(--sp-3);
  font-weight: 600; font-size: var(--fs-md);
  list-style: none; cursor: pointer;
}
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary .c-icon { transition: transform 0.2s var(--ease); color: var(--c-orange); }
.c-faq details[open] summary .c-icon { transform: rotate(45deg); }
.c-faq details > div { padding-bottom: var(--sp-5); color: var(--muted); max-width: var(--measure); }

/* ================================================================ hero: full-bleed photo */
.s-hero {
  position: relative;
  isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(34rem, calc(100svh - var(--header-h)), 52rem);
  padding-block: var(--sp-9) var(--sp-8);
  color: var(--c-white);
  background: var(--c-black);
  overflow: hidden;
}
.s-hero__media { position: absolute; inset: 0; z-index: -2; }
.s-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.s-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(11 12 14 / 0.9) 0%, rgb(11 12 14 / 0.72) 42%, rgb(11 12 14 / 0.2) 100%),
    linear-gradient(0deg, rgb(11 12 14 / 0.55) 0%, transparent 35%);
}
.s-hero__copy { display: grid; gap: var(--sp-5); justify-items: start; max-width: 42rem; }
.s-hero h1 { max-width: 14ch; }
.s-hero__lede { font-size: var(--fs-md); color: #D9DCE1; max-width: 36rem; }
.s-hero .l-rule::before { margin-bottom: var(--sp-5); }
@media (max-width: 639px) {
  .s-hero { align-items: flex-end; min-height: 38rem; }
  .s-hero::before { background: linear-gradient(0deg, rgb(11 12 14 / 0.94) 0%, rgb(11 12 14 / 0.75) 55%, rgb(11 12 14 / 0.35) 100%); }
  .s-hero .c-actions .c-btn { flex: 1 1 100%; }
}

/* ================================================================ credentials bar */
.s-trust { border-bottom: 1px solid var(--c-line); padding-block: var(--sp-5); }
.s-trust__inner { display: grid; gap: var(--sp-4); align-items: center; }
.s-trust h2 { font-size: var(--fs-sm); font-stretch: 100%; letter-spacing: 0; color: var(--c-text-muted); font-weight: 600; }
.s-trust ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: var(--sp-3); list-style: none; padding: 0; }
.s-trust li { padding: var(--sp-3) var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-white); }
.s-trust li b { display: inline-block; font-size: var(--fs-sm); font-weight: 700; }
.s-trust li span { display: block; font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.4; margin-top: 2px; }
@media (min-width: 1100px) { .s-trust__inner { grid-template-columns: 9rem 1fr; } .s-trust ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ================================================================ intro (3 columns) */
.s-intro__grid { display: grid; gap: var(--sp-5) var(--sp-7); }
.s-intro h2 { max-width: 15ch; }
.s-intro p { color: var(--c-text-muted); }
.s-intro p + p { margin-top: 1em; }
.s-intro .s-intro__lead { color: var(--c-text); font-size: var(--fs-md); }
@media (min-width: 960px) { .s-intro__grid { grid-template-columns: 1.1fr 1fr 1fr; } }

/* ================================================================ stats band */
.s-stats__grid { display: grid; gap: var(--sp-6) var(--sp-8); align-items: center; }
.s-stats h2 { max-width: 14ch; }
.s-stats dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
.s-stats dl > div { border-top: 3px solid var(--c-orange); padding-top: var(--sp-4); }
.s-stats dt { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.s-stats dd { margin: var(--sp-2) 0 0; color: var(--c-text-muted); font-size: var(--fs-sm); line-height: 1.45; }
@media (min-width: 960px) { .s-stats__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ================================================================ specialisms: feature band + two cards */
.s-feature {
  position: relative; isolation: isolate;
  display: grid; gap: var(--sp-6);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-card);
  overflow: hidden;
  color: var(--c-white);
  --muted: var(--c-on-dark-muted);
  margin-bottom: var(--sp-5);
}
.s-feature__media { position: absolute; inset: 0; z-index: -2; }
.s-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.s-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(11 12 14 / 0.92) 0%, rgb(11 12 14 / 0.8) 50%, rgb(11 12 14 / 0.55) 100%); }
.s-feature__copy { display: grid; gap: var(--sp-4); align-content: start; justify-items: start; }
.s-feature__copy .c-icon { width: 2.25rem; height: 2.25rem; color: var(--c-orange); }
.s-feature h3 { font-size: var(--fs-xl); line-height: 1.1; }
.s-feature p { color: #D9DCE1; max-width: 32rem; }
@media (min-width: 960px) { .s-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); align-items: center; } }

/* Rack density chart (on the dark feature band) */
.s-density { padding: var(--sp-5); border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--r-card); background: rgb(11 12 14 / 0.55); backdrop-filter: blur(6px); display: grid; gap: var(--sp-4); }
.s-density__caption { font-size: var(--fs-xs); color: var(--c-on-dark-muted); display: flex; justify-content: space-between; gap: var(--sp-3); }
.s-density__plot { position: relative; display: grid; gap: var(--sp-4); padding-bottom: 1.75rem; }
.s-density__row { display: grid; gap: var(--sp-2); }
.s-density__label { display: flex; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-sm); }
.s-density__label span:last-child { color: var(--c-on-dark-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-density__track { position: relative; height: 0.625rem; background: rgb(255 255 255 / 0.1); border-radius: 2px; }
.s-density__bar { position: absolute; top: 0; bottom: 0; left: var(--from); width: var(--span); background: #8A9099; border-radius: 2px; }
.s-density__row--ai .s-density__bar { background: var(--c-orange); }
.s-density__limit { position: absolute; left: var(--at); top: 1.5rem; bottom: 0; border-left: 1px dashed rgb(255 255 255 / 0.6); }
.s-density__limit span { position: absolute; bottom: 0; left: 0.5rem; font-size: var(--fs-xs); line-height: 1.2; color: var(--c-white); white-space: nowrap; }
.s-density__axis { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--c-on-dark-muted); border-top: 1px solid rgb(255 255 255 / 0.16); padding-top: var(--sp-2); font-variant-numeric: tabular-nums; }

/* Horizontal photo card (image left on wide screens) */
@media (min-width: 640px) {
  .c-card--row { flex-direction: row; }
  .c-card--row .c-card__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 15rem; }
}

/* ================================================================ why Atlas CSF */
.s-why__grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .s-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .s-why__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s-why__item {
  display: grid; gap: var(--sp-3); align-content: start;
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-orange);
  border-radius: 0 0 var(--r-card) var(--r-card); /* square top corners under the orange accent */
  background: var(--c-white);
}
.s-why__item .c-icon { width: 2.5rem; height: 2.5rem; color: var(--c-orange); stroke-width: 1.25; margin-bottom: var(--sp-2); }
.s-why__item h3 { font-size: var(--fs-md); }
.s-why__item p { color: var(--c-text-muted); font-size: var(--fs-sm); }

/* ================================================================ closing CTA band (orange) */
.s-cta { background: var(--c-orange-deep); color: var(--c-white); --muted: #FFE3D6; --line: rgb(255 255 255 / 0.35); }
.s-cta__grid { display: grid; gap: var(--sp-7) var(--sp-8); }
@media (min-width: 960px) { .s-cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.s-cta h2 { max-width: 14ch; }
.s-cta__lead { margin-top: var(--sp-4); font-size: var(--fs-md); color: var(--muted); max-width: 30rem; }
.s-cta .c-actions { margin-top: var(--sp-6); }
.s-cta .c-btn--white { background: var(--c-white); color: var(--c-text); }
.s-cta .c-btn--white:hover { background: var(--c-black); color: var(--c-white); }
.s-cta__contact { margin-top: var(--sp-6); display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.s-cta__contact a { display: inline-flex; align-items: center; gap: var(--sp-3); min-height: 2.5rem; color: var(--c-white); text-decoration: none; }
.s-cta__contact a:hover { text-decoration: underline; }
.s-cta__steps { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
.s-cta__steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--sp-4); padding-block: var(--sp-5); border-bottom: 1px solid var(--line); }
.s-cta__steps b { font-size: var(--fs-lg); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.s-cta__steps h3 { font-size: var(--fs-base); }
.s-cta__steps p { color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.s-cta .is-tbc { outline-color: rgb(255 255 255 / 0.8); }
