:root {
  --navy: #0b1d33;
  --navy-2: #13294a;
  --accent: #e11d2e;
  --accent-2: #c8102e;
  --cyan: #38bdf8;
  --ink: #1b2430;
  --muted: #5b6878;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --green: #1f9d57;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 29, 51, .08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Sora", "Inter", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; color: var(--muted); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark p { color: #b9c6d8; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent); color: #fff; border: 2px solid var(--accent); cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.link-more { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.dark .link-more { color: #fff; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.topbar { background: var(--navy); color: #b9c6d8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: var(--accent); }
header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.45rem; color: var(--navy); }
.logo-mark { width: 38px; height: 38px; }
nav.main ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav.main > ul > li { position: relative; }
nav.main a { display: block; padding: 10px 14px; font-weight: 600; font-size: .93rem; border-radius: 8px; }
nav.main a:hover, nav.main a.active { color: var(--accent); }
nav.main .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column;
}
nav.main li:hover > .dropdown, nav.main li:focus-within > .dropdown { display: flex; }
nav.main .dropdown a { font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--navy); }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 80% 20%, #1d3d6b 0%, var(--navy) 60%); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 600px; padding-top: 60px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero p { color: #c7d3e3; font-size: 1.12rem; max-width: 560px; }
.slide { display: none; animation: fade .6s ease; }
.slide.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.dots { display: flex; gap: 8px; margin-top: 36px; }
.dots button { width: 34px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.dots button.on { background: var(--accent); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)); }
.spark { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Stats */
.stats { margin-top: -50px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: "Sora", sans-serif; font-size: 2.3rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev > :first-child { order: 2; }
.panel-art { border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-2), var(--navy)); padding: 40px; aspect-ratio: 4/3; display: grid; place-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); }
.dark .ticks li { color: #e3eaf4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; }
.green-badge { display: inline-flex; gap: 8px; align-items: center; background: rgba(31,157,87,.15); color: #6fe3a1; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .8rem; margin-bottom: 14px; }
.big-stat { display: flex; gap: 30px; margin: 20px 0 28px; }
.big-stat div b { font-family: "Sora", sans-serif; font-size: 2.6rem; color: #6fe3a1; display: block; }
.big-stat div span { color: #b9c6d8; font-size: .88rem; }

/* Products */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink); }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .thumb { background: var(--bg-soft); padding: 26px; display: grid; place-items: center; height: 190px; }
.card .thumb svg { height: 140px; width: auto; }
.card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.12rem; }
.card .tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 6px; }
.card p { font-size: .93rem; flex: 1; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.tile .ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(225,29,46,.15); display: grid; place-items: center; margin-bottom: 18px; }
.tile .ico svg { width: 28px; height: 28px; stroke: var(--accent); }

/* Clients marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client { flex: 0 0 auto; padding: 22px 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; color: #8592a3; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Form */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
form.enquiry { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.enquiry .full { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
input, select, textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; padding: 12px 14px; border-radius: 10px; background: rgba(31,157,87,.1); color: var(--green); display: none; }
.form-note.show { display: block; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--ink); }

