/* IconLogic International — site styles. Tokens mirror branding/BRANDING.md */
:root {
  /* Night theme (v5). Brand hues unchanged; surfaces are the brand navy taken darker. */
  --bg: #070e27;          /* page background — night */
  --bg-2: #0c1638;        /* raised band */
  --bg-3: #14214a;        /* cards — the original Deep Navy */
  --blue: #28449a;        /* IconLogic Blue — fills */
  --blue-lift: #7d98ff;   /* IconLogic Blue lifted for lines and links on night */
  --orange: #ee4220;      /* Signal Orange */
  --orange-dark: #c9361a;
  --blue-deep: #eef2ff;   /* primary text on night (token kept so components follow) */
  --steel: #a5b2d8;       /* secondary text */
  --mist: #0c1638;        /* tinted surface */
  --line: rgba(255,255,255,.12);
  --paper: #070e27;

  --f-display: "Saira", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 4px;
  --r-md: 10px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--blue-deep);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-lift); text-underline-offset: 3px; }
a:hover { color: #ff8a70; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--blue-deep);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 600; font-style: italic; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; font-style: italic; }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--steel); max-width: 60ch; }
.answer { /* GEO: plain one-paragraph answer that opens every service page */
  font-size: 1.2rem; line-height: 1.6; color: var(--blue-deep);
  border-left: 4px solid var(--orange); padding: 2px 0 2px 20px; max-width: 70ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem;
  padding: 14px 24px; border-radius: var(--r-sm);
  text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--bg); }
