:root {
  --bg: #07101d;
  --bg-soft: #0b1727;
  --panel: rgba(15, 31, 51, 0.78);
  --panel-solid: #0f1f33;
  --line: rgba(157, 194, 225, 0.17);
  --text: #f2f8fc;
  --muted: #9db3c8;
  --cyan: #50d5ff;
  --green: #7cf6bb;
  --max: 1180px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(80, 213, 255, 0.09), transparent 27rem),
    radial-gradient(circle at 85% 28%, rgba(124, 246, 187, 0.07), transparent 25rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
code { color: var(--green); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }
.alt-section { background: rgba(255, 255, 255, 0.018); border-block: 1px solid var(--line); }
.eyebrow { margin: 0 0 13px; color: var(--cyan); font-size: .76rem; letter-spacing: .17em; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }

.skip-link { position: fixed; z-index: 1000; left: 12px; top: -100px; padding: 10px 14px; background: white; color: black; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; background: rgba(7, 16, 29, .78); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: .25s ease; }
.site-header.scrolled { border-color: var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(80, 213, 255, .42); background: linear-gradient(145deg, rgba(80, 213, 255, .17), rgba(124, 246, 187, .08)); border-radius: 12px; color: var(--cyan); font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .08em; }
.brand small { color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .9rem; font-weight: 650; }
.main-nav a { color: #c6d4e1; transition: color .2s ease; }
.main-nav a:hover { color: white; }
.nav-cta { padding: 10px 17px; border: 1px solid rgba(80, 213, 255, .33); border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: white; }

.hero { min-height: 900px; padding: 180px 0 105px; display: grid; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.hero-lead { max-width: 670px; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--line); border-radius: 12px; font-size: .91rem; font-weight: 800; transition: .22s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #04121a; border-color: transparent; background: linear-gradient(135deg, var(--cyan), var(--green)); box-shadow: 0 14px 42px rgba(80, 213, 255, .15); }
.button.secondary { background: rgba(255, 255, 255, .025); }
.hero-tags, .chip-list, .language-row { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.hero-tags { margin: 36px 0 0; }
.hero-tags li, .chip-list li, .language-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: #b5c8d9; background: rgba(255,255,255,.018); font-size: .76rem; }

.board-card { padding: 14px; border: 1px solid rgba(80, 213, 255, .2); border-radius: 24px; background: linear-gradient(150deg, rgba(16, 36, 58, .93), rgba(7, 19, 32, .82)); box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); }
.board-header { display: flex; align-items: center; gap: 7px; padding: 3px 5px 14px; color: #7792a8; font-size: .65rem; letter-spacing: .12em; }
.board-header span { width: 8px; height: 8px; border-radius: 50%; background: #314d62; }
.board-header strong { margin-left: auto; }
.board-card svg { border: 1px solid var(--line); border-radius: 17px; background: repeating-linear-gradient(0deg, transparent 0 29px, rgba(255,255,255,.025) 30px), repeating-linear-gradient(90deg, transparent 0 29px, rgba(255,255,255,.025) 30px), #081827; }
.node rect { fill: rgba(12, 31, 49, .94); stroke: rgba(115, 195, 222, .35); stroke-width: 2; }
.node .main-node { fill: rgba(23, 55, 75, .98); stroke: #50d5ff; }
.node text { fill: #a9c5d8; text-anchor: middle; font-size: 12px; font-weight: 600; }
.node text:first-of-type, .node .main-title { fill: #eefaff; font-size: 13px; font-weight: 850; }
.trace-lines { stroke-dasharray: 12 12; animation: traces 18s linear infinite; }
@keyframes traces { to { stroke-dashoffset: -240; } }

.trust-strip { border-block: 1px solid var(--line); background: rgba(7, 19, 31, .8); }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.trust-grid span { padding: 21px 10px; color: #8ea7bc; text-align: center; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; border-right: 1px solid var(--line); }
.trust-grid span:first-child { border-left: 1px solid var(--line); }

.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading > p:last-child { max-width: 700px; font-size: 1.05rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { position: relative; min-height: 390px; padding: 31px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(16, 36, 58, .82), rgba(9, 23, 38, .8)); overflow: hidden; transition: .25s ease; }
.project-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -90px; top: -90px; border: 1px solid rgba(80, 213, 255, .25); border-radius: 50%; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(80, 213, 255, .35); box-shadow: var(--shadow); }
.project-card.featured { background: linear-gradient(150deg, rgba(21, 57, 76, .95), rgba(11, 31, 48, .9)); }
.project-card.confidential { background: linear-gradient(150deg, rgba(30, 31, 49, .88), rgba(11, 25, 39, .9)); }
.project-number { color: rgba(124, 246, 187, .58); font: 800 2.7rem/1 ui-monospace, monospace; }
.project-type { margin: 24px 0 7px; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-card h3 { max-width: 300px; font-size: 1.65rem; }
.project-card > p:not(.project-type) { margin-top: 0; }
.chip-list { margin-top: auto; }
.project-result { display: grid; gap: 2px; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); font-size: .78rem; }
.project-result strong { color: var(--green); text-transform: uppercase; letter-spacing: .1em; }
.project-result span { color: #a9bdd0; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { padding: 29px; border-top: 2px solid rgba(80, 213, 255, .55); background: rgba(255,255,255,.022); }
.service-card > span { color: #5e8099; font: 800 .8rem ui-monospace, monospace; }
.service-card h3 { margin: 36px 0 13px; }

.expertise-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.expertise-grid .section-heading { position: sticky; top: 120px; }
.expertise-panels { display: grid; gap: 14px; }
.expertise-panels > div { padding: 27px 30px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.02); }
.expertise-panels h3 { margin-bottom: 7px; }
.expertise-panels p { margin: 0; }

.about-section { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: center; }
.about-badge { text-align: center; }
.badge-ring { width: min(320px, 75vw); aspect-ratio: 1; margin-inline: auto; padding: 25px; display: grid; place-items: center; border: 1px solid rgba(80, 213, 255, .26); border-radius: 50%; background: radial-gradient(circle, rgba(80, 213, 255, .13), transparent 62%); }
.badge-ring::before { content: ""; position: absolute; }
.badge-ring span { display: grid; place-items: center; width: 72%; aspect-ratio: 1; border: 1px solid rgba(124, 246, 187, .3); border-radius: 50%; color: var(--cyan); font-size: 5.5rem; font-weight: 950; letter-spacing: -.08em; }
.about-lead { color: #d9e7f1; font-size: 1.26rem; }
.language-row { margin-top: 28px; }

.contact-section { padding-top: 30px; }
.contact-box { padding: 55px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; border: 1px solid rgba(80, 213, 255, .22); border-radius: 24px; background: linear-gradient(135deg, rgba(17, 48, 68, .8), rgba(9, 24, 39, .9)); box-shadow: var(--shadow); }
.contact-box h2 { margin-bottom: 8px; }
.contact-actions { justify-content: flex-end; margin-top: 0; }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid p { max-width: 560px; margin: 0; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid, .about-grid, .expertise-grid, .contact-box { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { max-width: 720px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid .section-heading { position: static; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 740px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 82px 0; }
  .hero { padding-top: 135px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 76px; left: 14px; right: 14px; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 16px; border: 1px solid var(--line); border-radius: 16px; background: #0b1727; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .board-card { transform: none; }
  .project-grid, .service-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { min-height: 360px; }
  .contact-box { padding: 32px 24px; }
  .contact-actions .button { width: 100%; }
  .footer-grid { flex-direction: column; }
}

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