:root {
  --bg: #030409;
  --bg-2: #070911;
  --panel: rgba(9, 12, 24, 0.78);
  --panel-2: rgba(13, 17, 32, 0.68);
  --text: #f6f8ff;
  --muted: #aeb6cb;
  --red: #ff2438;
  --red-soft: #ff4e62;
  --blue: #1687ff;
  --blue-soft: #4db4ff;
  --line: rgba(255,255,255,.09);
  --shadow-red: 0 0 28px rgba(255, 36, 56, .35);
  --shadow-blue: 0 0 28px rgba(22, 135, 255, .35);
  --radius: 20px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 31, 58, .08), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(27, 134, 255, .10), transparent 30%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(70,95,150,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70,95,150,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.scanline {
  position: fixed;
  left: 0; right: 0; top: -18vh;
  height: 18vh;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(57, 146, 255, .035), transparent);
  animation: scan 9s linear infinite;
  z-index: 80;
}
@keyframes scan { to { transform: translateY(136vh); } }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 110px 0; position: relative; }
.compact-pad { padding-top: 70px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(3,4,9,.94), rgba(3,4,9,.68));
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 158px; height: 58px; display: grid; align-items: center; overflow: hidden; }
.brand img { width: 100%; filter: drop-shadow(0 0 8px rgba(31,117,255,.2)); }
.nav { display: flex; align-items: center; gap: 30px; color: #cbd2e3; font-size: .9rem; }
.nav a { transition: .2s ease; }
.nav a:hover { color: #fff; text-shadow: 0 0 14px rgba(77,180,255,.65); }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(35,145,255,.48); border-radius: 999px; box-shadow: inset 0 0 16px rgba(22,135,255,.06); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; display: block; margin: 5px 0; background: #fff; }

.hero { min-height: 850px; display: flex; align-items: center; padding-top: 145px; isolation: isolate; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; inset: 18% 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,35,56,.6), #fff, rgba(25,134,255,.6), transparent);
  opacity: .22;
  box-shadow: 0 0 30px rgba(60,150,255,.35);
}
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow, .kicker { letter-spacing: .18em; font-weight: 800; font-size: .72rem; color: #d6d9e7; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); display: inline-block; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.75); } }
.hero h1 { font-size: clamp(3.6rem, 6.6vw, 6.5rem); line-height: .94; letter-spacing: -.055em; margin: 0 0 26px; max-width: 760px; }
.gradient-text { color: transparent; background: linear-gradient(100deg, var(--red-soft), #f8f8ff 48%, var(--blue-soft)); -webkit-background-clip: text; background-clip: text; text-shadow: 0 0 30px rgba(56,138,255,.10); }
.outline-text { color: transparent; -webkit-text-stroke: 1px rgba(206,220,255,.85); text-shadow: 0 0 26px rgba(34,127,255,.12); }
.hero-lede { color: var(--muted); font-size: 1.12rem; max-width: 700px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 22px; border-radius: 8px; font-weight: 800; letter-spacing: .015em; overflow: hidden; border: 1px solid transparent; cursor: pointer; }
.btn::before { content:""; position:absolute; inset:-2px; background: linear-gradient(105deg, var(--red), var(--blue)); opacity:.88; z-index:-2; }
.btn::after { content:""; position:absolute; inset:1px; background:#090b12; z-index:-1; }
.btn-primary { box-shadow: 0 0 28px rgba(29,133,255,.18), 0 0 25px rgba(255,36,56,.12); }
.btn-primary:hover { text-shadow: 0 0 12px #fff; }
.btn-ghost { border-color: rgba(255,255,255,.15); color: #cfd5e4; }
.btn-ghost::before { opacity:0; }
.btn-ghost::after { background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(78,175,255,.45); color:#fff; }
.quick-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-stat { min-width: 145px; padding: 11px 15px; border-left: 2px solid var(--line); background: linear-gradient(90deg, rgba(255,255,255,.025), transparent); }
.quick-stat:nth-child(1) { border-left-color: var(--red); }
.quick-stat:nth-child(2) { border-left-color: #fff; }
.quick-stat:nth-child(3) { border-left-color: var(--blue); }
.quick-stat strong { display:block; font-size:.84rem; text-transform:uppercase; letter-spacing:.08em; }
.quick-stat span { color:#858da3; font-size:.76rem; }

.hero-logo-wrap { position: relative; min-height: 620px; display: grid; place-items: center; }
.hero-logo { width: min(680px, 100%); position: relative; z-index: 2; filter: saturate(1.08) contrast(1.02) drop-shadow(0 0 34px rgba(43,126,255,.17)); mix-blend-mode: screen; }
.logo-halo { position:absolute; inset:19% 4% 15%; background: radial-gradient(circle at 30% 50%, rgba(255,36,56,.18), transparent 42%), radial-gradient(circle at 70% 50%, rgba(22,135,255,.2), transparent 44%); filter: blur(42px); }
.hero-energy { position:absolute; width:520px; height:520px; border-radius:50%; filter: blur(100px); opacity:.09; z-index:-1; }
.energy-red { background:var(--red); left:-250px; top:120px; }
.energy-blue { background:var(--blue); right:-220px; top:120px; }
.system-chip { position:absolute; z-index:4; padding:8px 11px; background:rgba(2,4,9,.78); border:1px solid rgba(255,255,255,.12); border-radius:6px; font-size:.62rem; letter-spacing:.12em; color:#bac3d9; backdrop-filter:blur(10px); box-shadow:0 8px 35px rgba(0,0,0,.4); }
.system-chip span { display:inline-block; width:6px; height:6px; border-radius:50%; margin-right:7px; background:#55ffb8; box-shadow:0 0 9px #55ffb8; }
.chip-a { top:28%; right:2%; }
.chip-b { bottom:21%; left:1%; }
.hero-divider { position:absolute; left:50%; bottom:36px; transform:translateX(-50%); display:flex; align-items:center; width:min(520px,75%); gap:14px; opacity:.72; }
.hero-divider i { flex:1; height:1px; background:linear-gradient(90deg, transparent, var(--red)); box-shadow:var(--shadow-red); }
.hero-divider i:last-child { background:linear-gradient(90deg,var(--blue),transparent); box-shadow:var(--shadow-blue); }
.hero-divider b { width:8px; height:8px; transform:rotate(45deg); border:1px solid #fff; box-shadow:0 0 18px rgba(255,255,255,.7); }

.section-heading { max-width: 840px; margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(2.4rem,4.6vw,4.5rem); line-height: 1.02; letter-spacing: -.045em; margin: 8px 0 0; }
.split-heading { max-width:none; display:grid; grid-template-columns:1.15fr .85fr; align-items:end; gap:48px; }
.split-heading > p { color:var(--muted); margin:0 0 8px; max-width:520px; }
.kicker { color: #9aa5bc; }
.kicker::before { content:"// "; color:var(--red); }

.why-grid { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line); background:rgba(255,255,255,.018); }
.why-card { position:relative; padding:34px; min-height:230px; border-right:1px solid var(--line); overflow:hidden; }
.why-card:last-child { border-right:0; }
.why-card::after { content:""; position:absolute; width:160px; height:160px; right:-80px; bottom:-90px; border-radius:50%; background:var(--blue); filter:blur(60px); opacity:.06; }
.why-card:nth-child(odd)::after { background:var(--red); }
.card-number { color:#566079; font-size:.72rem; letter-spacing:.18em; }
.why-card h3 { margin:32px 0 10px; font-size:1.28rem; }
.why-card p { margin:0; color:var(--muted); font-size:.95rem; }
.cheeky { margin-top:20px; padding:22px 26px; border:1px solid rgba(255,255,255,.08); background:linear-gradient(90deg,rgba(255,31,58,.06),rgba(255,255,255,.02),rgba(26,135,255,.07)); display:flex; gap:24px; align-items:center; }
.cheeky-label { white-space:nowrap; font-size:.68rem; letter-spacing:.16em; color:#ff8f9a; }
.cheeky p { margin:0; color:#c3cadb; }

.services { background: linear-gradient(180deg, transparent, rgba(7,9,17,.85) 14%, rgba(7,9,17,.85) 86%, transparent); }
.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.service-card { position:relative; padding:30px; min-height:320px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(145deg,rgba(17,21,38,.82),rgba(7,9,17,.76)); overflow:hidden; transition:.28s ease; }
.service-card::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background:linear-gradient(90deg,transparent,var(--blue),transparent); opacity:.5; }
.service-card.red::before { background:linear-gradient(90deg,transparent,var(--red),transparent); }
.service-card:hover { transform:translateY(-5px); border-color:rgba(255,255,255,.17); }
.service-card.blue:hover { box-shadow:0 14px 50px rgba(25,129,255,.09); }
.service-card.red:hover { box-shadow:0 14px 50px rgba(255,36,56,.08); }
.service-icon { width:46px; height:46px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.12); border-radius:12px; font-size:1.4rem; color:var(--blue-soft); box-shadow:inset 0 0 14px rgba(22,135,255,.08); }
.service-card.red .service-icon { color:#ff6171; box-shadow:inset 0 0 14px rgba(255,36,56,.08); }
.service-card h3 { margin:30px 0 8px; font-size:1.35rem; }
.service-card p { color:var(--muted); margin:0 0 18px; }
.service-card ul { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:7px; }
.service-card li { padding:6px 9px; border:1px solid rgba(255,255,255,.08); border-radius:6px; color:#9ea8bd; font-size:.73rem; }

.work-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.project-card { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:rgba(7,9,17,.82); transition:.28s ease; }
.project-card:hover { transform:translateY(-5px); border-color:rgba(52,153,255,.34); box-shadow:0 18px 55px rgba(0,0,0,.3); }
.project-visual { height:260px; position:relative; overflow:hidden; background-size:cover; background-position:center; isolation:isolate; }
.project-visual::before { content:""; position:absolute; inset:0; background-image:var(--project-image, none); background-size:cover; background-position:center; z-index:-2; filter:saturate(.72) contrast(1.12); }
.project-visual::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(2,4,9,.08),rgba(2,4,9,.78)); }
.visual-targets { background: radial-gradient(circle at 36% 40%, rgba(255,31,58,.35), transparent 28%), radial-gradient(circle at 68% 38%, rgba(28,137,255,.38), transparent 28%), linear-gradient(135deg,#12182a,#04060c); }
.visual-control { background: radial-gradient(circle at 35% 30%, rgba(27,137,255,.28), transparent 30%), linear-gradient(135deg,#181b26,#04060c); }
.visual-prototype { background: radial-gradient(circle at 65% 35%, rgba(255,36,56,.26), transparent 25%), linear-gradient(135deg,#171020,#04060c); }
.visual-overlay { position:absolute; inset:0; background:repeating-linear-gradient(90deg,transparent 0 32px,rgba(255,255,255,.025) 33px); mix-blend-mode:screen; }
.status { position:absolute; left:18px; bottom:17px; padding:7px 9px; border-radius:5px; background:rgba(2,4,9,.74); border:1px solid rgba(255,255,255,.11); font-size:.61rem; letter-spacing:.12em; color:#d0d7e8; backdrop-filter:blur(8px); }
.status span { display:inline-block; width:6px; height:6px; background:#4cff9f; box-shadow:0 0 9px #4cff9f; border-radius:50%; margin-right:7px; }
.project-body { padding:25px; }
.project-tags { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:18px; }
.project-tags span { font-size:.58rem; letter-spacing:.12em; color:#91a0ba; padding:5px 7px; border:1px solid rgba(255,255,255,.08); border-radius:999px; }
.project-body h3 { margin:0 0 9px; font-size:1.34rem; }
.project-body p { color:var(--muted); margin:0; font-size:.94rem; }

.about { overflow:hidden; }
.about::before { content:""; position:absolute; left:-10%; right:-10%; top:50%; height:1px; background:linear-gradient(90deg,transparent,var(--red),#fff,var(--blue),transparent); opacity:.12; transform:rotate(-4deg); }
.about-grid { display:grid; grid-template-columns: .88fr 1.12fr; gap:72px; align-items:start; }
.about-panel h2 { font-size:clamp(2.7rem,4.8vw,4.7rem); line-height:.98; letter-spacing:-.05em; margin:12px 0 24px; }
.about-panel p { color:var(--muted); max-width:540px; }
.electric-line { height:42px; position:relative; margin-top:34px; }
.electric-line::before { content:""; position:absolute; left:0; top:50%; width:80%; height:1px; background:linear-gradient(90deg,var(--red),#fff,var(--blue),transparent); box-shadow:0 0 16px rgba(56,151,255,.38); }
.electric-line span { position:absolute; left:38%; top:14px; width:14px; height:14px; transform:rotate(45deg); border-right:2px solid #fff; border-bottom:2px solid #fff; }
.audience-grid { border-top:1px solid var(--line); }
.audience-grid article { display:grid; grid-template-columns:52px 1fr; column-gap:16px; padding:26px 8px; border-bottom:1px solid var(--line); }
.audience-grid article > span { grid-row:1 / 3; color:#64708b; letter-spacing:.16em; font-size:.72rem; padding-top:4px; }
.audience-grid h3 { margin:0 0 6px; font-size:1.15rem; }
.audience-grid p { margin:0; color:var(--muted); }

.testimonials { background:linear-gradient(180deg,transparent,rgba(7,9,17,.7),transparent); }
.quote-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.quote-card { margin:0; padding:34px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(140deg,rgba(18,22,39,.72),rgba(5,7,13,.75)); position:relative; }
.quote-card:first-child { box-shadow:inset 2px 0 0 rgba(255,36,56,.36); }
.quote-card:last-child { box-shadow:inset 2px 0 0 rgba(22,135,255,.36); }
.quote-mark { font-size:4.5rem; line-height:.7; color:rgba(255,255,255,.12); font-family:Georgia,serif; }
.quote-card p { color:#c7cede; }
.quote-card footer { display:flex; flex-direction:column; margin-top:24px; }
.quote-card footer strong { font-size:.9rem; letter-spacing:.08em; text-transform:uppercase; }
.quote-card footer span { color:#7f899f; font-size:.82rem; }

.contact { padding-bottom:130px; }
.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:start; }
.contact-copy h2 { font-size:clamp(3rem,5vw,5rem); line-height:.96; letter-spacing:-.05em; margin:12px 0 24px; }
.contact-copy > p { color:var(--muted); max-width:520px; }
.contact-links { margin-top:34px; display:grid; gap:10px; }
.contact-links a { padding:14px 0; border-bottom:1px solid var(--line); }
.contact-links small { display:block; color:#77839d; letter-spacing:.16em; font-size:.62rem; }
.contact-links strong { font-size:1rem; }
.contact-form { padding:28px; border:1px solid rgba(255,255,255,.1); border-radius:var(--radius); background:linear-gradient(145deg,rgba(16,20,36,.86),rgba(5,7,13,.82)); box-shadow:0 35px 80px rgba(0,0,0,.35); }
.form-topline { display:flex; justify-content:space-between; gap:20px; padding-bottom:18px; margin-bottom:20px; border-bottom:1px solid var(--line); font-size:.62rem; letter-spacing:.15em; }
.form-topline b { color:#55ffb8; font-weight:700; }
.field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form label { display:block; color:#8f99b1; font-size:.7rem; letter-spacing:.04em; }
.contact-form input, .contact-form textarea { width:100%; margin-top:7px; color:#fff; background:#070912; border:1px solid rgba(255,255,255,.09); border-radius:8px; outline:none; padding:13px 14px; transition:.2s ease; }
.contact-form textarea { resize:vertical; min-height:130px; }
.contact-form input:focus, .contact-form textarea:focus { border-color:rgba(36,146,255,.56); box-shadow:0 0 0 3px rgba(22,135,255,.08),0 0 18px rgba(22,135,255,.08); }
.turnstile-widget { min-height:65px; margin-top:18px; }
.submit { margin-top:18px; border:0; }
.form-note { color:#6f7a92; font-size:.72rem; margin:14px 0 0; }

.footer { border-top:1px solid var(--line); padding:24px 0; background:#020307; }
.footer-grid { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; }
.footer-brand { display:flex; align-items:center; gap:15px; color:#778199; font-size:.72rem; }
.footer-brand img { width:82px; }
.footer-status { font-size:.58rem; letter-spacing:.14em; color:#6d7790; }
.footer-links { justify-self:end; display:flex; gap:18px; color:#8d97ae; font-size:.78rem; }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.09s; }
.delay-2 { transition-delay:.18s; }

@media (max-width: 980px) {
  .nav { position:fixed; top:82px; left:20px; right:20px; display:none; flex-direction:column; align-items:stretch; gap:0; padding:16px; background:rgba(5,7,13,.97); border:1px solid rgba(255,255,255,.1); border-radius:14px; box-shadow:0 20px 60px rgba(0,0,0,.45); }
  .nav.open { display:flex; }
  .nav a { padding:13px 10px; }
  .menu-toggle { display:block; }
  .hero { min-height:auto; padding-top:130px; }
  .hero-grid { grid-template-columns:1fr; gap:0; }
  .hero-logo-wrap { min-height:500px; order:-1; margin-bottom:-35px; }
  .hero-logo { width:min(620px,92vw); }
  .chip-a { top:23%; right:5%; }
  .chip-b { bottom:20%; left:5%; }
  .why-grid, .service-grid, .work-grid { grid-template-columns:1fr 1fr; }
  .why-card:nth-child(2) { border-right:0; }
  .why-card:nth-child(3) { grid-column:1 / -1; border-top:1px solid var(--line); border-right:0; }
  .split-heading, .about-grid, .contact-grid { grid-template-columns:1fr; gap:34px; }
  .quote-grid { grid-template-columns:1fr; }
}

@media (max-width: 680px) {
  .shell { width:min(100% - 26px, var(--shell)); }
  .section-pad { padding:80px 0; }
  .nav-wrap { height:72px; }
  .site-header .brand { width:132px; height:52px; }
  .nav { top:72px; left:13px; right:13px; }
  .hero { padding-top:95px; }
  .hero-logo-wrap { min-height:360px; margin-bottom:-20px; }
  .hero h1 { font-size:clamp(3rem,15vw,4.2rem); }
  .hero-lede { font-size:1rem; }
  .system-chip { font-size:.52rem; }
  .chip-a { top:21%; right:0; }
  .chip-b { bottom:17%; left:0; }
  .quick-stats { display:grid; grid-template-columns:1fr 1fr; }
  .quick-stat:last-child { grid-column:1 / -1; }
  .section-heading h2, .about-panel h2, .contact-copy h2 { font-size:clamp(2.45rem,12vw,3.5rem); }
  .why-grid, .service-grid, .work-grid { grid-template-columns:1fr; }
  .why-card { border-right:0; border-bottom:1px solid var(--line); }
  .why-card:nth-child(3) { grid-column:auto; border-top:0; }
  .cheeky { flex-direction:column; align-items:flex-start; gap:8px; }
  .project-visual { height:230px; }
  .field-grid { grid-template-columns:1fr; }
  .contact-form { padding:20px; }
  .form-topline { flex-direction:column; gap:6px; }
  .footer-grid { grid-template-columns:1fr; text-align:center; justify-items:center; }
  .footer-links { justify-self:auto; }
}

@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; }
}


/* ===== Hero refresh: cleaner logo-first composition ===== */
.hero {
  min-height: auto;
  display: block;
  padding-top: 126px;
  padding-bottom: 94px;
  overflow: hidden;
}
.hero::after { content: none; }
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.hero-logo-wrap {
  width: min(980px, 100%);
  min-height: 0;
  margin: 0 auto;
  display: block;
  position: relative;
  isolation: isolate;
}
.hero-logo {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  mix-blend-mode: normal;
  filter: saturate(1.06) contrast(1.04) drop-shadow(0 0 34px rgba(31, 128, 255, .18));
}
.logo-halo {
  inset: 16% 6% 9%;
  opacity: .72;
  filter: blur(58px);
}
.hero-copy {
  width: min(980px, 100%);
  margin: -2px auto 0;
  position: relative;
  z-index: 3;
}
.hero .eyebrow {
  margin-bottom: 22px;
}
.hero h1 {
  max-width: 920px;
  font-size: clamp(4rem, 7.4vw, 7.2rem);
  line-height: .9;
  letter-spacing: -.06em;
  margin-bottom: 28px;
}
.hero-lede {
  max-width: 790px;
  font-size: 1.18rem;
  line-height: 1.75;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
}
.hero-actions .btn-primary {
  min-width: 218px;
  justify-content: space-between;
  gap: 26px;
  padding-inline: 24px;
}
.hero-actions .btn-primary b,
.hero-work-link b { font-size: 1.65rem; line-height: 1; font-weight: 400; }
.hero-work-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 4px 0 0;
  font-weight: 800;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--blue)) 1;
}
.hero-work-link:hover { text-shadow: 0 0 16px rgba(77,180,255,.45); }
.quick-stats, .system-chip { display: none !important; }
.energy-red { left:-190px; top:180px; opacity:.11; }
.energy-blue { right:-190px; top:180px; opacity:.11; }
.hero-divider { bottom: 32px; }

@media (max-width: 980px) {
  .hero { padding-top: 104px; padding-bottom: 84px; }
  .hero-grid { display:block; }
  .hero-logo-wrap { width:min(860px, 100%); min-height:0; margin:0 auto; order:0; }
  .hero-logo { width:100%; }
  .hero-copy { margin-top: 6px; }
  .hero h1 { font-size: clamp(3.6rem, 10vw, 6rem); }
}

@media (max-width: 680px) {
  .site-header .brand { width: 142px; height: 54px; overflow: visible; }
  .site-header .brand img { width: 100%; height: auto; object-fit: contain; }
  .hero { padding-top: 86px; padding-bottom: 70px; }
  .hero-stack { gap: 6px; }
  .hero-logo-wrap {
    width: calc(100% + 12px);
    margin-left: -6px;
    margin-right: -6px;
    min-height:0;
    margin-bottom:0;
  }
  .hero-logo { width:100%; }
  .logo-halo { inset: 18% 3% 8%; filter: blur(36px); }
  .hero-copy { margin-top: 8px; }
  .hero .eyebrow {
    font-size: .66rem;
    line-height: 1.55;
    letter-spacing: .15em;
    margin-bottom: 17px;
  }
  .hero h1 {
    font-size: clamp(3.35rem, 15vw, 4.6rem);
    line-height: .91;
    margin-bottom: 24px;
  }
  .hero-lede {
    font-size: 1.02rem;
    line-height: 1.72;
    margin-bottom: 26px;
  }
  .hero-actions {
    gap: 22px;
    align-items: stretch;
  }
  .hero-actions .btn-primary { min-width: 0; flex: 1 1 62%; }
  .hero-work-link { flex: 0 0 auto; }
  .hero-divider { bottom: 23px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: clamp(3rem, 14.2vw, 4rem); }
  .hero-actions { gap: 16px; }
  .hero-actions .btn-primary { padding-inline: 18px; }
  .hero-work-link { font-size: .94rem; gap: 10px; }
}

/* ===== v3 branding update: new J⚡M logo + safe header fit ===== */
.site-header .nav-wrap {
  min-height: 88px;
  height: 88px;
}
.site-header .brand {
  width: 184px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  flex: 0 0 auto;
}
.site-header .brand img {
  width: auto;
  height: 68px;
  max-width: 184px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 10px rgba(255,36,56,.16)) drop-shadow(0 0 10px rgba(31,117,255,.16));
}
.hero-logo-wrap {
  overflow: visible;
}
.hero-logo {
  object-fit: contain;
  object-position: center;
}
.footer-brand img {
  width: 112px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .nav { top: 88px; }
}

@media (max-width: 680px) {
  .site-header .nav-wrap {
    min-height: 78px;
    height: 78px;
  }
  .site-header .brand {
    width: 150px;
    height: 66px;
    overflow: visible;
  }
  .site-header .brand img {
    width: auto;
    height: 62px;
    max-width: 150px;
    object-fit: contain;
    object-position: left center;
  }
  .nav { top: 78px; }
  .hero { padding-top: 96px; }
}

/* ===== v4 fixes: mobile headline clipping + live enquiry form ===== */
.gradient-text {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: .045em;
  margin-inline: -.045em;
}
.hero h1,
.hero-copy {
  overflow: visible;
}
@media (max-width: 680px) {
  .hero h1 {
    padding-right: .08em;
    letter-spacing: -.052em;
  }
}
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.contact-form .submit:disabled {
  opacity: .65;
  cursor: wait;
}
.form-note.success { color: #86f7bd; }
.form-note.error { color: #ff8b96; }
.form-note.sending { color: #9bc9ff; }