.btn svg { width: 20px; height: 20px; flex: none; }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: block; text-decoration: none; }
/* Logo = live SVG mark + wordmark image, laid out in the exact proportions of the original artwork (2000×722). */
.logo { display: flex; align-items: flex-start; width: 168px; }
.logo .atom-mark { width: 35%; height: auto; flex: none; overflow: visible; }
.logo .logo-word { width: 65%; height: auto; margin-top: 13.3%; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; white-space: nowrap; padding: 10px 12px; text-decoration: none;
  color: var(--blue-deep); font-weight: 600; font-size: 0.98rem; border-radius: var(--r-sm);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav .nav-cta a { background: var(--orange); color: #fff; margin-left: 8px; border-radius: var(--r-sm); }
.nav .nav-cta a:hover { background: var(--orange-dark); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line);
    font: 600 1rem var(--f-body); color: var(--blue-deep); padding: 9px 14px; border-radius: var(--r-sm); cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: 14px; }
  .nav .nav-cta a { margin: 14px 0 0; text-align: center; border-bottom: 0; }
  .site-header .logo { width: 140px; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-proof strong { font-family: var(--f-display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--orange); font-weight: 700; }
.hero-proof span { color: var(--steel); line-height: 1.35; }

/* The stack — signature element. Three layers built like the logo's blocks. */
.stack { position: relative; padding: 28px 0 28px 28px; }
.stack ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 12px; }
.stack li a {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px;
  padding: 20px 22px; text-decoration: none; color: #fff; border-radius: var(--r-sm);
  background: var(--blue); transition: transform .2s ease, background-color .2s;
}
.stack li:nth-child(1) a { margin-left: 0; margin-right: 15%; background: var(--orange); }
.stack li:nth-child(2) a { margin-left: 7%; margin-right: 7%; }
.stack li:nth-child(3) a { margin-left: 15%; background: var(--bg-3); }
.stack li a:hover { transform: translateX(6px); }
.stack li:nth-child(1) a:hover { background: var(--orange-dark); }
.stack li:nth-child(2) a:hover { background: #20387f; }
.stack li:nth-child(3) a:hover { background: #0c1533; }
.stack .layer-icon { width: 64px; height: 64px; display: grid; place-items: center; background: rgba(255,255,255,.14); border-radius: var(--r-sm); }
.stack .layer-icon svg { width: 34px; height: 34px; }
.stack .layer-name { font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: 1.35rem; line-height: 1.15; display: block; }
.stack .layer-sub { font-size: .95rem; opacity: .88; display: block; margin-top: 2px; }
.stack .layer-go { width: 22px; height: 22px; opacity: .9; }
.stack-caption { position: relative; margin: 16px 0 0 15%; background: transparent; display: inline-block; padding-right: 8px; color: var(--steel); font-size: .95rem; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stack { padding-left: 0; }
  .stack li:nth-child(n) a { margin-left: 0; margin-right: 0; }
  .stack-caption { margin-left: 0; }
}
@media (max-width: 480px) {
  .stack li a { grid-template-columns: 48px 1fr; padding: 16px; gap: 14px; }
  .stack .layer-icon { width: 48px; height: 48px; }
  .stack .layer-go { display: none; }
}

/* ---------- Brands strip ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); padding: 26px 0; }
.brands .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.brands p { margin: 0; color: var(--steel); font-size: .98rem; max-width: 22ch; line-height: 1.35; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.brand-list li { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--blue-deep); }
.brand-list .bi { width: 26px; height: 26px; color: #fff; opacity: .85; flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; color: var(--blue-deep); }
.text-link:hover { color: #ff8a70; }
/* Two-column content */
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cols aside { position: sticky; top: 104px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .cols aside { position: static; } }

/* Side panel (aside) */
.panel { background: var(--mist); border-radius: var(--r-md); padding: 28px; }
.panel h2, .panel h3 { font-size: 1.3rem; font-style: italic; }
.panel img { border-radius: var(--r-sm); margin-bottom: 20px; }
.panel p { color: var(--steel); }
.panel .btn { width: 100%; justify-content: center; }

/* Facts table (About — procurement) */
.facts { width: 100%; border-collapse: collapse; margin: 8px 0 0; }
.facts th, .facts td { text-align: left; padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; color: var(--steel); font-weight: 600; padding-right: 16px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--blue-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--steel); padding-bottom: 12px; }

/* Contact */
.contact-email { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.8rem, 4.5vw, 3.2rem); color: #fff; text-decoration: none; word-break: break-word; border-bottom: 3px solid var(--orange); }
.contact-email:hover { color: var(--orange-dark); }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* ---------- Footer ---------- */
.site-footer { background: #050a1d; color: rgba(255,255,255,.78); padding: 64px 0 28px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb4a3; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand { display: inline-block; margin-bottom: 18px; }
.foot-brand .logo { width: 180px; }
.foot-grid h2 { font-family: var(--f-body); font-style: normal; font-size: 1rem; color: #fff; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 8px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 22px; font-size: .9rem; }
.foot-base p { margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Cookie notice (shown only when analytics is configured) */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: var(--bg-3); color: var(--blue-deep); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; box-shadow: 0 12px 40px rgba(20,33,74,.18); }
.cookie p { margin: 0 0 12px; font-size: .97rem; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie button { font: 600 .95rem var(--f-body); padding: 9px 16px; border-radius: var(--r-sm); cursor: pointer; border: 2px solid var(--blue); }
.cookie .accept { background: var(--blue); color: #fff; }
.cookie .decline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }



/* =====================================================================
   v4 — scroll story. Same palette, type and logo; more drama in how it unfolds.
   ===================================================================== */

/* Hero: the logo's orbits circle the stack — the stack is the nucleus */
.stack { isolation: isolate; }

/* ---------- Page hero (inner pages): full-bleed photo that zooms away as you scroll ---------- */
.page-hero { position: relative; color: #fff; background: var(--bg); overflow: hidden; min-height: clamp(440px, 70vh, 720px); display: flex; align-items: flex-end; }
.page-hero.plain { min-height: 0; }
.ph-photo { position: absolute; inset: 0; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.02 + var(--exit, 0) * .14)); transform-origin: 60% 40%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(14,23,54,.96) 0%, rgba(14,23,54,.55) 45%, rgba(14,23,54,.15) 100%),
  linear-gradient(90deg, rgba(14,23,54,.7) 0%, rgba(14,23,54,0) 70%); }
.page-hero.plain::after { background: none; }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(48px, 7vw, 88px);
  transform: translateY(calc(var(--exit, 0) * -60px)); opacity: calc(1 - var(--exit, 0) * .8); }
.page-hero h1 { color: #fff; max-width: 16ch; font-size: clamp(2.6rem, 6.2vw, 5rem); }
.page-hero .lead { color: rgba(255,255,255,.9); }
.crumbs { font-size: .95rem; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.crumbs a { color: #fff; }

/* ---------- Spec sheet (service capabilities) — reads like a manufacturer datasheet ---------- */
.caps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.caps li { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; gap: 8px 28px; padding: 20px 12px; border-top: 1px solid var(--line); transition: background-color .2s; }
.caps li:hover { background: var(--mist); }
.caps h3 { font-size: 1.1rem; margin: 0; font-style: normal; }
.caps p { margin: 0; color: var(--steel); font-size: 1rem; }
@media (max-width: 640px) { .caps li { grid-template-columns: 1fr; padding: 18px 0; } }

/* Brand tags with marks */
.tags { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--bg-2); padding: 7px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: .95rem; }
.tags .bi { width: 18px; height: 18px; color: var(--blue-lift); }

/* ---------- Process: a line that draws itself and lights each step ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 22px; right: 0; top: 21px; height: 3px; background: var(--line); }
.steps::after { background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--pp, 1)); }
.steps li { counter-increment: step; position: relative; z-index: 1; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 1.3rem; background: var(--bg); color: var(--blue-lift); border: 3px solid var(--line); transition: background-color .35s, color .35s, border-color .35s; }
.steps li.is-lit::before, html:not(.js) .steps li::before { background: var(--orange); border-color: var(--orange); color: #fff; }
.steps h3 { font-size: 1.25rem; font-style: italic; margin-bottom: .3em; }
.steps p { color: var(--steel); margin: 0; font-size: 1rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 26px; padding-left: 64px; }
  .steps::before, .steps::after { left: 21px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .steps::after { transform-origin: 50% 0; transform: scaleY(var(--pp, 1)); }
  .steps li::before { position: absolute; left: -64px; top: -6px; margin: 0; }
}

/* ---------- Story: the stack builds itself as you scroll ---------- */
.story { background: var(--bg); color: #fff; }
.story-intro { padding-top: clamp(72px, 10vw, 128px); padding-bottom: 24px; }
.story-intro h2 { color: #fff; max-width: 18ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.story-intro .lead { color: rgba(255,255,255,.8); }
.story-track { position: relative; height: 380vh; }
.story-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.story-photos { position: absolute; inset: 0; }
.story-photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,33,74,.96) 0%, rgba(20,33,74,.82) 45%, rgba(20,33,74,.55) 100%); }
.story-photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--cp, 0) * .1)); }
.story-stage[data-active="1"] .story-photo[data-step="1"],
.story-stage[data-active="2"] .story-photo[data-step="2"],
.story-stage[data-active="3"] .story-photo[data-step="3"] { opacity: 1; }
.story-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; width: 100%; }

