/* Dew Electrics · P1 Warm Night · F9 Figtree + Noto Serif Display · L2 */
/* Two palettes, blue (lights off) and warm gold (lights on), blended by --t: 0 = blue, 1 = gold.
   The home hero opens blue and site.js scrubs --t to 1 as its lights come on; every other page is gold. */
:root {
  --t: 1;
  --mix: calc(var(--t) * 100%);
  --bg: color-mix(in oklab, #060A12, #080A0C var(--mix));
  --card: color-mix(in oklab, #0E1522, #111518 var(--mix));
  --brand: color-mix(in oklab, #0B54B0, #C9A87C var(--mix));
  --brand-hover: color-mix(in oklab, #1766C9, #D8BB93 var(--mix));
  --on-brand: color-mix(in oklab, #FFFFFF, #14110D var(--mix));
  --accent: color-mix(in oklab, #6FA6EE, #C9A87C var(--mix));
  --text: color-mix(in oklab, #EEF2F8, #F2EDE8 var(--mix));
  --muted: color-mix(in oklab, #97A0AE, #9A9B9D var(--mix));
  --line: color-mix(in srgb, var(--text) 10%, transparent); --serif: 'Noto Serif Display', Georgia, serif; --sans: 'Figtree', system-ui, sans-serif;
}
@media (prefers-reduced-motion: no-preference) { :root:has(.shero) { --t: 0; } }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.noise::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 24px; }
em { font-style: italic; color: var(--accent); }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; }
section { padding: 112px 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { margin: 14px 0 16px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
i[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 1.75; flex: none; }

/* Buttons */
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform .25s, background .25s, border-color .25s; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border: 1px solid color-mix(in srgb, var(--text) 35%, transparent); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.acts { display: flex; flex-wrap: wrap; gap: 14px; }

/* Navbar: slim top bar */
#nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; padding: 0 max(24px, calc((100% - 1280px) / 2)); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, height .3s; }
#nav.scrolled, body.solid-nav #nav { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-color: var(--line); height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; letter-spacing: .02em; }
.logo img { width: auto; height: 34px; border-radius: 4px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { color: color-mix(in srgb, var(--text) 82%, transparent); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-call { padding: 10px 18px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
#menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 96px 32px 32px; display: none; flex-direction: column; gap: 6px; }
#menu.open { display: flex; }
#menu a { font-family: var(--serif); font-size: 30px; padding: 6px 0; border-bottom: 1px solid var(--line); }
#menu .close { position: absolute; top: 16px; right: 24px; display: flex; }
#menu .btn-primary { font-family: var(--sans); font-size: 17px; border: 0; margin-top: 24px; justify-content: center; }

/* Hero: centred text over photo */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--bg) 62%, transparent) 0%, color-mix(in srgb, var(--bg) 35%, transparent) 75%), linear-gradient(to bottom, color-mix(in srgb, var(--bg) 55%, transparent), transparent 25%, transparent 70%, var(--bg)); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 900px; padding: 0 24px; }
.hero .lede { color: color-mix(in srgb, var(--text) 90%, transparent); font-size: 20px; }
.hero h1, .hero blockquote, .hero .lede, .hero .eyebrow { text-shadow: 0 2px 28px rgba(0, 0, 0, .75); }
.hero blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--accent); }
.hero.shero { display: block; place-items: normal; min-height: 0; padding: 0; overflow: visible; background: #000; }
.shero-stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.shero-still, .shero canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shero canvas { display: none; }
.shero .hero-inner { padding: 110px 24px 48px; }
.shero.is-live { height: 200vh; }
.shero.is-live .shero-stage { position: sticky; top: 0; }
.shero.is-live canvas { display: block; }

/* Trust strip */
.trust { padding: 0; border-block: 1px solid var(--line); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 26px 22px; font-size: 15px; color: color-mix(in srgb, var(--text) 85%, transparent); }
.trust li + li { border-left: 1px solid var(--line); }
.trust i { color: var(--accent); }

/* Service rows: 2-column zig-zag with photos */
.rows { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.row:nth-child(even) .row-photo { order: 2; }
.row-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.row-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.row:hover .row-photo img { transform: scale(1.03); }
.row-text { display: flex; flex-direction: column; gap: 16px; }
.row-text .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 20px; }
.row-text p { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; margin-top: 6px; }
.more:hover { gap: 12px; }
.service-card { opacity: 1 !important; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text p { color: var(--muted); }
.big-quote { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.25; font-style: italic; color: var(--text); border-left: 2px solid var(--accent); padding-left: 24px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: color-mix(in srgb, var(--text) 88%, transparent); }
.ticks i { color: var(--accent); margin-top: 4px; }

/* Reviews */
.reviews { background: var(--card); }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.rating .stars { color: var(--accent); letter-spacing: 2px; }
.rating a { text-decoration: underline; text-underline-offset: 3px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.review p { font-size: 16px; color: color-mix(in srgb, var(--text) 88%, transparent); }
.review cite { font-style: normal; font-size: 14px; color: var(--accent); font-weight: 600; margin-top: auto; }

/* testimonial-card: "TestimonialCard" by Serafim (21st.dev/@serafimcloud), MIT licence. Plain CSS port. */
.tm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tm-card{display:flex;flex-direction:column;border-radius:8px;border-top:1px solid color-mix(in srgb,var(--text) 14%,transparent);padding:24px;text-align:start;color:inherit;text-decoration:none;
  background:linear-gradient(to bottom,color-mix(in srgb,var(--text) 9%,var(--bg)),color-mix(in srgb,var(--text) 3%,var(--bg)));transition:background .3s}
.tm-card:hover{background:linear-gradient(to bottom,color-mix(in srgb,var(--text) 12%,var(--bg)),color-mix(in srgb,var(--text) 5%,var(--bg)))}
.tm-head{display:flex;align-items:center;gap:12px}
.tm-avatar{width:48px;height:48px;border-radius:2px;flex:none;object-fit:cover;display:grid;place-items:center;
  background:var(--accent);color:var(--bg);font-weight:600;font-size:16px;letter-spacing:.02em}
.tm-name{font:600 18px/1.15 var(--sans,system-ui,sans-serif);letter-spacing:0;margin:0;color:var(--text)}
.tm-handle{font-size:15px;color:var(--muted);margin:4px 0 0}
.tm-text{margin:20px 0 0;font-size:16px;line-height:1.65;color:var(--muted)}
@media (max-width:1024px){.tm-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.tm-grid{grid-template-columns:1fr}.tm-card{padding:16px}}
@media (prefers-reduced-motion:reduce){.tm-card{transition:none}}

/* Areas */
.areas ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.areas li { border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.areas li i { color: var(--accent); width: 15px; height: 15px; }

/* Kinetic grid band */
.kg { position: relative; overflow: hidden; min-height: 520px; padding: 0; background-color: var(--bg); color: var(--text); --kg-active: var(--accent);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--text) 6%, transparent) .7px, transparent 1.1px); background-size: 28px 28px; background-position: 14px 14px; border-top: 1px solid var(--line); }
.kg canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kg-content { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: inherit; padding: 96px 24px; text-align: center; }
.kg-content p { color: var(--muted); max-width: 560px; }

/* Contact strip (home) and contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.details { display: grid; gap: 22px; }
.detail { display: flex; gap: 16px; }
.detail i { color: var(--accent); margin-top: 4px; }
.detail .lbl { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.detail a:hover { color: var(--accent); }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 24px; font-size: 15px; }
.hours span:nth-child(odd) { color: var(--muted); }
form.enquiry { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 36px; display: grid; gap: 16px; }
form.enquiry label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
form.enquiry input, form.enquiry textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; color: var(--text); font: inherit; padding: 13px 14px; }
form.enquiry input:focus, form.enquiry textarea:focus { outline: none; border-color: var(--accent); }
form.enquiry textarea { min-height: 130px; resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.launch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.note { margin-top: 28px; padding: 22px 24px; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); font-size: 15px; }
.note a { color: var(--accent); }

/* Inner pages */
.page-hero { padding: 168px 0 72px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%); }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 860px; margin: 18px 0 20px; }
.page-hero .acts { margin-top: 32px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p + p { margin-top: 16px; }
.split p { color: var(--muted); }
.split-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.included li { list-style: none; background: var(--bg); padding: 22px 24px; display: flex; gap: 12px; align-items: center; font-size: 16px; }
.included i { color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
.accred { display: flex; flex-wrap: wrap; gap: 16px; }
.accred div { flex: 1 1 260px; display: flex; gap: 14px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px; }
.accred i { color: var(--accent); width: 26px; height: 26px; }
.accred b { display: block; font-size: 16px; }
.accred span { color: var(--muted); font-size: 14px; }
.story { max-width: 860px; margin: 0 auto; text-align: center; }
.story blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; }
.story cite { display: block; margin-top: 20px; font-style: normal; color: var(--accent); font-weight: 600; }
.stories-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-band.three { grid-template-columns: 2fr 1fr 1fr; }
.photo-band figure { border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 4; }
.photo-band.wide figure { aspect-ratio: 4 / 3; }
.photo-band.three figure { aspect-ratio: auto; height: clamp(220px, 28vw, 380px); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.who { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.who div { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.who i { color: var(--accent); width: 28px; height: 28px; margin-bottom: 16px; }
.who h3 { margin-bottom: 10px; }
.who p { color: var(--muted); font-size: 16px; }
.lighting-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.lighting-block:first-child { border-top: 0; padding-top: 0; }
.lighting-block:nth-child(even) .lb-photos { order: -1; }
.lighting-block p { color: var(--muted); margin-top: 14px; }
.lb-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.lb-photos figure { border-radius: 6px; overflow: hidden; }
.lb-photos figure:first-child { grid-row: span 2; }
.lb-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
/* grey-to-colour (catalog motif): each photo starts grey and slightly zoomed, then "switches on" as it scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .lb-photos img { filter: grayscale(1) brightness(.8); transform: scale(1.08); transition: filter .9s, transform 1.4s cubic-bezier(.2, .7, .2, 1); }
  .lb-photos figure.lit img, .lb-photos figure:hover img { filter: none; transform: none; }
}
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { display: block; border-radius: 6px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: border-color .3s; }
.related a:hover { border-color: var(--accent); }
.related img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.related span { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font-weight: 600; }
/* spotlight-border: "Spotlight Border Cards" from cinematic-site-components by Jay (RoboLabs), MIT licence. Rebuilt on our tokens. */
.spot-card { position: relative; isolation: isolate; }
.spot-card::before, .spot-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: -1; }
.spot-card::before { z-index: 1; padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot-card::after { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); }
@media (hover: hover) { .spot:hover .spot-card::before, .spot:hover .spot-card::after { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spot-card::before, .spot-card::after { transition: none; } }
.cta-band { background: var(--card); border-top: 1px solid var(--line); text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--muted); margin: 0 auto 30px; max-width: 560px; }
.cta-band .acts { justify-content: center; }
.alt { background: var(--card); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
footer h3 { font-size: 26px; margin-bottom: 12px; }
footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
footer p, footer a { color: color-mix(in srgb, var(--text) 75%, transparent); font-size: 15px; }
footer .links { display: grid; gap: 8px; }
footer a:hover { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .row, .about-grid, .contact-grid, .split, .lighting-block, .stories-two, .who { grid-template-columns: 1fr; gap: 32px; }
  .row:nth-child(even) .row-photo, .lighting-block:nth-child(even) .lb-photos { order: 0; }
  .rows { gap: 64px; }
  .review-grid, .related, .steps { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .photo-band, .photo-band.three { grid-template-columns: repeat(2, 1fr); }
  .photo-band.three figure:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { aspect-ratio: 4 / 3; }
  .page-hero { padding: 128px 0 56px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .nav-call span { display: none; }
  .nav-call { padding: 12px; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hero .acts, .page-hero .acts, .cta-band .acts { flex-direction: column; width: 100%; }
  .hero .acts a, .page-hero .acts a, .cta-band .acts a { justify-content: center; }
  form.enquiry { padding: 24px; }
  .lb-photos { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
