/* ==========================================================================
   NEXLINK — placeholder brand
   ========================================================================== */

:root {
  /* HyperLink brand */
  --navy: #0A192F;          /* Deep Navy — primary foundation */
  --cyan: #00F0FF;          /* Tech Blue — accent / innovation */
  --platinum: #E6E6E6;      /* Platinum Gray — typography / structure */
  --white: #FFFFFF;
  --royal: #1E6BFF;         /* logo gradient, deep end */
  --azure: #3BA0FF;

  --accent: var(--cyan);             /* accent for text, borders, fills */
  --glow-rgb: 0, 240, 255;
  --line-rgb: 140, 175, 220;
  --surface-rgb: 9, 22, 44;          /* cards, panels, fields */
  --nav-rgb: 7, 18, 36;              /* nav, menus, floating bars */
  --inset-rgb: 3, 11, 24;            /* chips, insets */
  --hi-rgb: 255, 255, 255;           /* hover / highlight tint */
  --plastic-rgb: 220, 235, 255;      /* RJ45 plug plastic */
  --chassis-1: #13284A; --chassis-2: #0B1A31;   /* switch */
  --metal-1: #102443;   --metal-2: #0A1830;     /* patch panel */
  --placeholder: #52668A;
  --err: #ff6b6b;
  --ok-text: #b6ffc9;
  --option-bg: #0C1C36;
  --led-off: #143020; --led-off-red: #361417; --led-idle: #22375A;   /* unlit indicator lights */
  --band-text: #B8C6D8;

  --bg: var(--navy);
  --bg-2: #071426;
  --panel: rgba(16, 34, 62, .62);
  --line: rgba(var(--line-rgb), .12);
  --line-2: rgba(var(--line-rgb), .24);
  --text: #F4F7FB;
  --muted: #93A6BF;
  --dim: #5F7494;

  --wire-white: var(--platinum);
  --grad: linear-gradient(90deg, #1E6BFF 0%, #1FA8FF 42%, #00F0FF 78%, #C9FCFF 100%);

  --pad: clamp(18px, 5vw, 64px);
  --lane-x: 18px;      /* cable lane, measured from the container content edge */
  --lane-gap: 78px;    /* content inset that keeps the lane clear */
  --maxw: 1320px;

  /* Geometria is the brand display face (licensed); Outfit is the free stand-in */
  --font-display: 'Geometria', 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* anchors must land below the fixed nav, not under it */
:target, section[id], .pillar[id], .equip[id] { scroll-margin-top: 96px; }
.equip[id] { scroll-margin-top: 130px; }
body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--navy); }
.mono { font-family: var(--mono); }
h1, h2, h3, .band-item, .sw-status, .mobile-menu nav a, .hero-specs b { font-family: var(--font-display); }

.container {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.laned   { padding-left:  calc(var(--pad) + var(--lane-gap)); }
.laned-r { padding-right: calc(var(--pad) + var(--lane-gap)); }

.grad {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- background ---------- */
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55vw 55vh at 80% 8%, rgba(var(--glow-rgb), .12), transparent 62%),
    radial-gradient(45vw 45vh at 4% 96%, rgba(30, 107, 255, .14), transparent 60%),
    var(--bg);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(var(--line-rgb), .09) 1px, transparent 1.3px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 10%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 10%, transparent 80%);
}