/* Page banner */
.page-banner { background: linear-gradient(120deg, var(--navy), #1d3d6b); color: #fff; padding: 80px 0 70px; }
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { color: #b9c6d8; font-size: .9rem; }
.crumbs a:hover { color: var(--accent); }

/* Offices */
.offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.office { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.office .region { color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.office p { margin: 4px 0; font-size: .92rem; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.calc form { display: grid; gap: 16px; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.calc-result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px; }
.calc-result b.size { font-family: "Sora", sans-serif; font-size: 3rem; color: var(--accent); display: block; }
.calc-result p { color: #b9c6d8; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
footer.site { background: #071426; color: #9fb0c6; padding: 70px 0 0; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
footer.site h4 { color: #fff; margin: 0 0 16px; font-family: "Sora", sans-serif; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 10px; }
footer.site a:hover { color: var(--accent); }
footer.site .logo { color: #fff; margin-bottom: 14px; }
footer.site p { color: #9fb0c6; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .spark, .slide { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .container, .split, .form-wrap, .calc { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero-art { max-width: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .tiles, .offices { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  nav.main { position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; padding: 10px 16px; }
  nav.main .dropdown { position: static; display: flex; box-shadow: none; border: 0; padding-left: 14px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .tiles, .offices, .foot-grid, form.enquiry, .row2 { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
}

/* Resources */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; transition: transform .2s, box-shadow .2s; }
.res-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res-item .ico { flex: 0 0 52px; height: 52px; border-radius: 14px; background: rgba(225,29,46,.15); display: grid; place-items: center; }
.res-item .ico svg { width: 26px; height: 26px; stroke: var(--accent); }
.res-body { display: flex; flex-direction: column; flex: 1; }
.res-body h3 { font-size: 1.05rem; }
.res-body p { font-size: .92rem; flex: 1; }
.res-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.res-meta span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: #8592a3; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
@media (max-width: 960px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .res-grid { grid-template-columns: 1fr; } }

/* ===== Polish layer: motion, header, hero, focus areas ===== */
:root { --ease: cubic-bezier(.22,.7,.2,1); --shadow-lg: 0 24px 60px rgba(11,29,51,.14); }
html { scroll-padding-top: 90px; }
h1, h2 { letter-spacing: -.02em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn { transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { box-shadow: 0 10px 24px rgba(225,29,46,.3); }
.btn.ghost:hover { box-shadow: none; }
.link-more { transition: color .2s, border-color .2s; }
.link-more:hover { color: var(--accent); }
.card, .res-item, .tile, .office { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover, .res-item:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.reveal { transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.section-head p { max-width: 640px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Header */
header.site { transition: box-shadow .3s var(--ease), background .3s; }
header.site .container { transition: height .3s var(--ease); }
header.site.scrolled { box-shadow: 0 6px 24px rgba(11,29,51,.08); }
header.site.scrolled .container { height: 64px; }
nav.main a { transition: color .2s; }
nav.main .dropdown { display: flex; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
nav.main li:hover > .dropdown, nav.main li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
nav.main .dropdown a:hover { background: var(--bg-soft); }

/* Hero: technical grid backdrop, cross-fading slides */
.hero { background:
  radial-gradient(900px 500px at 78% 30%, rgba(56,189,248,.16), transparent 60%),
  radial-gradient(700px 400px at 10% 90%, rgba(225,29,46,.14), transparent 60%),
  var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); }
.hero .container { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s; animation: none; }
.slide.on { opacity: 1; visibility: visible; transform: none; }
.hero .eyebrow { color: #fff; background: rgba(225,29,46,.9); padding: 5px 12px; border-radius: 999px; font-size: .72rem; }
.dots { gap: 22px; }
.dots button { width: auto; height: auto; background: none; padding: 10px 0 0; border-top: 2px solid rgba(255,255,255,.2); border-radius: 0;
  color: #8ea1bb; font: 600 .82rem "Inter", sans-serif; transition: color .3s, border-color .3s; }
.dots button.on { background: none; color: #fff; border-top-color: var(--accent); }
.hero-art svg { filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -32; } }

/* Stats */
.stats-grid { box-shadow: var(--shadow-lg); }
.stat b { color: var(--navy); }

/* Focus areas */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.focus-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; overflow: hidden; }
.focus-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), #ff6b6b);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.focus-card:hover::before { transform: scaleX(1); }
.focus-ico { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), #1d3d6b); display: grid; place-items: center; margin-bottom: 22px; }
.focus-ico svg { width: 30px; height: 30px; stroke: #fff; }
.focus-card h3 { font-size: 1.35rem; }
.focus-card .ticks { margin-bottom: 18px; flex: 1; }
.focus-card .ticks li { font-size: .93rem; }
.focus-products { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.focus-products a { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.focus-products a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.focus-card .link-more { align-self: flex-start; }
.focus-also { text-align: center; margin: 36px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .slide, .reveal, .dropdown { transition: none; }
  .hero-art .cable, .hero-art .ring { animation: none; }
  .hero-art .pulse { display: none; }
}
@media (max-width: 960px) {
  .focus-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  nav.main .dropdown { opacity: 1; visibility: visible; transform: none; }
  .hero-art { margin: 0 auto; }
}
@media (max-width: 600px) { .dots { gap: 14px; } .dots button { font-size: .74rem; } }

/* "And much more" strip under the focus cards */
.focus-also { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; color: var(--ink); font-weight: 600; }
.beyond { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.beyond a { font-size: .85rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.beyond a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.beyond a.all { background: var(--accent); color: #fff; border-color: var(--accent); }
.beyond a.all:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* Hero cable graphic */
.hero-art svg { filter: none; overflow: visible; }
.hero-art .cable { transform-origin: 210px 210px; animation: float 7s ease-in-out infinite; }
.hero-art .ring { fill: none; stroke: rgba(255,255,255,.08); stroke-dasharray: 1 7; stroke-linecap: round; transform-origin: 210px 210px; animation: spin 90s linear infinite; }
.hero-art .link { stroke: rgba(255,255,255,.14); stroke-width: 1.5; transition: stroke .6s var(--ease); }
.hero-art .pulse { fill: rgba(255,255,255,.35); opacity: 0; transition: opacity .6s var(--ease), fill .6s; }
.hero-art .node .disc { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.2); stroke-width: 1.2; transition: fill .6s var(--ease), stroke .6s; }
.hero-art .node .glow { fill: var(--accent); opacity: 0; filter: blur(10px); transition: opacity .6s var(--ease); }
.hero-art .node g { stroke: #b6c4d6; transition: stroke .6s; }
.hero-art .node text { fill: #9fb0c6; font: 600 13px "Inter", sans-serif; letter-spacing: .02em; transition: fill .6s; }
.hero-art[data-focus="0"] .l0, .hero-art[data-focus="1"] .l1, .hero-art[data-focus="2"] .l2, .hero-art[data-focus="3"] .link { stroke: rgba(225,29,46,.7); }
.hero-art[data-focus="0"] .p0, .hero-art[data-focus="1"] .p1, .hero-art[data-focus="2"] .p2, .hero-art[data-focus="3"] .pulse { opacity: 1; fill: #ff6b78; }
.hero-art[data-focus="0"] .n0 .disc, .hero-art[data-focus="1"] .n1 .disc, .hero-art[data-focus="2"] .n2 .disc, .hero-art[data-focus="3"] .node .disc { fill: url(#node-on); stroke: rgba(255,255,255,.35); }
.hero-art[data-focus="0"] .n0 .glow, .hero-art[data-focus="1"] .n1 .glow, .hero-art[data-focus="2"] .n2 .glow, .hero-art[data-focus="3"] .node .glow { opacity: .45; }
.hero-art[data-focus="0"] .n0 g, .hero-art[data-focus="1"] .n1 g, .hero-art[data-focus="2"] .n2 g, .hero-art[data-focus="3"] .node g { stroke: #fff; }
.hero-art[data-focus="0"] .n0 text, .hero-art[data-focus="1"] .n1 text, .hero-art[data-focus="2"] .n2 text, .hero-art[data-focus="3"] .node text { fill: #fff; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Ampere attention: pulse behind the chat launcher + greeting card (assets/nudge.js) */
.nudge-pulse { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; z-index: 2147482999; pointer-events: none; }
.nudge-pulse.left { right: auto; left: 20px; }
.nudge-pulse::before, .nudge-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s var(--ease) infinite; }
.nudge-pulse::after { animation-delay: 1.2s; }
.nudge-pulse.off { display: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
.nudge-card { position: fixed; right: 20px; bottom: 92px; width: min(320px, calc(100vw - 40px)); z-index: 2147482999;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 20px 50px rgba(11,29,51,.22);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transform-origin: bottom right;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.nudge-card.left { right: auto; left: 20px; transform-origin: bottom left; }
.nudge-card.show { opacity: 1; visibility: visible; transform: none; }
.nudge-card::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.nudge-card.left::after { right: auto; left: 24px; }
.nudge-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-right: 18px; }
.nudge-head b { font-family: "Sora", sans-serif; color: var(--navy); }
.nudge-av { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 .9rem "Sora", sans-serif; border: 2px solid var(--accent); }
.nudge-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.nudge-card p { font-size: .9rem; margin: 0 0 12px; }
.nudge-cta { border: 0; background: var(--accent); color: #fff; font: 600 .85rem "Inter", sans-serif; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.nudge-cta:hover { background: var(--accent-2); }
.nudge-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.3rem; line-height: 1; color: #8592a3; cursor: pointer; padding: 4px; }
.nudge-x:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .nudge-pulse::before, .nudge-pulse::after { animation: none; opacity: 0; } .nudge-card { transition: none; } }
/* Slides: the outgoing one fades out first, then the next fades in — headlines never overlap. */
.slide { transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.slide.on { transition: opacity .7s var(--ease) .35s, transform .7s var(--ease) .35s, visibility 0s .35s; }

/* Careers */
.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.team b { font-family: "Sora", sans-serif; color: var(--navy); }
.team span { color: var(--muted); font-size: .92rem; }
.cv-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; background: linear-gradient(120deg, var(--navy), #1d3d6b); color: #fff; border-radius: 18px; padding: 44px; }
.cv-cta p { color: #c7d3e3; max-width: 620px; margin: 0; }
.cv-cta h2 { color: #fff; }
.tiles .tile h3 { font-size: 1.1rem; }
@media (max-width: 960px) { .teams { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .teams { grid-template-columns: 1fr; } .cv-cta { padding: 30px 22px; } }

/* Header fit for the longer menu: no wrapping; switch to the hamburger earlier. */
nav.main a { white-space: nowrap; padding: 10px 11px; font-size: .9rem; }
nav.main .btn { white-space: nowrap; }
.careers-why { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  nav.main { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 12px 24px rgba(11,29,51,.08); max-height: calc(100vh - 80px); overflow-y: auto; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; padding: 10px 16px; }
  nav.main .dropdown { position: static; display: flex; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 14px; }
  nav.main .btn { margin: 8px 0 0 !important; justify-content: center; }
  header.site .container { position: relative; }
}
@media (max-width: 960px) { .careers-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .careers-why { grid-template-columns: 1fr; } }
