/* IMPERIATI — local design system; no fonts, styles or assets from third parties. */
:root {
  color-scheme: dark;
  --bg: #070b18;
  --surface: #0d1222;
  --text: #f1f5fc;
  --muted: #a7b2c8;
  --line: #252d41;
  --cyan: #53e8ff;
  --blue: #3a7bff;
  --violet: #a58aff;
  --green: #00ffb2;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { max-width: 100%; vertical-align: middle; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--bg); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { letter-spacing: -.05em; }
h2 { margin-bottom: 0; font-size: clamp(2.15rem, 3.6vw, 3.4rem); font-weight: 600; }
h3 { font-weight: 600; }
p { color: var(--muted); }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 112px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--cyan); font-size: .69rem; font-weight: 650; letter-spacing: .16em; line-height: 1.6; margin-bottom: 26px; }
.status-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px #00ffb230; }
.gradient-text { background: linear-gradient(110deg, #69eeed 10%, #7bafff 63%, #b095fa); background-clip: text; -webkit-background-clip: text; color: transparent; }
.muted-heading { color: #a2aec5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; font-size: .84rem; font-weight: 650; transition: background .2s, border-color .2s, transform .2s; }
.button span[aria-hidden] { font-size: 1.3rem; line-height: 1; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #061420; background: var(--cyan); }
.button-primary:hover { background: #92f2ff; }
.button-secondary { border-color: #374055; background: #ffffff03; }
.button-secondary:hover { border-color: var(--cyan); background: #53e8ff0b; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--cyan); color: var(--bg); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Shared header */
.site-header { position: sticky; top: 0; z-index: 30; background: #070b18f5; border-bottom: 1px solid #ffffff0d; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 8px 28px #0003; border-bottom-color: var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand img { object-fit: contain; }
.brand > span { font-size: 1.18rem; font-weight: 750; letter-spacing: .15em; line-height: 1.3; }
.brand small { display: block; font-size: .43rem; letter-spacing: .16em; font-weight: 500; color: var(--muted); margin-top: 6px; }
#menu-principal { display: flex; gap: 32px; align-items: center; }
#menu-principal a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; color: #b8c1d4; transition: color .2s; position: relative; }
#menu-principal a:hover, #menu-principal a[aria-current] { color: var(--cyan); }
#menu-principal a[aria-current]::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 15px; height: 2px; background: var(--cyan); }
#menu-principal .nav-contact { border: 1px solid #3a4f62; border-radius: 6px; padding-inline: 18px; color: var(--text); gap: 26px; }
#menu-principal .nav-contact[aria-current]::after { display: none; }
.menu-toggle { display: none; }
/* Hero and lightweight native graphic */
.hero { position: relative; background: radial-gradient(ellipse at 77% 42%, #182b502e, transparent 52%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 638px; gap: 8px; padding-block: 64px 52px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.65rem, 4.6vw, 4.55rem); font-weight: 630; line-height: 1.09; margin-bottom: 27px; }
.hero-description { font-size: .97rem; max-width: 490px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-note { display: flex; align-items: center; gap: 9px; font-size: .73rem; margin: 27px 0 0; color: #8d9ab1; }
.hero-note span { color: var(--cyan); }
.hero-bottom { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); gap: 20px; }
.hero-bottom > span { font-size: .6rem; letter-spacing: .19em; color: #91a1ba; }
.hero-bottom a { font-size: .73rem; display: inline-flex; align-items: center; gap: 22px; min-height: 44px; }
.hero-bottom a span { color: var(--cyan); font-size: 1.15rem; }
.ecosystem { width: 100%; aspect-ratio: 560 / 540; position: relative; isolation: isolate; background: radial-gradient(ellipse at center, #20465d30, transparent 65%); }
.ecosystem::before { content: ""; position: absolute; inset: 7%; z-index: -1; background-image: radial-gradient(#899ac426 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(ellipse, black, transparent 72%); }
.ecosystem-label, .ecosystem-caption { position: absolute; left: 0; right: 0; text-align: center; font-size: .53rem; letter-spacing: .14em; color: #8f9eb7; }
.ecosystem-label { top: 1%; }
.ecosystem-label .status-dot { width: 4px; height: 4px; margin-right: 7px; }
.ecosystem-caption { bottom: 0; font-size: .68rem; letter-spacing: .03em; }
.ecosystem-caption span { color: var(--cyan); padding-right: 8px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid #44587736; border-radius: 50%; transform: translate(-50%, -50%); aspect-ratio: 1; }
.orbit-outer { width: 90%; border-style: dashed; }
.orbit-middle { width: 71%; border-color: #446f8855; }
.orbit-inner { width: 51%; border-color: #657bab40; }
.orbit-middle::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); position: absolute; left: 16%; top: 12%; box-shadow: 0 0 15px #53e8ff80; }
.ecosystem-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; }
.ecosystem-core { position: absolute; width: 35%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid #5ad7e76b; background: linear-gradient(145deg, #14313d, #111527 75%); border-radius: 32%; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 0 65px #53e8ff12, inset 0 1px 20px #53e8ff08; }
.ecosystem-core img { width: 54%; height: auto; margin-top: -15px; }
.ecosystem-core strong { font-size: clamp(.6rem, 1.3vw, 1rem); letter-spacing: .17em; margin-top: -12px; }
.ecosystem-core > span { font-size: .36rem; letter-spacing: .12em; margin-top: 6px; color: #a4c0d0; }
.orbit-node { position: absolute; display: flex; align-items: center; gap: 10px; border: 1px solid #34465c; border-radius: 9px; background: #101c2c; padding: 12px 16px; box-shadow: 0 8px 35px #0003; font-size: .75rem; line-height: 1.3; animation: float 7s ease-in-out infinite; }
.orbit-node small { display: block; font-size: .57rem; color: #a0b0c9; margin-top: 5px; }
.node-software { left: 4%; top: 20%; }
.node-it { right: 1%; top: 27%; animation-delay: -2s; }
.node-security { left: 0; bottom: 22%; background: #17172d; border-color: #63508075; animation-delay: -4s; }
.node-ai { right: 2%; bottom: 17%; background: #10282a; border-color: #2b635973; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* About */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about h2 { font-size: clamp(2.3rem, 3.4vw, 3.3rem); }
.about-copy { padding-top: 8px; }
.statement { color: var(--text); font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.5; letter-spacing: -.03em; margin-bottom: 22px; }
.statement span { color: var(--cyan); }
.about-copy > p:not(.statement) { font-size: .9rem; }
.about-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 24px; }
.about-principles h3 { font-size: .9rem; margin: 14px 0 9px; }
.about-principles p { font-size: .79rem; margin: 0; }
.about-principles > div > span { color: var(--cyan); font-size: 1.4rem; }
/* Services */
.services { background: #0b1020; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.section-heading > p { max-width: 310px; margin-bottom: 3px; font-size: .9rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card { --accent: var(--cyan); border: 1px solid #293149; border-radius: 12px; background: linear-gradient(150deg, #141d31, #0f1526 70%); padding: 28px 23px 22px; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.service-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.service-card.blue { --accent: #79a5ff; }
.service-card.violet { --accent: var(--violet); }
.service-card.green { --accent: #69e7bc; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; color: #8b99b3; font: .65rem/1.5 Consolas, monospace; }
.service-top img { padding: 10px; width: 50px; height: 50px; border: 1px solid #ffffff16; border-radius: 12px; background: #ffffff04; }
.service-card h3 { font-size: 1.17rem; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 16px; }
.service-card > p { font-size: .82rem; line-height: 1.85; margin-bottom: 24px; flex-grow: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 25px; }
.tags li { border: 1px solid #343d52; color: #b2bed2; border-radius: 5px; padding: 3px 7px; font-size: .62rem; }
.service-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #293247; padding-top: 16px; min-height: 50px; font-size: .72rem; color: var(--accent); line-height: 1.5; }
.service-link span { font-size: 1.25rem; }
.services-footnote { display: flex; justify-content: center; align-items: center; gap: 12px; color: #a0aec7; font-size: .74rem; margin-top: 32px; }
/* Method */
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; list-style: none; padding: 0; margin: 65px 0 0; }
.method-grid li { border-top: 1px solid #3a485e; padding-top: 23px; }
.step-number { display: flex; justify-content: space-between; font-size: 2.6rem; font-weight: 300; color: var(--cyan); line-height: 1; margin-bottom: 32px; }
.step-number span { color: #5f718b; font-size: 1.3rem; }
.method-grid h3 { font-size: 1.1rem; margin-bottom: 15px; }
.method-grid p { font-size: .84rem; min-height: 75px; }
.step-label { font-size: .57rem; letter-spacing: .14em; color: #9aabc5; }
/* Contact and footer */
.contact { padding-top: 0; }
.contact-panel { padding: 64px; position: relative; overflow: hidden; border: 1px solid #34435b; border-radius: 20px; background: radial-gradient(ellipse at 100% 90%, #492c734f, transparent 55%), radial-gradient(ellipse at 5% 0, #12506250, transparent 70%), #0d1424; }
.contact-content { position: relative; z-index: 1; max-width: 790px; }
.contact-content > p:not(.eyebrow) { max-width: 540px; font-size: .94rem; margin-top: 24px; }
.contact h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.contact-symbol { position: absolute; right: 55px; top: 0; font-size: 260px; color: #99b6e215; font-weight: 200; line-height: 1.2; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.contact-email { display: inline-block; min-height: 44px; padding-top: 18px; color: var(--cyan); overflow-wrap: anywhere; font-size: .85rem; }
.contact-pending { color: #c1cce0; border-left: 2px solid var(--cyan); padding-left: 15px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-main { padding-block: 54px 40px; display: flex; justify-content: space-between; gap: 35px; }
.footer-main p { font-size: .79rem; margin: 14px 0 0; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-content: start; }
.footer-main nav a, .back-top { font-size: .78rem; color: #b6c0d3; min-height: 44px; display: inline-flex; align-items: center; }
.footer-main a:hover { color: var(--cyan); }
.back-top { gap: 20px; align-self: start; }
.back-top span { font-size: 1.25rem; color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 23px; border-top: 1px solid var(--line); color: #8e9db7; font-size: .64rem; }
.footer-bottom > span:last-child { font-size: .56rem; letter-spacing: .13em; }
.simple-page { min-height: 60vh; }
.simple-page h1 { max-width: 800px; font-size: clamp(2.2rem, 5vw, 4rem); }
.simple-page p { max-width: 720px; }
.simple-page code { overflow-wrap: anywhere; }
/* Progressive enhancement: content is visible until an observer registers it. */
.reveal.is-pending { opacity: 0; transform: translateY(16px); }
.reveal { transition: opacity .65s ease, transform .65s ease; }
@media (min-width: 1600px) { .hero-grid { min-height: 710px; } }
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  #menu-principal { gap: 22px; }
  .hero-grid { min-height: 610px; grid-template-columns: 1.12fr 1fr; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 15px; gap: 13px; font-size: .78rem; }
  .orbit-node { padding: 9px 11px; gap: 7px; font-size: .68rem; }
  .about-grid { gap: 55px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { padding: 28px; }
  .service-card > p { max-width: 390px; }
  .section-heading > p { max-width: 275px; }
  .method-grid { gap: 24px; }
}
@media (max-width: 850px) {
  .section { padding-block: 80px; }
  .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0; }
  .menu-toggle { display: none; width: 46px; height: 46px; background: #10182a; border: 1px solid #354158; border-radius: 7px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; color: white; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  #menu-principal { flex-basis: 100%; flex-wrap: wrap; padding-bottom: 20px; }
  .nav-ready .menu-toggle { display: flex; }
  .nav-ready #menu-principal { display: none; }
  .nav-ready #menu-principal.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 0 24px; max-height: calc(100dvh - 80px); overflow-y: auto; }
  #menu-principal a { padding: 10px 12px; }
  #menu-principal a[aria-current]::after { left: 12px; }
  #menu-principal .nav-contact { justify-content: space-between; margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 38px; gap: 30px; }
  .hero h1 { font-size: clamp(2.7rem, 7.4vw, 4.5rem); }
  .hero-description { max-width: 550px; }
  .ecosystem { max-width: 530px; margin-inline: auto; }
  .ecosystem-core strong { font-size: 1rem; }
  .orbit-node { padding: 12px 16px; font-size: .78rem; }
  .about-grid { gap: 40px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 540px; margin-top: 25px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 45px; }
  .method-grid p { min-height: auto; }
  .contact { padding-top: 0; }
  .contact-panel { padding: 42px; }
  .contact-symbol { font-size: 200px; right: 10px; }
}
@media (max-width: 580px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  .brand > span { font-size: 1rem; }
  .brand small { font-size: .38rem; }
  .brand img { width: 42px; height: 42px; }
  .eyebrow { font-size: .59rem; letter-spacing: .12em; margin-bottom: 22px; }
  .hero-grid { padding-top: 43px; gap: 35px; }
  .hero h1 { font-size: clamp(2rem, 7.8vw, 2.9rem); }
  .hero-description { font-size: .9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { min-height: 52px; font-size: .84rem; justify-content: space-between; padding-inline: 20px; }
  .hero-note { font-size: .65rem; }
  .hero-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; padding-block: 18px; }
  .hero-bottom > span { font-size: .51rem; }
  .ecosystem-label { font-size: .42rem; }
  .ecosystem-core { width: 36%; }
  .ecosystem-core img { margin-top: -5px; }
  .ecosystem-core strong { font-size: .68rem; margin-top: -9px; }
  .ecosystem-core > span { font-size: .24rem; margin-top: 5px; }
  .orbit-node { padding: 9px; gap: 6px; font-size: .61rem; border-radius: 7px; }
  .orbit-node img { width: 19px; height: 19px; }
  .orbit-node small { font-size: .49rem; }
  .node-security { bottom: 21%; }
  .ecosystem-caption { font-size: .57rem; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about h2 { font-size: 2.4rem; }
  .about h2 br { display: none; }
  .about h2 .muted-heading::before { content: " "; }
  .about-principles { gap: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }
  .service-top { margin-bottom: 26px; }
  .service-card h3 { font-size: 1.35rem; }
  .service-card > p { font-size: .88rem; }
  .tags li { font-size: .7rem; }
  .services-footnote { align-items: flex-start; text-align: left; font-size: .71rem; }
  .services-footnote .status-dot { margin-top: 7px; }
  .method-grid { gap: 32px 22px; }
  .step-number { font-size: 2.2rem; margin-bottom: 25px; }
  .method-grid h3 { font-size: 1rem; }
  .method-grid p { font-size: .79rem; }
  .step-label { font-size: .48rem; letter-spacing: .08em; }
  .contact { padding-top: 0; }
  .contact-panel { padding: 32px 24px; }
  .contact h2 { font-size: 2.05rem; }
  .contact-content > p:not(.eyebrow) { font-size: .85rem; }
  .contact-actions { flex-direction: column; }
  .contact-symbol { font-size: 180px; top: 80px; right: -10px; }
  .footer-main { flex-wrap: wrap; padding-block: 36px; }
  .footer-main > div { width: 100%; }
  .footer-main nav { column-gap: 30px; }
  .back-top { margin-top: 4px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .gradient-text { background: none; color: CanvasText; }
  .button, .service-card, .contact-panel { border: 1px solid ButtonText; }
}

