/* Self-hosted variable fonts (latin + latin-ext for Maltese characters like ħ) */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(fonts/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #05070B;
  --surface: #0A0F17;
  --line: #1A2332;
  --line-strong: #2A3648;
  --text: #E9EEF5;
  --muted: #8B98AC;
  --placeholder: #5E6B80;
  --accent: #2F7BFF;
  --gutter: 80px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.label { font: 500 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.small-label { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.h2 { font: 700 56px/60px var(--display); letter-spacing: -.03em; }
.btn { display: inline-block; font: 500 16px var(--body); padding: 16px 28px; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #4A8CFF; }
.btn.ghost { border: 1px solid var(--line); background: rgba(5,7,11,.6); color: var(--text); }
.btn.ghost:hover { border-color: var(--line-strong); }

/* Nav */
.nav { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 28px var(--gutter); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 12px; font: 700 18px var(--display); letter-spacing: -.01em; text-decoration: none; }
.logo span { font-weight: 400; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 40px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-links .cta { color: var(--bg); background: var(--text); padding: 10px 18px; font-weight: 500; }
.nav-links .cta:hover { color: var(--bg); background: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px var(--gutter) 96px; min-height: 680px; }
.cables { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.veil { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 28% 52%, rgba(5,7,11,.82) 0%, rgba(5,7,11,.45) 55%, rgba(5,7,11,0) 80%); }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 56px; }
.hero h1 { font: 700 clamp(44px, 6.7vw, 96px)/1 var(--display); letter-spacing: -.035em; max-width: 1080px; text-shadow: 0 2px 30px rgba(5,7,11,.8); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.lead { font-size: 19px; line-height: 30px; color: #A3AFC2; max-width: 560px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.ready .reveal { opacity: 1; transform: none; }
.ready .reveal:nth-child(2) { transition-delay: .25s; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 var(--gutter); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 36px 32px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat strong { font: 600 44px var(--display); letter-spacing: -.02em; }

/* Section shells */
.section { padding: 136px var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.section-head > div { display: flex; flex-direction: column; gap: 20px; }
.section-head p { font-size: 16px; line-height: 26px; color: var(--muted); max-width: 420px; }

/* Catalogue */
.cats { display: flex; flex-direction: column; gap: 64px; }
.cat { display: grid; grid-template-columns: 340px 1fr; gap: 64px; border-top: 1px solid var(--accent); padding-top: 28px; }
.cat-intro { display: flex; flex-direction: column; gap: 12px; }
.cat-intro .small-label { color: var(--accent); }
.cat-intro h3 { font: 600 28px/34px var(--display); letter-spacing: -.02em; }
.cat-intro p { font-size: 15px; line-height: 24px; color: var(--muted); }
.rows { list-style: none; }
.rows li { display: grid; grid-template-columns: 320px 1fr 110px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows .name { font: 500 18px var(--display); }
.rows .spec { font-size: 15px; color: var(--muted); padding-right: 16px; }
.rows .lead-time { font: 500 13px var(--mono); text-align: right; white-space: nowrap; }
.rows .lead-time.req { color: var(--accent); }
.cat-note { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.cat-note p { font: 400 13px var(--mono); color: var(--muted); }
.cat-note p span { color: var(--accent); }
.link-underline { font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* Why us */
.why { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why .h2 span { color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; }
.why-grid div { display: flex; flex-direction: column; gap: 16px; }
.why-grid h3 { font: 600 24px/30px var(--display); letter-spacing: -.01em; }
.why-grid p { font-size: 16px; line-height: 26px; color: var(--muted); }

/* Process */
.process { display: grid; grid-template-columns: 404px 1fr; gap: 64px; }
.steps { list-style: none; border-bottom: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 104px 1fr; gap: 0; padding: 28px 0; border-top: 1px solid var(--line); }
.steps .when { font: 500 13px var(--mono); color: var(--accent); padding-top: 4px; }
.steps h3 { font: 600 22px var(--display); margin-bottom: 8px; }
.steps p { font-size: 16px; line-height: 26px; color: var(--muted); }

/* Contact + funnel */
.contact { background: var(--accent); color: var(--bg); padding: 120px var(--gutter); }
.contact .label { color: var(--bg); }
.contact-row { display: grid; grid-template-columns: 1fr 560px; gap: 64px; align-items: start; margin-top: 48px; }
.contact-copy { display: flex; flex-direction: column; gap: 40px; padding-top: 8px; }
.contact-copy h2 { font: 700 60px/62px var(--display); letter-spacing: -.035em; }
.contact-copy p { font-size: 17px; line-height: 27px; max-width: 440px; }
.contact-copy .mail { font-size: 15px; margin-top: -30px; }
.contact-copy .mail a { font-weight: 600; }

.funnel { background: var(--bg); color: var(--text); padding: 40px; box-shadow: 0 30px 60px rgba(5,7,11,.35); }
.funnel-step { display: flex; flex-direction: column; gap: 28px; }
.funnel-step[hidden] { display: none; }
.progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.progress-top .small-label:first-child { color: var(--accent); }
.bars { display: flex; gap: 6px; }
.bars i { flex: 1; height: 3px; background: var(--line); transition: background .3s; }
.bars i.on { background: var(--accent); }
.q h3 { font: 600 28px/34px var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.q p { font-size: 15px; line-height: 24px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 500; font-size: 14px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { background: var(--surface); border: 1px solid var(--line); padding: 15px 16px; font-size: 16px; outline: none; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 148px; resize: vertical; line-height: 25px; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,123,255,.18); }
.field.invalid input, .field.invalid textarea { border-color: #FF5A6E; }
.error { font-size: 13px; color: #FF7A8A; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -12px; }
.chips button { background: none; border: 1px solid var(--line); padding: 7px 12px; font-size: 13px; font-weight: 500; cursor: pointer; }
.chips button:hover { border-color: var(--accent); }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--muted); cursor: pointer; }
.consent-check input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.consent-check a { color: var(--text); }
.actions { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; }
.actions .hint { font-size: 14px; color: var(--muted); }
.actions .back { background: none; border: 0; font-weight: 500; font-size: 15px; color: var(--muted); cursor: pointer; }
.actions .back:hover { color: var(--text); }
.actions .btn { padding: 14px 24px; }
.actions .btn[disabled] { opacity: .6; cursor: wait; }
.hp, .sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done-icon { width: 56px; height: 56px; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 24px rgba(47,123,255,.4); }
.done h3 { font: 600 32px/38px var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.done p { font-size: 16px; line-height: 26px; color: var(--muted); }
.ref { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ref strong { font: 500 13px var(--mono); }
.done .after { font-size: 14px; color: var(--muted); }
.done .after a { color: var(--text); }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding: 56px var(--gutter) 64px; border-top: 1px solid var(--line); }
.footer .company strong { display: block; font: 700 18px var(--display); margin-bottom: 12px; }
.footer .company p { font-size: 14px; line-height: 22px; color: var(--muted); }
.footer-cols { display: flex; gap: 56px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-cols a, .footer-cols button { text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-size: 14px; }
.footer-cols a:hover, .footer-cols button:hover { color: var(--accent); }
.footer .copy { font: 12px var(--mono); color: var(--muted); }

/* Legal pages */
.legal { display: grid; grid-template-columns: 404px 1fr; gap: 64px; padding: 120px var(--gutter) 136px; }
.legal-title { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: 40px; }
.legal-title h1 { font: 700 56px/60px var(--display); letter-spacing: -.03em; }
.legal-title p { font-size: 15px; line-height: 24px; color: var(--muted); }
.facts { list-style: none; border-bottom: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.facts .small-label { padding-top: 3px; }
.facts div:last-child { font-size: 17px; line-height: 27px; }
.facts .muted { color: var(--muted); }
.notes { display: flex; flex-direction: column; gap: 32px; padding-top: 56px; }
.notes h2, .policy h2 { font: 600 20px var(--display); margin-bottom: 10px; }
.notes p, .policy p { font-size: 16px; line-height: 26px; color: var(--muted); }
.notes p strong, .policy p strong { color: var(--text); font-weight: 400; }
.callout { padding: 24px; border: 1px solid var(--accent); background: var(--surface); }
.policy { display: flex; flex-direction: column; gap: 44px; }
.policy section { padding-top: 24px; border-top: 1px solid var(--line); }
.policy .num { font: 500 12px var(--mono); letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.policy h2 { font-size: 22px; margin-bottom: 12px; }
.policy p + p { margin-top: 16px; }
.policy a { color: var(--text); }
.svc { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; line-height: 21px; }
.svc th { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--accent); }
.svc td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.svc td:first-child { color: var(--text); font-weight: 500; }
.svc td:first-child span { display: block; font-weight: 400; color: var(--muted); }
.svc td:last-child, .svc th:last-child { text-align: right; padding-right: 0; white-space: nowrap; font-family: var(--mono); color: var(--text); }
.svc th:last-child { color: var(--muted); }

/* Cookie consent */
.cc-banner { position: fixed; left: 24px; bottom: 24px; z-index: 50; width: 440px; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 20px; background: var(--surface); border: 1px solid var(--line); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.cc-banner[hidden], .cc-modal[hidden] { display: none; }
.cc-title { display: flex; align-items: center; gap: 10px; font: 600 20px var(--display); }
.cc-title i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.cc-banner p { font-size: 14px; line-height: 22px; color: var(--muted); }
.cc-banner p a { color: var(--text); }
.cc-btns { display: flex; gap: 8px; }
.cc-btns button { flex: 1; padding: 12px 0; font-weight: 500; font-size: 14px; cursor: pointer; border: 1px solid var(--line-strong); background: none; }
.cc-btns button:hover { border-color: var(--muted); }
.cc-btns .accept { background: var(--accent); border-color: var(--accent); color: #fff; }
.cc-btns .accept:hover { background: #4A8CFF; border-color: #4A8CFF; }
.cc-link { background: none; border: 0; font-weight: 500; font-size: 14px; color: var(--muted); cursor: pointer; }
.cc-link:hover { color: var(--text); }
.cc-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5,7,11,.7); backdrop-filter: blur(4px); }
.cc-panel { width: 640px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.cc-head { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.cc-head h2 { font: 600 22px var(--display); }
.cc-head button { background: none; border: 0; cursor: pointer; color: var(--muted); }
.cc-row { display: flex; gap: 24px; align-items: flex-start; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.cc-row > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cc-row strong { font-weight: 500; font-size: 16px; }
.cc-row p { font-size: 14px; line-height: 22px; color: var(--muted); }
.cc-row small { font: 12px var(--mono); color: var(--placeholder); }
.cc-always { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 6px 10px; white-space: nowrap; }
.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 12px; background: var(--line); transition: background .2s; pointer-events: none; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9px; background: var(--muted); transition: transform .2s, background .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); background: #fff; }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-panel .cc-btns { padding: 24px 32px; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .cat, .process, .legal { grid-template-columns: 1fr; gap: 32px; }
  .legal-title { position: static; }
  .contact-row { grid-template-columns: 1fr; }
  .funnel { max-width: 640px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav { padding: 20px var(--gutter); }
  .nav-links a:not(.cta) { display: none; }
  .hero { padding: 72px var(--gutter) 64px; min-height: 620px; }
  .lead { font-size: 17px; line-height: 27px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat:first-child, .stat:last-child { padding: 24px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .stat strong { font-size: 32px; }
  .section { padding: 88px var(--gutter); }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .h2, .legal-title h1 { font-size: 40px; line-height: 44px; }
  .rows li { grid-template-columns: 1fr auto; row-gap: 4px; }
  .rows .spec { grid-row: 2; grid-column: 1 / -1; font-size: 14px; }
  .rows .lead-time { grid-row: 1; grid-column: 2; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .contact { padding: 88px var(--gutter); }
  .contact-copy h2 { font-size: 40px; line-height: 44px; }
  .funnel { padding: 24px; }
  .actions .hint { display: none; }
  .facts li { grid-template-columns: 1fr; gap: 6px; }
  .footer-cols { gap: 40px; }
  .svc thead { display: none; }
  .svc tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .svc td { display: block; border: 0; padding: 2px 0; text-align: left !important; }
  .cc-banner { left: 16px; bottom: 16px; padding: 20px; }
  .cc-row { padding: 20px; }
  .cc-head, .cc-panel .cc-btns { padding: 20px; }
  .cc-panel .cc-btns { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
}