/* ---------- cable layer ---------- */
.cable-layer { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
#cable, .plug-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plug-svg { overflow: visible; }

.plug { opacity: 0; }
.plug-body  { fill: url(#g-plastic); stroke: rgba(var(--plastic-rgb), .6); stroke-width: .7; }
.plug-boot  { fill: url(#g-boot); stroke: rgba(var(--glow-rgb), .5); stroke-width: .6; }
.plug-latch { fill: rgba(var(--hi-rgb), .05); stroke: rgba(var(--plastic-rgb), .28); stroke-width: .5; }
.plug-crimp { fill: rgba(var(--hi-rgb), .16); }
.plug-ribs path { stroke: rgba(var(--plastic-rgb), .22); stroke-width: .35; fill: none; }
.plug-pins rect { fill: url(#g-gold); }
.plug-pins { transform: translateY(-5px); transition: transform .24s cubic-bezier(.5, 0, .2, 1.5); }
.plug.is-crimped .plug-pins { transform: none; }
.plug-shine { stroke: rgba(var(--hi-rgb), .5); stroke-width: .8; stroke-linecap: round; fill: none; }
.plug-flash circle {
  fill: none; stroke: #fff; stroke-width: 1.2; opacity: 0;
  transform-box: fill-box; transform-origin: center;
}
.plug.is-crimped .plug-flash circle { animation: flash .9s ease-out; }
@keyframes flash {
  0%   { opacity: .9; transform: scale(.2); }
  100% { opacity: 0;  transform: scale(2.6); }
}

/* cable route points — invisible unless styled as nodes */
.cable-pt { position: absolute; width: 0; height: 0; pointer-events: none; }
.cable-pt.l { left: calc(var(--pad) + var(--lane-x)); }
.cable-pt.r { right: calc(var(--pad) + var(--lane-x)); }
.cable-pt.c { left: 50%; }

/* ---------- shared UI ---------- */
main, .footer { position: relative; z-index: 2; }

.led {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #243A5C; transition: background .4s, box-shadow .4s;
}
.is-live > .led, .is-linked .sw-status .led {
  background: var(--accent); box-shadow: 0 0 10px var(--accent), 0 0 2px #fff inset;
}

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .4s;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: #5CF6FF; box-shadow: 0 0 0 4px rgba(var(--glow-rgb), .16), 0 14px 40px -10px rgba(var(--glow-rgb), .6); }
.btn-ghost { border-color: var(--line-2); background: rgba(var(--hi-rgb), .02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(var(--hi-rgb), .45); background: rgba(var(--hi-rgb), .06); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

.port-tag, .eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--mono); font-size: 12px; line-height: 20px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.port-tag b { color: var(--text); font-weight: 500; }
.port-tag b::after { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 12px; }

/* cable clip / port node */
.node {
  position: absolute; top: 10px;
  width: 50px; height: 24px; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 8px; border: 1px solid var(--line-2);
  background: rgba(var(--surface-rgb), .45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: border-color .5s, box-shadow .5s;
}
.node.r { transform: translate(50%, -50%); }
.node.mid { top: 50%; }
.node::before, .node::after {
  content: ""; position: absolute; top: 50%; width: 6px; height: 1px; background: var(--line-2);
}
.node::before { left: -7px; } .node::after { right: -7px; }
.node.is-live { border-color: rgba(var(--glow-rgb), .55); box-shadow: 0 0 26px -6px rgba(var(--glow-rgb), .5); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.nav.is-scrolled {
  background: rgba(var(--nav-rgb), .6);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.logo { display: flex; align-items: center; gap: 14px; }
/* official logo: one file per theme, swapped by CSS so no gradient id collides */
.logo-img { display: block; width: auto; height: 34px; transition: transform .6s var(--ease); }
.logo:hover .logo-img { transform: scale(1.03); }
.logo-img.on-light, html[data-theme="light"] .logo-img.on-dark { display: none; }
html[data-theme="light"] .logo-img.on-light { display: block; }
.logo-tag {
  font-family: var(--font); font-weight: 400; font-size: 9px; line-height: 1.35; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); max-width: 132px;
  padding-left: 14px; border-left: 1px solid var(--line-2);
}
/* the logo + tagline block must never reach the nav pill */
@media (max-width: 1400px) { .nav .logo-tag { display: none; } }

/* language switch */
.lang { position: relative; display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(var(--surface-rgb), .5); }
.lang button {
  position: relative; z-index: 1; width: var(--lw, 38px); height: 30px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); transition: color .35s;
}
.lang button[aria-pressed="true"] { color: var(--navy); }
.lang::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: var(--lw, 38px); height: 30px; border-radius: 999px; background: var(--accent);
  transition: transform .45s var(--ease);
}
.lang[data-active="en"]::before { transform: translateX(var(--lw, 38px)); }
.lang button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(var(--surface-rgb), .35); }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, background .3s; }
.nav-links a:hover { color: var(--text); background: rgba(var(--hi-rgb), .06); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-status { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: 110px var(--pad) 40px;
  background: rgba(var(--nav-rgb), .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 34px; font-weight: 600; letter-spacing: -.02em; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.mobile-menu nav a b { font-weight: inherit; }
.mobile-menu nav a span { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .25s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 110px;
}
.hero-inner { width: 100%; }
.hero-copy { max-width: min(720px, 58%); container-type: inline-size; }
.cp-h0 { left: 73%; top: -280px; }
.cp-h1 { left: 72.6%; top: 22%; }
.cp-h2 { left: 72%; top: 62%; }
.cp-h3 { left: 60%; top: 104%; }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--glow-rgb), .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--glow-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--glow-rgb), 0); } }

/* the headline scales with its own column (cqi), so the longest unbreakable
   word — "hyper‑connectée." / "hyper‑linked." — always fits, at any width and zoom */
.hero-title {
  margin: 24px 0 28px;
  font-size: clamp(2.2rem, 12.4cqi, 6.4rem);
  line-height: .95; letter-spacing: -.035em; font-weight: 600;
}
html[lang="fr"] .hero-title { font-size: clamp(2.1rem, 10.6cqi, 6rem); }
.hero-title .line { display: block; padding-bottom: .1em; margin-bottom: -.08em; clip-path: inset(-.4em -100vw 0 -100vw); }
.hero-title .grad { padding-right: .08em; }
.hero-title .line > span { display: inline-block; transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.js .hero-title .line > span { transform: translateY(110%); }
.js .is-ready .hero-title .line > span { transform: none; }

.hero-lead { max-width: 520px; margin: 0 0 36px; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-specs { display: flex; flex-wrap: wrap; row-gap: 16px; gap: 34px; list-style: none; padding: 0; margin: 52px 0 0; }
.hero-specs li { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--line-2); }
.hero-specs b { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.hero-specs span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

.js .hero [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .is-ready .hero [data-in] { opacity: 1; transform: none; }

.callouts { position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--hp, 0) * 2.5); }
.js .callouts { visibility: hidden; }
.js .is-ready .callouts { visibility: visible; }
.callout {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
  padding-left: 70px; white-space: nowrap;
}
.callout b { color: var(--text); font-weight: 500; font-size: 12px; }
.callout::before { content: ""; position: absolute; left: 0; top: 50%; width: 58px; height: 1px; background: linear-gradient(90deg, rgba(var(--hi-rgb), .5), var(--line-2)); transform-origin: left; }
.callout::after { content: ""; position: absolute; left: -3px; top: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; border: 1px solid rgba(var(--hi-rgb), .7); }
.js .callout { opacity: 0; transform: translateX(-10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .is-ready .callout { opacity: 1; transform: none; }
.c1 { left: calc(72% + 70px); top: calc(62% - 132px); transition-delay: .5s !important; }
.c2 { left: calc(72% + 70px); top: calc(62% - 30px);  transition-delay: .62s !important; }
.c3 { left: calc(72% + 50px); top: calc(62% - 300px); transition-delay: .74s !important; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.js .hero .scroll-hint[data-in] { transform: translate(-50%, 18px); }
.js .is-ready .hero .scroll-hint[data-in] { transform: translateX(-50%); }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- marquee bands ---------- */
.band { position: relative; overflow: hidden; padding: 24px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.band-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.band-track.slow { animation-duration: 60s; }
.band-item { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font-size: clamp(20px, 2.5vw, 32px); font-weight: 500; letter-spacing: -.015em; color: var(--band-text); }
.band-item i { width: 9px; height: 9px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }
.band-item.logos { gap: 70px; padding-right: 70px; font-family: var(--mono); font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .06em; color: var(--dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 170px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head h2 { margin: 20px 0 22px; font-size: clamp(2.3rem, 4.9vw, 4.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.section-head p:not(.port-tag) { margin: 0; max-width: 580px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  --c: var(--royal);
  position: relative; overflow: hidden; padding: 28px 28px 30px; border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--surface-rgb), .72), rgba(var(--surface-rgb), .62));
  transition: transform .6s var(--ease), border-color .5s, opacity 1s var(--ease);
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c), transparent 75%); }
.card.striped::before { background: repeating-linear-gradient(90deg, var(--c) 0 16px, var(--wire-white) 16px 24px); -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%); mask-image: linear-gradient(90deg, #000, transparent 80%); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(360px 220px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 16%, transparent), transparent 70%);
}
.card:hover { border-color: color-mix(in srgb, var(--c) 40%, transparent); transform: translateY(-6px); }
.card:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--dim); }
.card-led { width: 7px; height: 7px; border-radius: 50%; background: var(--led-idle); transition: background .4s, box-shadow .4s; }
.card:hover .card-led { background: var(--c); box-shadow: 0 0 12px var(--c); }
.card-icon {
  width: 54px; height: 54px; margin-bottom: 24px; border-radius: 15px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 11%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.card p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* service pillars */
.pillars { display: grid; gap: clamp(72px, 9vw, 130px); }
.pillar {
  position: relative; display: grid; grid-template-columns: minmax(260px, .85fr) 1.6fr;
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.pillar + .pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * clamp(36px, 4.5vw, 65px));
  height: 1px; background: linear-gradient(90deg, var(--line-2), transparent 80%);
}
.pillar > .node { left: calc(var(--lane-x) - var(--lane-gap)); top: 10px; }
.pillar-aside { position: sticky; top: 108px; }
.pillar-num {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--mono); font-size: 12px; line-height: 20px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.pillar-num::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.pillar-title { margin: 18px 0 16px; font-size: clamp(1.8rem, 2.9vw, 2.75rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.pillar-text { margin: 0 0 22px; color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); }
.pillar-count { display: flex; align-items: baseline; gap: 8px; margin: 0 0 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pillar-count b { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.pillar.is-live .pillar-num { text-shadow: 0 0 14px rgba(var(--glow-rgb), .6); }

.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }   /* two columns: long service titles need the width */
.card.sub { padding: 22px 22px 24px; border-radius: 18px; }
.card.sub .card-icon { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px; }
.card.sub .card-icon svg { width: 23px; height: 23px; }
.card.sub h4 { margin: 0 0 8px; font-family: var(--font-display); font-size: 19px; line-height: 1.22; letter-spacing: -.015em; font-weight: 600; }
.card.sub p { margin: 0; font-size: 14.5px; }

/* three-practice card grids */
.sub-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card.sub .card-top { margin-bottom: 18px; }

/* software practice: two approaches + integration path */
.soft { display: grid; gap: 14px; }
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mode {
  position: relative; overflow: hidden; padding: 26px 26px 24px; border-radius: 20px;
  border: 1px solid rgba(var(--glow-rgb), .28);
  background: radial-gradient(120% 100% at 100% 0%, rgba(var(--glow-rgb), .09), transparent 55%), linear-gradient(180deg, rgba(var(--surface-rgb), .8), rgba(var(--surface-rgb), .7));
  transition: border-color .5s, transform .6s var(--ease), opacity 1s var(--ease);
}
.mode:hover { border-color: rgba(var(--glow-rgb), .55); transform: translateY(-4px); }
.mode-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mode .card-icon { --c: var(--accent); margin: 0; width: 50px; height: 50px; }
.mode-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(var(--glow-rgb), .3); }
.mode h4 { margin: 0 0 10px; font-family: var(--font-display); font-size: 23px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.mode p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.mode-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mode-steps li { padding: 4px 10px; border-radius: 999px; background: rgba(var(--glow-rgb), .07); font-family: var(--mono); font-size: 11px; color: var(--text); }
.flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 4px 0; padding: 14px 16px; list-style: none;
  border-radius: 16px; border: 1px dashed var(--line-2); counter-reset: flow;
}
.flow li { display: flex; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); counter-increment: flow; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 18px; height: 18px; margin-right: 7px; border-radius: 50%; background: rgba(var(--glow-rgb), .12); color: var(--accent); font-size: 10px; }
.flow li:not(:last-child)::after { content: "→"; margin: 0 10px; color: var(--accent); opacity: .7; }

/* IT equipment — cross-cutting, deliberately lighter than the three practices */
.equip {
  position: relative; display: grid; grid-template-columns: minmax(240px, .8fr) 1.7fr; gap: 20px 40px; align-items: center;
  margin-top: clamp(64px, 8vw, 110px); padding: 26px 28px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(var(--surface-rgb), .45);
}
.equip > .node { left: calc(var(--lane-x) - var(--lane-gap)); top: 38px; }
.equip-head h3 { margin: 10px 0 6px; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.equip-head p:not(.pillar-num) { margin: 0; color: var(--muted); font-size: 14.5px; }
.equip-cta { margin-top: 16px; }
.pillar-cta { margin-top: 0; }
.equip-ports { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.equip-ports li {
  display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 9px; border-radius: 10px;
  border: 1px solid var(--line-2); background: rgba(var(--inset-rgb), .5); font-size: 13.5px;
}
.equip-ports i { position: relative; width: 16px; height: 12px; border-radius: 2px 2px 3px 3px; background: #030B18; border: 1px solid rgba(var(--line-rgb), .3); }
.equip-ports i::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 3px; height: 3px; border-radius: 50%; transform: translateX(-50%); background: var(--led-off); transition: background .3s, box-shadow .3s; transition-delay: calc(var(--i) * .08s); }
.equip.is-live .equip-ports i::after { background: #39ff6a; box-shadow: 0 0 6px #39ff6a; }

/* reassurance */
.assure { position: relative; padding: clamp(56px, 7vw, 90px) 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--surface-rgb), .6), rgba(var(--surface-rgb), .25)); }
.assure-kicker { margin: 0 0 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.assure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 36px; }
.assure-item { display: flex; gap: 16px; align-items: flex-start; }
.assure-item .card-icon { --c: var(--accent); flex: none; margin: 0; width: 48px; height: 48px; }
.assure-item h3 { margin: 2px 0 6px; font-size: 20px; letter-spacing: -.015em; font-weight: 600; }
.assure-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* about — full-width editorial block (spec §9: présentation, vision, positionnement, valeurs, pourquoi) */
.about-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-statement { margin: 20px 0 0; font-size: clamp(2.3rem, 4.8vw, 4.4rem); line-height: .98; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; }
.about-vision { margin: 0 0 18px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.about-position { margin: 0; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.about-facts { display: flex; flex-wrap: wrap; gap: 16px 44px; margin: 30px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); }
.about-facts li { display: flex; align-items: baseline; gap: 12px; }
.about-facts b { font-family: var(--font-display); font-size: clamp(1.9rem, 2.8vw, 2.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.about-facts span { max-width: 120px; font-family: var(--mono); font-size: 10.5px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.about-why { margin-top: clamp(52px, 7vw, 92px); }
.about-sub { margin: 0 0 8px; font-size: clamp(19px, 1.7vw, 22px); letter-spacing: -.015em; font-weight: 600; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 80px); margin: 0; padding: 0; list-style: none; counter-reset: why; }
.why-list li {
  display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 1.2vw, 16.5px); counter-increment: why;
}
.why-list li::before { content: counter(why, decimal-leading-zero); flex: none; padding-top: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); }

.about-values { margin-top: clamp(44px, 6vw, 76px); }
.values-label { margin: 0 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.values-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.values-row li { padding: 16px 4px 0; border-top: 2px solid rgba(var(--glow-rgb), .35); }
.values-row span { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--dim); }
.values-row b { font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.015em; }

/* references — a 12-port patch panel: each reference gets plugged into HyperLink */
.refs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 60px); }
.refs-head .section-head { margin-bottom: 0; }
.refs-counter { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(var(--surface-rgb), .55); }
.refs-counter b { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.refs-counter b small { font-size: 20px; color: var(--dim); letter-spacing: 0; }
.refs-counter > span { max-width: 130px; font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.references.is-live .refs-counter { border-color: rgba(57, 255, 106, .35); }
.references.is-live .refs-counter b { color: var(--ok-text); }

.panel {
  position: relative; padding: 16px 18px 20px; border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--metal-1), var(--metal-2));
  box-shadow: inset 0 1px 0 rgba(var(--hi-rgb), .06), 0 50px 90px -60px rgba(0, 0, 0, .95);
}
/* uplink: the main cable feeds the panel */
.panel::after {
  content: ""; position: absolute; top: 25px; height: 3px; border-radius: 2px;
  right: calc(-1 * (var(--lane-gap) - var(--lane-x))); width: calc(var(--lane-gap) - var(--lane-x));
  background: rgba(var(--line-rgb), .25); transition: background .6s, box-shadow .6s;
}
.references.is-live .panel::after { background: var(--accent); box-shadow: 0 0 10px rgba(var(--glow-rgb), .7); }
.panel-rail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--dim); }
.panel-rail i { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #5a6f92, #16253f 70%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); }
.panel-foot { margin: 14px 4px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; margin: 0; padding: 0; list-style: none; }
.ref { --d: 0s; position: relative; padding: 70px 10px 14px; text-align: center; border-radius: 16px; transition: background .6s; }
/* trunk: HyperLink backbone running along every row */
.ref::before { content: ""; position: absolute; top: 8px; left: -7px; right: -7px; height: 2px; background: rgba(var(--line-rgb), .16); transition: background .6s var(--d), box-shadow .6s var(--d); }
.ref-n { position: absolute; top: 16px; left: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--dim); transition: color .5s var(--d); }
.ref-cord {
  position: absolute; left: 50%; top: 9px; width: 5px; height: 26px; margin-left: -2.5px; border-radius: 1px;
  background: var(--w); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease) var(--d);
}
.ref.striped .ref-cord { background: repeating-linear-gradient(180deg, var(--w) 0 5px, #ece6da 5px 9px); }
.ref-plug {
  position: absolute; z-index: 2; left: 50%; top: 30px; width: 16px; height: 18px; margin-left: -8px; border-radius: 2px 2px 3px 3px;
  border: 1px solid rgba(var(--plastic-rgb), .7);
  background: linear-gradient(90deg, rgba(var(--plastic-rgb), .45), rgba(var(--plastic-rgb), .12) 45%, rgba(var(--plastic-rgb), .35));
  opacity: 0; transform: translateY(-24px);
  transition: transform .5s cubic-bezier(.5, 0, .2, 1.35) var(--d), opacity .2s var(--d);
}
.ref-plug::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 5px; background: repeating-linear-gradient(90deg, #e9c46a 0 1.3px, transparent 1.3px 2.4px); }
.ref-jack {
  position: absolute; z-index: 3; left: 50%; top: 40px; width: 26px; height: 15px; margin-left: -13px; border-radius: 2px 2px 4px 4px;
  background: #030B18; border: 1px solid rgba(var(--line-rgb), .3); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .8);
}
.ref-jack::before { content: ""; position: absolute; left: 50%; bottom: 2px; width: 8px; height: 4px; margin-left: -4px; border-radius: 1px 1px 0 0; background: #0C1C36; }
.ref-leds { position: absolute; left: 50%; top: 59px; display: flex; gap: 14px; transform: translateX(-50%); }
.ref-leds i { width: 5px; height: 3px; border-radius: 1px; background: var(--led-off); transition: background .3s calc(var(--d) + .45s), box-shadow .3s calc(var(--d) + .45s); }
.ref-leds i:last-child { background: var(--led-off-red); }

.ref-plate {
  display: grid; place-items: center; height: 88px; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--navy);
  filter: grayscale(1); opacity: .42;
  transition: filter .6s calc(var(--d) + .35s), opacity .6s calc(var(--d) + .35s), box-shadow .6s calc(var(--d) + .35s), transform .5s var(--ease);
}
.ref-plate img { max-width: 100%; max-height: 52px; object-fit: contain; }
.ref-plate img.tall { max-height: 66px; }
.ref-mark { font-family: var(--font-display); font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.ref-mark small { display: block; margin-top: 5px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #5b6b85; }
.ref-mark--icon svg { display: block; width: 34px; height: 34px; margin: 0 auto; color: var(--royal); }
.ref-name { margin: 12px 0 0; font-size: 13.5px; line-height: 1.35; color: var(--dim); transition: color .6s calc(var(--d) + .35s); }

/* plugged: section reached by the main cable + tile on screen */
.references.is-live .ref.in-view::before { background: rgba(var(--glow-rgb), .55); box-shadow: 0 0 8px rgba(var(--glow-rgb), .45); }
.references.is-live .ref.in-view .ref-n { color: var(--accent); }
.references.is-live .ref.in-view .ref-cord { transform: scaleY(1); }
.references.is-live .ref.in-view .ref-plug { opacity: 1; transform: none; }
.references.is-live .ref.in-view .ref-leds i:first-child { background: #39ff6a; box-shadow: 0 0 6px #39ff6a; animation: led-activity .7s steps(1, end) infinite; animation-delay: calc(var(--d) + .5s); }
.references.is-live .ref.in-view .ref-leds i:last-child { background: #ff9f2d; box-shadow: 0 0 6px rgba(255, 159, 45, .8); }
.references.is-live .ref.in-view .ref-plate { filter: none; opacity: 1; box-shadow: 0 0 0 1px rgba(var(--glow-rgb), .35), 0 14px 34px -14px rgba(var(--glow-rgb), .55); }
.references.is-live .ref.in-view .ref-name { color: var(--text); }
.ref:hover .ref-plate { transform: translateY(-3px); }

/* port 12 — free, waiting for the next connection */
.ref--free .ref-plate {
  gap: 4px; align-content: center; background: transparent; color: var(--muted); border: 1px dashed rgba(var(--line-rgb), .4);
  filter: none; opacity: 1; font-family: var(--font-display); font-size: 15px; font-weight: 500;
}
.ref--free .ref-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(var(--glow-rgb), .5); color: var(--accent); font-size: 20px; line-height: 1; }
.ref--free .ref-plate:hover { border-color: var(--accent); color: var(--text); }
.ref--free .ref-leds i:last-child { background: var(--led-red); box-shadow: 0 0 6px var(--led-red); animation: led-pulse 1.6s ease-in-out infinite; }
.ref--free .ref-name a { color: var(--accent); }
.references.is-live .ref--free.in-view .ref-plate { box-shadow: none; }

/* process */
.process .section-head { margin-bottom: 0; }
.timeline { padding-top: 250px; padding-bottom: 40px; }
.tl-start { top: 190px; }
.tl-end { bottom: 0; }
.step { position: relative; display: grid; grid-template-columns: 1fr 170px 1fr; align-items: center; min-height: 250px; }
.step-card {
  position: relative; grid-column: 1; justify-self: end; max-width: 440px; text-align: right;
  padding: 28px 32px; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(var(--surface-rgb), .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .6s, opacity 1s var(--ease), transform 1s var(--ease);
}
.step.right .step-card { grid-column: 3; justify-self: start; text-align: left; }
.step-card::after { content: ""; position: absolute; top: 50%; width: 46px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.step:not(.right) .step-card::after { right: -47px; }
.step.right .step-card::after { left: -47px; }
.step-num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--dim); transition: color .6s; }
.step h3 { margin: 8px 0 8px; font-size: 28px; letter-spacing: -.025em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); }
.step.is-live .step-card { border-color: rgba(var(--glow-rgb), .3); }
.step.is-live .step-num { color: var(--accent); }

.step-port {
  left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--line-2);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 5px;
  transition: border-color .6s, box-shadow .6s;
}
.step-port::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px dashed rgba(var(--line-rgb), .25); }
.step-port .led { position: relative; z-index: 1; width: 6px; height: 6px; }
.step-port.is-live { border-color: rgba(var(--glow-rgb), .6); box-shadow: 0 0 40px -8px rgba(var(--glow-rgb), .55), inset 0 0 20px -10px rgba(var(--glow-rgb), .8); }
.step-port.is-live::before { border-color: rgba(var(--glow-rgb), .45); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* contact */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; column-gap: clamp(40px, 7vw, 110px); row-gap: 0;
  grid-template-areas: "head side" "form side";
}
.contact-head { grid-area: head; }
.contact-grid > * { min-width: 0; }
.contact-list a { overflow-wrap: anywhere; }
.contact-head h2 { margin: 20px 0 22px; font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: .96; letter-spacing: -.05em; font-weight: 600; }
.contact-head > p:not(.port-tag) { margin: 0; color: var(--muted); max-width: 520px; font-size: clamp(16px, 1.3vw, 18px); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 2px; }
.contact-list li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list .plain { font-style: normal; }
.contact-list span { width: 92px; flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.contact-list a:hover { color: var(--azure); }
.contact-vals { display: grid; gap: 6px; }   /* several numbers, addresses, offices */
.val-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.val-tag { min-width: 100px; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

.contact-side { grid-area: side; align-self: end; }

.form { grid-area: form; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; outline: none;
  border: 1px solid var(--line-2); background: rgba(var(--surface-rgb), .7);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238a94a9' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--option-bg); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(30, 107, 255, .7); box-shadow: 0 0 0 4px rgba(30, 107, 255, .14); background: rgba(var(--surface-rgb), .9); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.form-note.ok { color: var(--accent); }
.req { color: var(--accent); font-weight: 500; }
.field-err { display: block; min-height: 0; font-size: 12.5px; line-height: 1.35; color: var(--err); }
.field-err:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.5; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.turnstile:empty { display: none; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form-note.err { color: var(--err); }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: rgba(255, 90, 90, .75); box-shadow: 0 0 0 4px rgba(255, 90, 90, .12); }
.field select optgroup { background: var(--option-bg); color: var(--muted); font-style: normal; }

/* switch */
.switch {
  position: relative; border-radius: 22px; padding: 0 22px 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--chassis-1), var(--chassis-2) 70%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(var(--hi-rgb), .06);
}
.sw-ports { display: flex; justify-content: space-between; gap: 10px; margin: -1px 0 0; }
.sw-port {
  position: relative; flex: 0 0 auto; width: 44px; height: 46px;
  border-radius: 0 0 8px 8px; background: #030B18;
  border: 1px solid rgba(var(--line-rgb), .14); border-top: 0;
  box-shadow: inset 0 8px 14px rgba(0, 0, 0, .9);
}
.sw-port::before { content: ""; position: absolute; left: 50%; bottom: 7px; width: 14px; height: 6px; transform: translateX(-50%); border-radius: 2px 2px 0 0; background: #0C1C36; }
/* switch LEDs — realistic green link/activity + red status */
:root { --led-green: #39ff6a; --led-red: #ff2d2d; }
.sw-port > i {
  position: absolute; bottom: -12px; width: 7px; height: 4px; border-radius: 1.5px;
  background: var(--led-off); box-shadow: inset 0 0 0 .5px rgba(var(--hi-rgb), .06);
}
.sw-port > i:first-of-type { left: 7px; }
.sw-port > i:last-of-type { right: 7px; background: var(--led-off-red); }
.sw-port .cable-pt { left: 50%; }
.sw-end { top: 30px; }
/* waiting for the plug: the target port shows red "no link" */
.sw-port.is-target > i:last-of-type {
  background: var(--led-red); box-shadow: 0 0 5px var(--led-red), 0 0 14px rgba(255, 45, 45, .55);
  animation: led-pulse 1.6s ease-in-out infinite;
}
/* plugged in: red goes out, green link/activity starts flickering */
.is-linked .sw-port.is-target { border-color: rgba(57, 255, 106, .45); }
.is-linked .sw-port > i:first-of-type {
  background: var(--led-green); box-shadow: 0 0 5px var(--led-green), 0 0 14px rgba(57, 255, 106, .5);
  animation: led-activity .5s steps(1, end) infinite; animation-delay: calc(var(--k, 0) * -.13s);
}
.is-linked .sw-port:not(.is-target) > i:first-of-type { animation-duration: .9s; }
.is-linked .sw-port.is-target > i:last-of-type { background: var(--led-off-red); box-shadow: inset 0 0 0 .5px rgba(var(--hi-rgb), .06); animation: none; }
.is-linked .sw-port:nth-child(2) > i:last-of-type,
.is-linked .sw-port:nth-child(5) > i:last-of-type {
  background: var(--led-red); box-shadow: 0 0 5px var(--led-red), 0 0 12px rgba(255, 45, 45, .45);
  animation: led-activity 2.3s steps(1, end) infinite;
}
.sw-port:nth-child(2) { --k: 2; } .sw-port:nth-child(3) { --k: 5; } .sw-port:nth-child(4) { --k: 1; } .sw-port:nth-child(5) { --k: 4; }
@keyframes led-activity { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .22; } }
@keyframes led-pulse { 50% { opacity: .4; } }

.sw-body { padding-top: 30px; }
.sw-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.sw-status { display: flex; align-items: center; gap: 12px; margin: 16px 0 18px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.sw-status .led { width: 10px; height: 10px; background: var(--led-red); box-shadow: 0 0 8px var(--led-red), 0 0 18px rgba(255, 45, 45, .5); animation: led-pulse 1.6s ease-in-out infinite; }
.is-linked .sw-status .led { background: var(--led-green); box-shadow: 0 0 8px var(--led-green), 0 0 18px rgba(57, 255, 106, .5); animation: none; }
.sw-leds { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; padding: 14px; border-radius: 12px; background: rgba(var(--inset-rgb), .6); border: 1px solid var(--line); }
.sw-leds i { height: 6px; border-radius: 2px; background: var(--led-off); transition: background .3s, box-shadow .3s, opacity .12s; }
.sw-leds i.on { background: var(--led-green); box-shadow: 0 0 6px rgba(57, 255, 106, .8); }
.sw-leds i.on.idle { opacity: .3; }
.sw-leds i.on.red { background: var(--led-red); box-shadow: 0 0 6px rgba(255, 45, 45, .8); }

/* footer */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin: 20px 0 0; }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 100px); flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 16px; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.footer-cols a { display: block; padding: 5px 0; color: var(--muted); font-size: 15px; transition: color .3s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-bottom .mono { font-size: 11px; letter-spacing: .14em; }


/* nav: Services dropdown */
.nav-dd { position: relative; display: flex; }
.nav-dd > .dd-trigger::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 360px; padding: 8px; border-radius: 18px;
  border: 1px solid var(--line-2); background: rgba(var(--surface-rgb), .97); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd:hover .dd-panel, .nav-dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links .dd-panel a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--text); }
.nav-links .dd-panel a:hover, .nav-links .dd-panel a:focus-visible { background: rgba(var(--glow-rgb), .07); }
.dd-panel b { display: block; font-size: 14px; font-weight: 500; }
.dd-panel small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.mobile-menu nav .mm-sub { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 16px 32px; border-bottom: 1px solid var(--line); }
.mobile-menu nav .mm-sub a { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); opacity: 1; transform: none; }
.mobile-menu nav > a:first-child { border-bottom: 0; }

/* form extras */
.opt { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim); font-family: var(--font); font-size: 12px; }
.label-like { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field .file-drop {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 14px; cursor: pointer;
  border: 1px dashed var(--line-2); background: rgba(var(--surface-rgb), .5); color: var(--muted);
  font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none; transition: border-color .3s, color .3s;
}
.field .file-drop:hover, .file-input:focus-visible + .file-drop { border-color: rgba(var(--glow-rgb), .6); color: var(--text); }
.file-drop.has-file { border-style: solid; border-color: rgba(var(--glow-rgb), .45); color: var(--text); }
.field.has-error .file-drop { border-color: rgba(255, 90, 90, .75); }
.file-drop svg { flex: none; color: var(--accent); }

.footer-closing { margin: 44px 0 0; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.02em; }

/* ==========================================================================
   Light theme — warm cream, navy ink, deeper blue accent
   ========================================================================== */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F2EA;
  --bg-2: #ECE7DC;
  --panel: rgba(255, 255, 255, .7);
  --text: #0A192F;
  --muted: #4B5B73;
  --dim: #7A8699;
  --accent: #0A72B8;
  --glow-rgb: 10, 132, 200;
  --line-rgb: 10, 25, 47;
  --surface-rgb: 255, 255, 255;
  --nav-rgb: 245, 242, 234;
  --inset-rgb: 255, 255, 255;
  --hi-rgb: 10, 25, 47;
  --plastic-rgb: 10, 25, 47;
  --chassis-1: #E7EBF0; --chassis-2: #D5DBE3;
  --metal-1: #E9EDF2;   --metal-2: #D8DEE6;
  --placeholder: #9AA4B2;
  --err: #C62828;
  --ok-text: #0E7A3E;
  --option-bg: #FFFFFF;
  --led-off: #C9D1DB; --led-off-red: #DCCACA; --led-idle: #C9D1DB;
  --band-text: #52627A;
  --wire-white: #C3CAD4;
  --grad: linear-gradient(90deg, #1E6BFF 0%, #1592E6 55%, #0AA6C9 100%);
}
html[data-theme="light"] .bg {
  background:
    radial-gradient(55vw 55vh at 80% 8%, rgba(30, 107, 255, .09), transparent 62%),
    radial-gradient(45vw 45vh at 4% 96%, rgba(10, 132, 200, .08), transparent 60%),
    var(--bg);
}
html[data-theme="light"] ::selection { background: var(--accent); color: #fff; }
html[data-theme="light"] .btn-primary { background: linear-gradient(90deg, #1E6BFF, #0A92D8); color: #fff; }
html[data-theme="light"] .btn-primary:hover { background: linear-gradient(90deg, #2A76FF, #12A0E6); box-shadow: 0 0 0 4px rgba(30, 107, 255, .14), 0 14px 34px -12px rgba(30, 107, 255, .55); }
html[data-theme="light"] .lang button[aria-pressed="true"] { color: #fff; }
/* card / marquee accents: replace the neon and platinum per-item colours with readable blues */
html[data-theme="light"] .card:nth-child(3n+1), html[data-theme="light"] .band-item i:nth-of-type(3n+1) { --c: #0A72B8 !important; }
html[data-theme="light"] .card:nth-child(3n+2), html[data-theme="light"] .band-item i:nth-of-type(3n+2) { --c: #1E6BFF !important; }
html[data-theme="light"] .card:nth-child(3n),   html[data-theme="light"] .band-item i:nth-of-type(3n)   { --c: #2E5A9C !important; }
/* softer shadows on a light ground */
html[data-theme="light"] .panel,
html[data-theme="light"] .switch { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 30px 60px -40px rgba(10, 25, 47, .35); }
html[data-theme="light"] .dd-panel,
html[data-theme="light"] .m-cta { box-shadow: 0 24px 50px -24px rgba(10, 25, 47, .3); }
/* RJ45 plug: navy-tinted plastic reads on cream */
html[data-theme="light"] #g-plastic stop { stop-color: #0A192F; }
html[data-theme="light"] .plug-shine { stroke: rgba(255, 255, 255, .85); }
/* reference plates need an edge on a light panel */
html[data-theme="light"] .ref-plate { border: 1px solid rgba(10, 25, 47, .12); }
html[data-theme="light"] .ref--free .ref-plate { border-style: dashed; }

/* theme switch button */
.theme-toggle {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(var(--surface-rgb), .5); color: var(--text);
  transition: border-color .3s, background .3s;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon, html[data-theme="light"] .theme-toggle .i-sun { display: none; }
html[data-theme="light"] .theme-toggle .i-moon { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1320px) {
  .cp-h0 { left: 80%; }
  .cp-h1 { left: 77%; }
}

/* the full five-item nav no longer fits beside the logo and the hero cable → burger menu */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .burger { display: block; }
}

@media (max-width: 1100px) {
  .sub-grid, .sub-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .equip { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: repeat(3, 1fr); }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
  .assure-grid { grid-template-columns: 1fr; gap: 22px; }
  .pillar { grid-template-columns: 1fr; }
  .pillar-aside { position: static; max-width: 640px; }
  .nav-status { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .c3 { display: none; }
}

@media (max-width: 900px) {
  :root { --lane-x: 0px; --lane-gap: 44px; }
  .nav-links, .nav-right > .btn { display: none; }
  .burger { display: block; }
  .nav { background: rgba(var(--nav-rgb), .72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }

  .hero { align-items: flex-start; padding-top: 128px; padding-bottom: 0; }
  .hero-copy { max-width: 100%; padding-right: 22%; }
  .hero-specs { gap: 20px; margin-top: 40px; }
  .cp-h0 { left: 88%; top: -200px; }
  .cp-h1 { left: 88%; top: 40%; }
  .cp-h2 { left: 87%; top: 90%; }
  .cp-h3 { left: 40%; top: 104%; }
  .callouts, .scroll-hint { display: none; }

  /* everything collapses to the left lane */
  .laned-r { padding-right: var(--pad); padding-left: calc(var(--pad) + var(--lane-gap)); }
  .cable-pt.r, .cable-pt.c { left: calc(var(--pad) + var(--lane-x)); right: auto; }
  .node.r { transform: translate(-50%, -50%); }
  .panel::after { right: auto; left: calc(-1 * (var(--lane-gap) - var(--lane-x))); }


  .timeline { padding-top: 90px; padding-left: calc(var(--pad) + var(--lane-gap)); }
  .tl-start { top: 40px; }
  .step { grid-template-columns: 1fr; min-height: 0; padding: 18px 0; }
  .step-card, .step.right .step-card { grid-column: 1; justify-self: stretch; max-width: none; text-align: left; }
  .step-card::after { display: none; }
  .step-port { left: calc(var(--pad) + var(--lane-x) - var(--pad) - var(--lane-gap)); width: 34px; height: 34px; padding-top: 3px; }
  .step-port::before { inset: 5px; }


  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "head" "side" "form"; }
  .contact-side { margin-top: 170px; }
  .sw-ports { flex-direction: row-reverse; }
}

@media (max-width: 640px) {
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .pillar-cta, .equip-cta { max-width: 100%; height: auto; min-height: 48px; padding-block: 12px; white-space: normal; text-align: left; line-height: 1.3; }
  .sub-grid, .sub-grid--2, .modes { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 8px; }
  .panel { padding: 12px 10px 16px; }
  .ref { padding: 66px 4px 10px; }
  .ref-plate { height: 72px; padding: 10px; }
  .ref-plate img { max-height: 40px; }
  .ref-plate img.tall { max-height: 54px; }
  .ref-mark { font-size: 20px; }
  .ref-name { font-size: 12px; }
  .refs-counter b { font-size: 36px; }
  .mode { padding: 22px; }
  .flow { flex-direction: column; align-items: flex-start; }
  .flow li:not(:last-child)::after { content: none; }
  .card.sub { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: start; }
  .card.sub .card-top { grid-column: 1 / -1; margin-bottom: 14px; }
  .card.sub .card-icon { margin-bottom: 0; grid-row: span 2; }
  :root { --lane-x: 0px; --lane-gap: 32px; }
  .logo-tag { display: none; }
  .logo-img { height: 28px; }
  .nav-right { gap: 10px; }
  .hero-copy { padding-right: 58px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .1em; }
  .cp-h0, .cp-h1 { left: 91%; }
  .cp-h2 { left: 90.5%; top: 88%; }
  .btn { height: 50px; padding: 0 20px; }
  .hero-specs { gap: 14px; }
  .hero-specs li { padding-left: 10px; }
  .hero-specs span { font-size: 10px; letter-spacing: .08em; }
  .services-grid { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }
  .card-top { margin-bottom: 26px; }
  .form { grid-template-columns: 1fr; }
  .sw-port { width: 34px; }
  .sw-port:nth-child(-n+2) { display: none; }
  .node { width: 36px; height: 20px; }
}

@media (max-width: 400px) {
  .contact-list li { flex-direction: column; gap: 2px; }
  .contact-list span { width: auto; }
  .sw-status { font-size: 19px; }
}

/* ---------- mobile action bar + menu extras (hidden on desktop) ---------- */
.m-cta, .mm-foot, .cable-pt.m-only { display: none; }

/* burger-menu layout (used whenever the full nav is hidden) */
@media (max-width: 1180px) {
  .mobile-menu { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .mm-foot { display: grid; gap: 18px; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease) .2s, transform .6s var(--ease) .2s; }
  .menu-open .mm-foot { opacity: 1; transform: none; }
  .mm-foot .btn { width: 100%; }
  .mm-contact { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
}

@media (max-width: 900px) {
  .no-m { display: none; }
  .cable-pt.m-only { display: block; }

  /* contact: cable drops down the lane, then eases into the first switch port */
  .contact-head { position: relative; }
  .cp-contact { left: calc(var(--lane-x) - var(--lane-gap)); bottom: -24px; }
  .contact-grid .contact-side { margin-top: 230px; margin-left: calc(-1 * var(--lane-gap)); }
  .switch { padding: 0 14px 18px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }


  .m-cta {
    position: fixed; z-index: 44; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 8px; padding: 7px;
    border-radius: 999px; border: 1px solid var(--line-2);
    background: rgba(var(--nav-rgb), .72);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
    transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease);
  }
  .m-cta.is-shown { transform: none; }
  .m-cta-call { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); }
  .m-cta-main { flex: 1; height: 46px; padding: 0 18px; }
}

/* touch screens: no sticky hover states */
@media (hover: none) {
  .card:hover { transform: none; border-color: var(--line); }
  .card:hover::after { opacity: 0; }
  .card:active { transform: scale(.985); }
}

/* very small phones: logo + theme + language + menu must fit in one row */
@media (max-width: 400px) {
  .nav-inner { gap: 8px; }
  .nav-right { gap: 6px; }
  .logo { gap: 8px; }
  .logo-img { height: 24px; }
  .lang { --lw: 31px; }
  .theme-toggle { width: 34px; height: 34px; }
  .burger { width: 38px; height: 38px; }
  .burger span { left: 10px; right: 10px; }
  .burger span:first-child { top: 14px; } .burger span:last-child { top: 22px; }
  .menu-open .burger span:first-child, .menu-open .burger span:last-child { top: 18px; }
}

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


/* ==========================================================================
   Legal pages (privacy policy, legal notice)
   ========================================================================== */
.legal { padding: 150px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; margin: 18px 0 10px; }
.legal .updated { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 0 0 46px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.02em; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1rem; margin: 24px 0 8px; color: var(--white); }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--azure); }
.legal a { color: var(--azure); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--white); font-weight: 600; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.legal .back:hover { color: var(--azure); }
.legal-box { margin: 18px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(var(--line-rgb), .04); }
.legal-box p:last-child { margin-bottom: 0; }
[data-lang-block] { display: none; }
[data-lang-block].is-on { display: block; }
html[data-theme="light"] .legal h3, html[data-theme="light"] .legal strong { color: var(--text); }
@media (max-width: 640px) { .legal { padding: 120px 0 70px; } }