.story-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.slab { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 20px; min-height: 104px; padding: 16px 24px; border-radius: var(--r-sm);
  border: 2px dashed rgba(255,255,255,.22); color: rgba(255,255,255,.35);
  transition: background-color .6s, border-color .6s, color .6s, transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .6s; transform: translateY(-14px); }
.slab:nth-child(1) { margin-right: 18%; }
.slab:nth-child(2) { margin: 0 9%; }
.slab:nth-child(3) { margin-left: 18%; }
.slab .layer-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: var(--r-sm); background: rgba(255,255,255,.06); }
.slab .layer-icon svg { width: 38px; height: 38px; }
.slab-name { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.slab.is-built { border-style: solid; color: #fff; transform: none; }
.slab.is-built .layer-icon { background: rgba(255,255,255,.14); }
.slab-software.is-built { background: var(--orange); border-color: var(--orange); }
.slab-computers.is-built { background: var(--blue); border-color: var(--blue); }
.slab-datacenter.is-built { background: #fff; border-color: #fff; color: var(--bg); }
.slab-datacenter.is-built .layer-icon { background: #e9eefb; color: var(--blue); }
.slab.is-current { box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 30px 60px -20px rgba(0,0,0,.6); transform: scale(1.03); }

.story-chapters { position: relative; min-height: 440px; }
.chapter { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(40px); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.chapter.is-current { opacity: 1; transform: none; pointer-events: auto; }
.chapter-photo { display: none; }
.chapter-count { font-family: var(--f-display); font-style: italic; font-weight: 600; color: #ff8a70; margin: 0 0 10px; font-size: 1.05rem; }
.chapter h3 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); font-style: italic; line-height: 1.05; max-width: 14ch; }
.chapter p { color: rgba(255,255,255,.86); font-size: 1.12rem; }
.chapter ul { margin: 0 0 26px; padding-left: 1.1em; color: rgba(255,255,255,.8); }
.chapter li { margin: 6px 0; }
.chapter li::marker { color: var(--orange); }
.chapter .text-link { color: #fff; align-self: flex-start; }
.chapter .text-link:hover { color: #ffb4a3; }
.story-rail { position: absolute; z-index: 2; right: clamp(16px, 3vw, 40px); top: 50%; width: 3px; height: 180px; transform: translateY(-50%); background: rgba(255,255,255,.18); border-radius: 3px; }
.story-rail span { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--orange); transform-origin: 50% 0; transform: scaleY(var(--story, 0)); border-radius: 3px; }

@media (max-width: 900px), (max-height: 560px) {
  .story-track { height: auto; }
  .story-stage { position: static; height: auto; display: block; padding-bottom: 72px; }
  .story-photos, .story-stack, .story-rail { display: none; }
  .story-grid { display: block; }
  .story-chapters { min-height: 0; }
  .chapter { position: static; opacity: 1; transform: none; pointer-events: auto; margin-top: 56px; }
  .chapter-photo { display: block; margin-bottom: 22px; }
  .chapter-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
}

/* ---------- 25 years: a giant number filled with the data center ---------- */
.years { padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.years .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.years-figure { display: flex; align-items: flex-start; line-height: .78; font-family: var(--f-display); font-style: italic; font-weight: 700; letter-spacing: -.04em;
  transform: scale(calc(.86 + var(--pass, .5) * .2)); transform-origin: 30% 60%; }
.years-num { font-size: clamp(9rem, 27vw, 24rem); color: #fff;
  background: url("/assets/img/datacenter-1600.webp") 50% calc(20% + var(--pass, .5) * 60%) / cover; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.years-plus { font-size: clamp(4rem, 11vw, 10rem); color: var(--orange); margin-top: .08em; }
.years h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.certs-label { font-weight: 700; color: var(--blue-deep); margin: 28px 0 14px; }
.brand-list-lg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.brand-list-lg li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 1.15rem; }
@media (max-width: 900px) { .years .wrap { grid-template-columns: 1fr; } .years-figure { justify-content: center; } }

/* ---------- FAQ split ---------- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.faq-aside p { color: var(--steel); }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* ---------- Finale: the logo at full size, orbiting ---------- */
.finale { position: relative; overflow: hidden; background: var(--bg-2); color: #fff; }
.finale .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.finale h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 12ch; }
.finale p { color: rgba(255,255,255,.82); font-size: 1.15rem; }
.finale-mail { margin: 26px 0 30px; }
.finale-mail a { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.8rem); color: #fff; text-decoration: none; border-bottom: 3px solid var(--orange); word-break: break-word; }
.finale-mail a:hover { color: #ffb4a3; }
.finale-atom { width: 100%; max-width: 480px; height: auto; justify-self: center; overflow: visible; }
@media (max-width: 860px) { .finale .wrap { grid-template-columns: 1fr; } .finale-atom { max-width: 260px; order: -1; justify-self: start; } }

/* ---------- Motion plumbing ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease-out, transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="stagger"] { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > ul > li { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: no-preference) {
  .stack li { animation: stack-in .6s cubic-bezier(.2,.7,.2,1) both; }
  .stack li:nth-child(1) { animation-delay: .05s; }
  .stack li:nth-child(2) { animation-delay: .17s; }
  .stack li:nth-child(3) { animation-delay: .29s; }
  .hero-atom { animation: fade-in 1.2s .3s ease both; }
  @keyframes stack-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes fade-in { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js [data-reveal] > * { opacity: 1 !important; transform: none !important; }
  .ph-photo img, .page-hero .wrap, .years-figure { transform: none !important; opacity: 1 !important; }
  .slab { transform: none !important; }
}
/* Without JS the story simply reads top to bottom, like on phones */
html:not(.js) .story-track { height: auto; }
html:not(.js) .story-stage { position: static; height: auto; display: block; padding-bottom: 72px; }
html:not(.js) .story-photos, html:not(.js) .story-stack, html:not(.js) .story-rail { display: none; }
html:not(.js) .story-grid { display: block; }
html:not(.js) .chapter { position: static; opacity: 1; transform: none; margin-top: 56px; }
html:not(.js) .chapter-photo { display: block; margin-bottom: 22px; }

/* =====================================================================
   v5 — night / cinematic. The atom is the star of the first screen.
   ===================================================================== */
.site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.site-header.is-scrolled { background: rgba(7,14,39,.82); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(14px); }
.nav a { color: rgba(255,255,255,.86); }
.nav-toggle { color: #fff !important; border-color: rgba(255,255,255,.3) !important; }
.page-hero.plain .wrap { padding-top: calc(76px + clamp(48px, 8vw, 96px)); }
main > .section:first-child { padding-top: calc(76px + clamp(64px, 9vw, 112px)); }

/* Hero */
.hero-cine { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--bg); padding: 120px 0 clamp(40px, 6vw, 72px); }
.hero-sky { position: absolute; inset: 0; background:
  radial-gradient(50% 55% at 76% 40%, rgba(40,68,154,.6) 0%, rgba(40,68,154,0) 70%),
  radial-gradient(35% 35% at 18% 85%, rgba(238,66,32,.16) 0%, rgba(238,66,32,0) 70%); }
.hero-sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.6px) 0 0 / 30px 30px;
  -webkit-mask-image: radial-gradient(55% 60% at 76% 42%, #000 0%, transparent 75%); mask-image: radial-gradient(55% 60% at 76% 42%, #000 0%, transparent 75%); }
.hero-atom-wrap { position: absolute; left: 76%; top: 47%; width: min(78vh, 800px, 100vw); pointer-events: none;
  transform: translate(-60.5%, -50%) translate(var(--mx, 0px), var(--my, 0px)) scale(calc(1 + var(--exit, 0) * .55)); opacity: calc(1 - var(--exit, 0) * 1.2); will-change: transform; }
.hero-atom { width: 100%; height: auto; overflow: visible; }
.hero-copy { position: relative; z-index: 2; transform: translateY(calc(var(--exit, 0) * -90px)); opacity: calc(1 - var(--exit, 0) * .9); }
.hero-cine h1 { font-size: clamp(2.8rem, 6.8vw, 6.8rem); line-height: .92; font-weight: 700; letter-spacing: -.02em; max-width: 12ch; color: #fff; margin: 0; text-shadow: 0 6px 60px rgba(7,14,39,.85); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(24px, 3vw, 36px); }
.hero-row .lead { color: rgba(255,255,255,.82); margin: 0; }
.hero-cine .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cine .hero-proof { border-top-color: var(--line); margin-top: clamp(28px, 4vw, 48px); max-width: none; }
.hero-cine .hero-proof span { color: rgba(255,255,255,.7); }
@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-atom-wrap { left: 64%; top: 21%; width: 118vw; opacity: calc(.5 - var(--exit, 0)); }
}

/* Night adjustments for existing pieces */
.brands { background: var(--bg); border-color: var(--line); }
.brand-list li { color: #fff; }
.section-tint { background: var(--bg-2); }
.story-intro h2, .years h2, .faq-aside h2 { color: #fff; }
.years { background: var(--bg); }
.years .lead { color: var(--steel); }
.certs-label { color: #fff; }
.steps h3 { color: #fff; }
.steps::after { box-shadow: 0 0 18px rgba(238,66,32,.7); }
.steps li.is-lit::before { box-shadow: 0 0 24px rgba(238,66,32,.6); }
.panel { background: var(--bg-2); border: 1px solid var(--line); }
.caps li:hover { background: rgba(255,255,255,.04); }
.page-hero .wrap { padding-top: calc(76px + clamp(48px, 8vw, 96px)); }
.finale { background: radial-gradient(60% 70% at 75% 50%, rgba(40,68,154,.45), rgba(40,68,154,0) 70%), var(--bg); }
.site-footer { border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .hero-atom-wrap { transform: translate(-60.5%, -50%) !important; opacity: 1 !important; }
  .hero-copy { transform: none !important; opacity: 1 !important; }
}

.years-num { -webkit-text-stroke: 2px rgba(125,152,255,.55); }

/* =====================================================================
   v6 — mobile. Phones get their own composition, not a squeezed desktop.
   ===================================================================== */
.nav-full, .nav-mail, .t-close, .story-mini, .mobile-cta { display: none; }

@media (max-width: 1020px) {
  /* Full-screen menu */
  .site-header .wrap { min-height: 64px; }
  .nav-toggle { position: relative; z-index: 3; min-height: 44px; }
  .nav-toggle[aria-expanded="true"] .t-open { display: none; }
  .nav-toggle[aria-expanded="true"] .t-close { display: inline; }
  .nav { position: fixed; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 88px var(--gutter) 32px;
    background: radial-gradient(70% 50% at 80% 20%, rgba(40,68,154,.45), rgba(40,68,154,0) 70%), var(--bg);
    border: 0; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
  .nav.open { display: flex; visibility: visible; opacity: 1; transition: opacity .3s ease; }
  .nav ul { padding: 0; gap: 0; }
  .nav a { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.1;
    padding: 12px 0; border-bottom: 1px solid var(--line); color: #fff; white-space: normal; }
  .nav a[aria-current="page"] { box-shadow: none; padding-left: 0; color: var(--orange); }
  .nav-short { display: none; }
  .nav-full { display: inline; }
  .nav .nav-cta a { font-family: var(--f-display); font-style: normal; font-size: 1.1rem; padding: 16px; margin-top: 24px; text-align: center; border-radius: var(--r-sm); }
  .nav-mail { display: block; margin: 20px 0 0; }
  .nav-mail a { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--steel); border: 0; padding: 0; }
  .nav.open li { animation: menu-in .45s cubic-bezier(.2,.7,.2,1) both; }
  .nav.open li:nth-child(2) { animation-delay: .04s; } .nav.open li:nth-child(3) { animation-delay: .08s; }
  .nav.open li:nth-child(4) { animation-delay: .12s; } .nav.open li:nth-child(5) { animation-delay: .16s; }
  .nav.open li:nth-child(6) { animation-delay: .2s; } .nav.open li:nth-child(7) { animation-delay: .24s; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(14px); } }
  html.menu-open { overflow: hidden; }
  html.menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }
  .site-header .brand { position: relative; z-index: 3; }
  html.menu-open .mobile-cta { transform: translateY(140%) !important; }
}

@media (max-width: 760px) {
  /* Hero: the atom stands above the headline, crisp, instead of hiding behind it */
  .hero-cine { justify-content: flex-start; padding-top: 72px; min-height: 0; }
  .hero-atom-wrap { position: relative; left: auto; top: auto; width: min(86vw, 380px); margin: 0 auto -6px; opacity: calc(1 - var(--exit, 0)) !important;
    transform: translate(-8%, 0) scale(calc(1 + var(--exit, 0) * .25)); }
  .hero-sky { background: radial-gradient(90% 40% at 55% 22%, rgba(40,68,154,.6) 0%, rgba(40,68,154,0) 70%); }
  .hero-sky::after { -webkit-mask-image: radial-gradient(80% 35% at 55% 22%, #000, transparent 75%); mask-image: radial-gradient(80% 35% at 55% 22%, #000, transparent 75%); }
  .hero-cine h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); line-height: .95; }
  .hero-row { gap: 22px; }
  .hero-cine .hero-actions, .finale .btn { width: 100%; }
  .hero-cine .hero-actions .btn, .finale .btn, .panel .btn { width: 100%; justify-content: center; min-height: 52px; }
  .hero-cine .hero-proof { margin-top: 28px; }
  .hero-proof strong { font-size: 2.6rem; }

  /* Story: a sticky three-layer bar that fills as you read each chapter */
  .story-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: sticky; top: 64px; z-index: 20;
    padding: 10px var(--gutter); background: rgba(7,14,39,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .story-mini span { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: .8rem; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
  .story-mini i { display: block; height: 4px; border-radius: 2px; margin-bottom: 6px; background: rgba(255,255,255,.14); transition: background-color .4s; }
  .story-mini span.is-built { color: #fff; }
  .story-mini span.is-built:nth-child(1) i { background: #fff; }
  .story-mini span.is-built:nth-child(2) i { background: var(--blue-lift); }
  .story-mini span.is-built:nth-child(3) i { background: var(--orange); }
  .story-intro { padding-bottom: 8px; }
  .chapter h3 { font-size: 2rem; }
  .chapter-photo img { aspect-ratio: 4 / 3; }

  /* 25+: tighter */
  .years { padding: 64px 0; }
  .years-num { font-size: 42vw; }
  .years-plus { font-size: 20vw; }
  .brand-list-lg li { font-size: 1.05rem; }

  /* Inner pages */
  .page-hero { min-height: 78svh; }
  .page-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .answer { font-size: 1.08rem; padding-left: 16px; }
  .cols { gap: 40px; }
  .section { padding: 56px 0; }
  .faq summary { font-size: 1.08rem; padding: 18px 36px 18px 0; }

  /* Sticky quote button */
  .mobile-cta { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 55; min-height: 54px; border-radius: 6px; background: var(--orange); color: #fff; text-decoration: none;
    font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; box-shadow: 0 14px 34px -10px rgba(238,66,32,.7), 0 4px 18px rgba(0,0,0,.4);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .mobile-cta svg { width: 20px; height: 20px; }
  .mobile-cta:hover { color: #fff; }
  html.show-cta .mobile-cta { transform: none; }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }
