/* Nova Live: shared styles
   Colours and fonts match novalive.co.uk. Change a colour here and it changes everywhere. */
:root {
  --ink: #070010;          /* main background, header, footer */
  --ink-2: #120a22;        /* raised panels on dark */
  --indigo: #2C3486;
  --azure: #2E9BE6;
  --pink: #F00075;
  --lavender: #F3EBFF;     /* text on dark */
  --card: #F6F3FD;         /* light panels */
  --muted: #5B5670;        /* secondary text on light */
  --muted-dark: #B8B0CC;   /* secondary text on dark */
  --line: #2a2140;
  --white: #FFFFFF;
  --grad: linear-gradient(90deg, var(--indigo), var(--azure));

  --display: "Clash Display", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--lavender); font-family: var(--body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }
.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; }
[hidden] { display: none !important; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; color: var(--white); margin: 0; line-height: 1.02; letter-spacing: 0.005em; text-wrap: balance; }
h1 { font-size: clamp(44px, 8vw, 110px); font-weight: 700; }
h2 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.12; }
p { margin: 0; max-width: 66ch; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; font-weight: 600; color: var(--azure); }
.lead { font-size: 19px; color: var(--lavender); }
.stack { display: grid; gap: 18px; }
.rule { width: 96px; height: 4px; border-radius: 4px; background: var(--grad); border: 0; margin: 0; }

/* Buttons: pill shape like the current site */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none; padding: 15px 30px; border-radius: 30px; border: 2px solid transparent; cursor: pointer; transition: transform 140ms ease, background 140ms ease, border-color 140ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); background-origin: border-box; color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head { background: var(--ink); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 30px; color: var(--lavender); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: var(--ink-2); }
.nav a.nav-cta { background: var(--grad); color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--white); border-radius: 30px; padding: 10px 16px; font: 600 15px var(--display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
@media (max-width: 900px) {
  .brand img { width: 160px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 17px; }
}

/* Hero: full-bleed photo */
.hero { position: relative; min-height: min(86vh, 800px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,0,16,.35) 0%, rgba(7,0,16,.55) 60%, var(--ink) 100%); }
.hero .wrap { padding-block: 90px; text-align: center; }
.hero h1 { display: grid; justify-items: center; gap: 26px; }
.hero h1 img { width: min(1100px, 92%); }
.hero h1 .tagline { font-size: clamp(18px, 2.7vw, 38px); font-weight: 600; letter-spacing: .04em; }
.hero .btn-row { justify-content: center; margin-top: 34px; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 16vw, 200px) 0 clamp(56px, 7vw, 90px); }
.page-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,0,16,.45), rgba(7,0,16,.8) 75%, var(--ink)); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero p.lead { margin-top: 20px; }

/* Sections */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.light { background: var(--white); color: #1d1730; }
.section.light h2, .section.light h3 { color: var(--ink); }
.section.light .lead, .section.light p { color: #3a3450; }
.section.panel { background: var(--ink-2); }
.sec-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 900px; }
.intro { display: grid; gap: 20px; text-align: center; justify-items: center; }
.intro p { font-size: 19px; }
.intro .strap { font-weight: 600; color: var(--white); font-size: 21px; }

/* Alternating feature rows (home services, inner pages) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.feature img { width: 100%; aspect-ratio: 10 / 9; object-fit: cover; border-radius: 18px; }
.feature .copy { display: grid; gap: 20px; align-content: center; }
.feature.flip .media { order: 2; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature.flip .media { order: 0; } .feature img { aspect-ratio: 4 / 3; } }

/* Photo band with overlay text */
.band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; }
.band > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,0,16,.72); }
.band .two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .band .two { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; gap: 18px; }
.quote { background: rgba(7,0,16,.66); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px 26px 22px; display: grid; gap: 14px; backdrop-filter: blur(6px); }
.quote blockquote { margin: 0; font-style: italic; color: var(--white); }
.quote cite { font-style: normal; font-weight: 600; color: var(--azure); }
.stars { color: #FFC531; letter-spacing: 3px; font-size: 20px; line-height: 1; }

/* Service cards grid */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.card .body::before { content: ""; width: 54px; height: 4px; border-radius: 4px; background: var(--grad); }
.card p { color: var(--muted-dark); font-size: 16px; }
.card a.more { color: var(--azure); font-weight: 600; text-decoration: none; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; max-width: 620px; }
.person { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 6px; justify-items: start; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 700 28px var(--display); color: var(--white); margin-bottom: 10px; }
.person p { color: var(--muted-dark); }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid #3a3150; background: rgba(255,255,255,.06); color: var(--white); }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--azure); outline-offset: 1px; border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.form .hp { display: none; }
.light .form input, .light .form textarea { background: var(--card); border-color: #d9d2ea; color: var(--ink); }
.form-done { padding: 22px; border-radius: 14px; background: var(--grad); color: var(--white); font-weight: 600; }
.callback { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.callback .icon { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px; }
@media (max-width: 860px) { .callback { grid-template-columns: 1fr; } }

/* Contact details */
.details { display: grid; gap: 14px; }
.details a { color: var(--white); font-weight: 600; text-decoration: none; }
.details a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 30px; font-weight: 600; font-size: 15px; }
.socials a:hover { border-color: var(--azure); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Equipment catalogue */
.cat-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.cat-tools input[type="search"] { flex: 1 1 260px; font: inherit; padding: 13px 18px; border-radius: 30px; border: 1px solid #3a3150; background: rgba(255,255,255,.06); color: var(--white); }
.kit-combo { position: relative; flex: 1 1 260px; display: flex; }
.kit-combo input[type="search"] { flex: 1 1 auto; }
.kit-suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--ink-2); border: 1px solid #3a3150; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.45); max-height: 420px; overflow-y: auto; }
.kit-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--white); }
.kit-suggest a:hover, .kit-suggest [aria-selected="true"] a { background: rgba(46,155,230,.16); }
.kit-suggest img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.kit-suggest .sn { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.kit-suggest .sc { display: block; font-size: 13px; color: var(--azure); }
.kit-suggest mark { background: none; color: var(--azure); }
.kit-suggest .s-all { justify-content: center; font-size: 14px; font-weight: 600; color: var(--lavender); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chips a { text-decoration: none; padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.chips a:hover, .chips a[aria-current="page"] { background: var(--grad); background-origin: border-box; border-color: transparent; color: var(--white); }
.chips a span { color: var(--muted-dark); font-weight: 500; margin-left: 4px; }
.chips a[aria-current="page"] span { color: var(--lavender); }
.subchips { margin-top: -18px; }
.subchips a { font-size: 13px; padding: 6px 13px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.product { background: var(--white); color: var(--ink); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.product a { text-decoration: none; display: grid; grid-template-rows: auto 1fr; height: 100%; }
.product img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); padding: 12px; }
.product .pbody { padding: 14px 16px 18px; border-top: 1px solid #ece7f6; display: grid; gap: 6px; align-content: start; }
.product h3 { font-family: var(--body); text-transform: none; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.product .pcat { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.product:hover { outline: 2px solid var(--azure); }
.empty { padding: 30px; border: 1px dashed var(--line); border-radius: 16px; }
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-page .shot { background: var(--white); border-radius: 18px; padding: 24px; }
.product-page .shot img { width: 100%; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 820px) { .product-page { grid-template-columns: 1fr; } }
.crumbs { font-size: 14px; color: var(--muted-dark); margin-bottom: 18px; }
.crumbs a { color: var(--lavender); }

/* Legal pages */
.legal-copy { max-width: 860px; }
.legal-copy h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 40px 0 14px; }
.legal-copy h3 { font-size: 20px; margin: 28px 0 10px; }
.legal-copy p, .legal-copy li { color: var(--lavender); margin-bottom: 12px; max-width: none; }
.legal-copy a { color: var(--azure); }

/* Footer */
.site-foot { background: var(--ink); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.foot-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: clamp(56px, 8vw, 110px); line-height: .95; margin-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.foot-grid h2 { font-size: 16px; letter-spacing: .1em; margin-bottom: 14px; color: var(--azure); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid address { font-style: normal; }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted-dark); }
.foot-legal a { color: var(--lavender); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }

/* Gentle reveal on scroll (matches the current site's fade-up) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Two kit cards per row on phones */
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product img { padding: 8px; }
  .product .pbody { padding: 10px 12px 14px; }
  .product h3 { font-size: 14px; }
  .product .pcat { font-size: 11px; }
}

/* Specialism pages: USP grid, FAQ, two-column */
.section .two { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .section .two { grid-template-columns: 1fr; } }
.page-hero .btn-row { margin-top: 28px; }
.page-hero p.lead { max-width: 720px; }
.usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.usp-item { border-radius: 18px; padding: 28px 24px 24px; background: var(--card); position: relative; overflow: hidden; }
.usp-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.usp-item h3 { font-size: 21px; margin-bottom: 10px; }
.usp-item p { font-size: 16px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: var(--ink-2); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--white); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--azure, #2E9BE6); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--lavender); }
.faq a { color: var(--white); }

/* Specialism pages: split intro, tick lists, numbered steps */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .strap { font-weight: 600; color: var(--white); font-size: 21px; }
.split p { font-size: 18px; }
.section.light .split .strap { color: var(--ink); }
.feature .copy .eyebrow { margin-bottom: -8px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 500; color: var(--white); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; left: 4px; top: calc(.35em + 4px); width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: none; }
.step { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.step-n { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; color: var(--muted-dark); }
.band .split .lead { color: var(--white); }
