/* Nick Bundy Electrical
   Four preview styles share one set of components. Each style only redefines the tokens below.
   workwear   - navy and hi-vis, taken from Nick's workwear (default)
   clean      - white, crisp, warning-label yellow
   industrial - concrete, hazard yellow, stencil type
   electric   - deep blue with cyan light, taken from the van photo */

/* ---------- Tokens ---------- */
:root,
[data-theme="workwear"] {
  --bg: #141c31;
  --surface: #1b2540;
  --surface-2: #24304f;
  --text: #edf0f6;
  --muted: #a6b0c4;
  --line: rgba(237, 240, 246, 0.13);
  --accent: #d8f31a;
  --accent-ink: #141c31;
  --link: #d8f31a;
  --yt: #ff0033;
  --header-bg: rgba(20, 28, 49, 0.92);

  --head-font: "Archivo", system-ui, sans-serif;
  --head-stretch: 68%;
  --head-weight: 800;
  --head-transform: none;
  --head-tracking: -0.005em;
  --body-font: "Barlow", system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --texture: none;
  --glow: none;

  --board-plastic: #f2f3f0;
  --board-edge: #cfd2cc;
  --board-rail: #dfe1dc;
  --breaker: #fbfbf9;
  --breaker-edge: #c9ccc6;
  --breaker-ink: #3a3f47;
  --toggle-off: #2b313b;
  --toggle-on: #d8f31a;
  --label-strip: #ffffff;
  --label-ink: #1b2540;
}

[data-theme="clean"] {
  --bg: #ffffff;
  --surface: #f3f5f8;
  --surface-2: #e7ebf1;
  --text: #18213a;
  --muted: #4d586d;
  --line: #dce1e8;
  --accent: #ffcd00;
  --accent-ink: #18213a;
  --link: #1d4ed8;
  --header-bg: rgba(255, 255, 255, 0.94);

  --head-font: "Archivo", system-ui, sans-serif;
  --head-stretch: 100%;
  --head-weight: 760;
  --head-tracking: -0.025em;
  --body-font: "Archivo", system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;

  --board-plastic: #ffffff;
  --board-edge: #d5dae2;
  --board-rail: #eef1f5;
  --breaker: #ffffff;
  --breaker-edge: #cdd3dc;
  --toggle-on: #ffcd00;
}

[data-theme="industrial"] {
  --bg: #2a2926;
  --surface: #33322e;
  --surface-2: #3e3d38;
  --text: #ecebe6;
  --muted: #b0aca2;
  --line: rgba(236, 235, 230, 0.15);
  --accent: #ffc20e;
  --accent-ink: #1c1b19;
  --link: #ffc20e;
  --header-bg: rgba(31, 30, 28, 0.95);

  --head-font: "Saira Stencil One", "Archivo", sans-serif;
  --head-stretch: 100%;
  --head-weight: 400;
  --head-transform: uppercase;
  --head-tracking: 0.02em;
  --body-font: "Barlow", system-ui, sans-serif;

  --radius: 0;
  --radius-lg: 0;
  --texture: 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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --board-plastic: linear-gradient(180deg, #a3a6a8, #7f8285);
  --board-edge: #5d6063;
  --board-rail: #6d7073;
  --breaker: #e9e9e4;
  --breaker-edge: #9a9b96;
  --toggle-off: #1c1b19;
  --toggle-on: #ffc20e;
  --label-strip: #f4f0e2;
  --label-ink: #1c1b19;
}

[data-theme="electric"] {
  --bg: #060c26;
  --surface: #0b1536;
  --surface-2: #122049;
  --text: #e6f0ff;
  --muted: #93a7cf;
  --line: rgba(67, 224, 255, 0.18);
  --accent: #43e0ff;
  --accent-ink: #060c26;
  --link: #43e0ff;
  --header-bg: rgba(6, 12, 38, 0.9);

  --head-font: "Chakra Petch", system-ui, sans-serif;
  --head-stretch: 100%;
  --head-weight: 700;
  --head-tracking: 0;
  --body-font: "Barlow", system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 6px;
  --glow: 0 0 22px rgba(67, 224, 255, 0.45);
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%2343e0ff' stroke-opacity='.07'%3E%3Cpath d='M0 30h40l10 10h30M60 0v20l10 10M120 90H80l-10-10H40v40M90 120V100'/%3E%3Ccircle cx='80' cy='40' r='3'/%3E%3Ccircle cx='40' cy='80' r='3'/%3E%3C/svg%3E");

  --board-plastic: #0d1a44;
  --board-edge: rgba(67, 224, 255, 0.4);
  --board-rail: #081232;
  --breaker: #16275a;
  --breaker-edge: rgba(67, 224, 255, 0.25);
  --breaker-ink: #93a7cf;
  --toggle-off: #050a1f;
  --toggle-on: #43e0ff;
  --label-strip: #0b1536;
  --label-ink: #e6f0ff;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--texture);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--head-font);
  font-stretch: var(--head-stretch);
  font-weight: var(--head-weight);
  text-transform: var(--head-transform);
  letter-spacing: var(--head-tracking);
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.link { color: var(--link); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.4em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.1 var(--body-font);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-yt { background: var(--yt); color: #fff; }
.btn-yt:hover { background: #d9002b; }
.btn-small { min-height: 40px; padding: 0.5em 1.1em; font-size: 0.95rem; }

[data-theme="industrial"] .btn { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
[data-theme="industrial"] .site-header { border-bottom: 6px solid; border-image: repeating-linear-gradient(-45deg, var(--accent) 0 14px, #1c1b19 14px 28px) 6; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: var(--radius); background: #fff; padding: 4px; }
[data-theme="clean"] .brand-mark { background: transparent; padding: 0; }
.brand-name {
  display: flex; flex-direction: column;
  font-family: var(--head-font); font-stretch: var(--head-stretch); font-weight: var(--head-weight);
  text-transform: var(--head-transform);
  font-size: 1.2rem; line-height: 1;
}
.brand-name span { font-size: 0.72rem; letter-spacing: 0.22em; color: var(--muted); margin-top: 3px; font-weight: 600; text-transform: uppercase; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: block; padding: 8px 10px; border-radius: var(--radius);
  text-decoration: none; font-weight: 500; color: var(--muted);
}
.site-nav ul a:hover { color: var(--text); }
.site-nav ul a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--text); font: 600 1rem var(--body-font); cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 8px; font-size: 1.1rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: #0b0f1a;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 12, 24, 0.88) 0%, rgba(8, 12, 24, 0.55) 55%, rgba(8, 12, 24, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 12, 24, 0.85) 0%, transparent 45%);
}
[data-theme="electric"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 12, 38, 0.92) 0%, rgba(6, 12, 38, 0.6) 55%, rgba(6, 12, 38, 0.3) 100%),
    linear-gradient(0deg, rgba(6, 12, 38, 0.95) 0%, transparent 50%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
  padding-block: 120px 64px;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 12ch; margin-bottom: 0.35em; }
[data-theme="electric"] .hero h1 { text-shadow: 0 0 30px rgba(67, 224, 255, 0.35); }
.hero-lede { font-size: 1.2rem; max-width: 46ch; color: rgba(255, 255, 255, 0.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-pause {
  position: absolute; right: 16px; top: 16px;
  background: rgba(0, 0, 0, 0.45); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius); padding: 6px 12px; font: 500 0.85rem var(--body-font); cursor: pointer;
}

/* The latest upload, presented like a YouTube "up next" card */
.latest-video {
  display: block; text-decoration: none; color: #fff;
  background: rgba(10, 14, 26, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.latest-video:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.4); }
.latest-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.latest-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #fff; }
.latest-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yt); box-shadow: 0 0 0 4px rgba(255, 0, 51, 0.25); }
.latest-title { font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.latest-video .video-meta { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 96px 40px; }
  .hero-side { max-width: 460px; }
}

/* ---------- Trust strip ---------- */
.trust-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-block: 22px;
}
.trust li { display: flex; flex-direction: column; line-height: 1.2; }
.trust strong {
  font-family: var(--head-font); font-stretch: var(--head-stretch); font-weight: var(--head-weight);
  text-transform: var(--head-transform); font-size: 1.6rem; color: var(--text);
}
.trust span { color: var(--muted); font-size: 0.95rem; }
.trust img { background: #fff; padding: 6px 8px; border-radius: var(--radius); }
[data-theme="clean"] .trust img { padding: 0; }
@media (max-width: 640px) {
  .trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .trust li:first-child { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt { background: var(--surface); }
[data-theme="industrial"] .section-alt { background-image: var(--texture); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head-split {
  max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px;
}
.section-head-split > div { max-width: 62ch; }
.section-head h2:only-child { margin-bottom: 0; }
.section-foot { margin-top: 32px; }

.page-head { padding-block: clamp(56px, 8vw, 96px) 8px; }
.page-head h1 { max-width: 18ch; }
.page-head p { max-width: 62ch; font-size: 1.2rem; color: var(--muted); }
.page-head .btn { margin-top: 16px; }
.page-head + .section { padding-top: 40px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-center { align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: 62ch; }
.prose p { font-size: 1.1rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.6rem; }
.prose-napit { margin-top: 28px; background: #fff; padding: 8px 12px; border-radius: var(--radius); }
.rounded { border-radius: var(--radius-lg); }
.photo-stack { display: grid; gap: 16px; }
.photo-stack img { border-radius: var(--radius-lg); width: 100%; }

/* ---------- The consumer unit (services) ---------- */
.board-housing {
  display: flex; align-items: stretch; gap: 0;
  background: var(--board-plastic);
  border: 1px solid var(--board-edge);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 22px 22px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[data-theme="electric"] .board-housing { box-shadow: 0 0 0 1px rgba(67, 224, 255, 0.15), 0 0 50px rgba(67, 224, 255, 0.12); }
.board-rail {
  display: flex; flex-wrap: wrap; gap: 6px 2px; flex: 1;
  background: var(--board-rail); padding: 10px; border-radius: 4px;
}
.breaker, .main-switch {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  flex: 1 1 0; min-width: 76px;
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  text-decoration: none; font: inherit;
}
.breaker-body {
  position: relative; height: 128px;
  background: var(--breaker);
  border: 1px solid var(--breaker-edge);
  border-radius: 3px;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.05);
}
.breaker-rating {
  position: absolute; top: 8px; left: 0; right: 0; text-align: center;
  font: 600 0.75rem var(--body-font); color: var(--breaker-ink); letter-spacing: 0.04em;
}
/* The toggle lever: down when off, up and lit when on */
.breaker-toggle {
  position: absolute; left: 50%; top: 34px; width: 24px; height: 62px;
  translate: -50% 0;
  background: color-mix(in srgb, var(--toggle-off) 18%, var(--breaker));
  border-radius: 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.breaker-toggle::after {
  content: ""; position: absolute; left: 2px; right: 2px; height: 30px; bottom: 2px;
  background: var(--toggle-off); border-radius: 2px;
  transition: bottom 0.18s cubic-bezier(.5, 1.6, .5, 1), background-color 0.18s;
}
.breaker[aria-selected="true"] .breaker-toggle::after,
.main-switch .breaker-toggle::after { bottom: 30px; background: var(--toggle-on); }
[data-theme="electric"] .breaker[aria-selected="true"] .breaker-toggle::after,
[data-theme="electric"] .main-switch .breaker-toggle::after { box-shadow: 0 0 14px var(--toggle-on); }
.breaker-label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 4px 6px;
  background: var(--label-strip); color: var(--label-ink);
  border: 1px solid var(--breaker-edge); border-radius: 2px;
  font-weight: 600; font-size: 0.86rem; line-height: 1.15;
}
.breaker[aria-selected="true"] .breaker-label { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.breaker:hover .breaker-body { border-color: var(--breaker-ink); }
.breaker:focus-visible { outline-offset: 4px; }

.main-switch { flex: 0 0 auto; width: 120px; margin-right: 14px; }
.main-switch .breaker-body { background: color-mix(in srgb, var(--breaker) 92%, black); }
.main-switch .breaker-toggle { width: 48px; }
.main-switch .breaker-label { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.main-switch:hover .breaker-label { filter: brightness(1.08); }

.board-panels { margin-top: 18px; }
.circuit {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface-2); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 24px 28px;
}
.circuit[hidden] { display: none; }
.section-alt .circuit { background: var(--bg); }
.circuit h3 { margin-bottom: 0.35em; }
.circuit p { color: var(--muted); max-width: 62ch; }
.circuit-icon { width: 40px; height: 40px; color: var(--accent); }
[data-theme="clean"] .circuit-icon { color: var(--text); }

@media (max-width: 720px) {
  .board-housing { flex-direction: column; padding: 14px; gap: 12px; }
  .main-switch { width: 100%; margin: 0; flex-direction: row; align-items: center; }
  .main-switch .breaker-body { width: 72px; height: 96px; flex: none; }
  .main-switch .breaker-toggle { top: 26px; height: 50px; width: 30px; }
  .main-switch .breaker-label { flex: 1; min-height: 52px; font-size: 1rem; }
  .board-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 4px; }
  .breaker { min-width: 0; }
  .breaker-body { height: 104px; }
  .breaker-toggle { top: 30px; height: 50px; }
  .breaker-toggle::after { height: 23px; }
  .breaker[aria-selected="true"] .breaker-toggle::after { bottom: 25px; }
  .breaker-label { font-size: 0.78rem; min-height: 40px; padding: 4px 2px; }
  .circuit { flex-direction: column; padding: 20px; gap: 12px; }
}

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.video-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface-2); margin-bottom: 6px;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 64px; height: 44px;
  background: var(--yt); color: #fff; border-radius: 12px;
  opacity: 0; transition: opacity 0.2s;
}
.video-play .icon { width: 26px; height: 26px; }
.video-card:hover .video-play, .video-card:focus-visible .video-play,
.latest-video .video-play { opacity: 1; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-title { font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.video-meta { color: var(--muted); font-size: 0.92rem; }

.page-head-yt { background: var(--surface); padding-bottom: clamp(40px, 6vw, 72px); }
.channel-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.channel-head > div { flex: 1 1 320px; }
.channel-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: none; }
.channel-head p { margin: 0; }
.channel-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.channel-more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding: 24px 28px; background: var(--surface); border-radius: var(--radius-lg);
}
.channel-more p { margin: 0; color: var(--muted); }

/* ---------- Work ---------- */
.work-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .work-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work-strip figure { margin: 0; }
.work-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.work-strip figcaption { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 42px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text); font: 600 0.95rem var(--body-font); cursor: pointer;
}
[data-theme="industrial"] .chip { border-radius: 0; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.work-grid { columns: 3 280px; column-gap: 16px; }
.work-item { break-inside: avoid; margin: 0 0 16px; }
.work-item[hidden] { display: none; }
.work-item a { display: block; border-radius: var(--radius-lg); overflow: hidden; }
.work-item img { width: 100%; transition: transform 0.3s; }
.work-item a:hover img { transform: scale(1.03); }
.work-item figcaption { padding: 8px 2px 0; font-size: 0.95rem; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 24px;
  background: rgba(4, 6, 12, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lightbox-close {
  position: absolute; top: 12px; right: 16px; width: 48px; height: 48px;
  background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-teaser img { border-radius: var(--radius-lg); width: 100%; }
.about-teaser p { font-size: 1.1rem; max-width: 56ch; }
@media (max-width: 820px) { .about-teaser { grid-template-columns: 1fr; } .about-teaser img { max-width: 420px; } }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial {
  margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
}
.section-alt .testimonial { background: var(--bg); }
.testimonial blockquote { margin: 0; font-size: 1.08rem; }
.testimonial blockquote p::before { content: "\201C"; }
.testimonial blockquote p::after { content: "\201D"; }
.testimonial figcaption { display: flex; flex-direction: column; border-top: 3px solid var(--accent); padding-top: 14px; }
.testimonial figcaption span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Services page ---------- */
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
}
.service-icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 18px; }
[data-theme="clean"] .service-icon { color: var(--text); background: var(--accent); padding: 8px; border-radius: var(--radius); width: 52px; height: 52px; }
.service p { color: var(--muted); }

/* ---------- Quote band ---------- */
.quote-band { background: var(--accent); color: var(--accent-ink); padding-block: clamp(48px, 7vw, 80px); }
[data-theme="industrial"] .quote-band {
  border-block: 14px solid; border-image: repeating-linear-gradient(-45deg, var(--accent) 0 18px, #1c1b19 18px 36px) 14;
}
[data-theme="electric"] .quote-band { background: linear-gradient(120deg, #0f2a6b, #0a1a4a); color: var(--text); border-block: 1px solid var(--line); }
.quote-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.quote-band h2 { margin-bottom: 0.3em; }
.quote-band p { max-width: 56ch; font-size: 1.1rem; }
.quote-band a:not(.btn) { color: inherit; font-weight: 600; }
.quote-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quote-band .btn-primary { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.quote-band .btn-primary:hover { background: color-mix(in srgb, var(--accent-ink) 85%, white); }
[data-theme="electric"] .quote-band .btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow); }

/* ---------- Sponsorships ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat-row li { border-top: 4px solid var(--accent); padding-top: 16px; display: flex; flex-direction: column; }
.stat-row strong {
  font-family: var(--head-font); font-stretch: var(--head-stretch); font-weight: var(--head-weight);
  text-transform: var(--head-transform); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1;
}
.stat-row span { color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.08rem; }
.ticks .icon { color: var(--accent); margin-top: 3px; }
[data-theme="clean"] .ticks .icon { color: #1a7f37; }

.steps { counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 7px 0 0 58px; min-height: 40px; font-size: 1.08rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--accent); color: var(--accent-ink); border-radius: 50%;
  font-family: var(--head-font); font-weight: var(--head-weight); font-size: 1.2rem;
}
[data-theme="industrial"] .steps li::before { border-radius: 0; }

.partners { display: flex; flex-wrap: wrap; gap: 12px; }
.partners li {
  padding: 14px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--head-font); font-stretch: var(--head-stretch); font-weight: var(--head-weight);
  text-transform: var(--head-transform); font-size: 1.3rem;
}

/* ---------- Quote and contact ---------- */
.btn-large { min-height: 56px; padding: 0.8em 1.8em; font-size: 1.15rem; }
.quote-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.quote-wrap .steps { margin-bottom: 32px; max-width: 60ch; }
.quote-aside { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; }
.quote-aside h2 { font-size: 1.6rem; }
.quote-aside .footer-contact { margin-bottom: 20px; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: border-color 0.15s;
}
.contact-card:hover { border-color: var(--accent); }
.contact-card .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
[data-theme="clean"] .contact-card .icon { color: var(--text); }
.contact-card h2 { font-size: 1.4rem; margin: 0; }
.contact-card p { color: var(--muted); margin: 0; word-break: break-word; }
.contact-card-main { grid-column: 1 / -1; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.contact-card-main h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.contact-card-main p { color: inherit; font-size: 1.1rem; }
.contact-card-main .btn { align-self: flex-start; margin-top: 14px; background: var(--accent-ink); color: var(--accent); }

.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 6px 14px; background: var(--surface); border-radius: 999px; font-size: 0.95rem; }
[data-theme="industrial"] .towns li { border-radius: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 64px; font-size: 0.98rem; }
[data-theme="clean"] .site-footer { background: #18213a; color: #edf0f6; --muted: #a6b0c4; --line: rgba(237, 240, 246, 0.13); --link: #ffcd00; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.15rem; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 38ch; margin-top: 16px; }
.footer-napit { background: #fff; padding: 6px 8px; border-radius: var(--radius); margin-top: 16px; }
[data-theme="clean"] .site-footer .brand-mark { background: #fff; padding: 4px; }
.footer-contact, .footer-links, .area-links { display: grid; gap: 10px; }
.footer-contact a, .area-links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-links a { text-decoration: none; }
.footer-contact a:hover, .footer-links a:hover, .area-links a:hover { color: var(--link); text-decoration: underline; }
.footer-contact .icon, .area-links .icon { color: var(--muted); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-block: 22px 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem;
}
.footer-base p { margin: 0; }
.footer-base a { color: inherit; }

/* ---------- Style switcher (preview only) ---------- */
.style-switcher { position: fixed; left: 16px; bottom: 16px; z-index: 90; font-family: "Barlow", system-ui, sans-serif; }
.style-switcher-toggle {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: #fff; color: #18213a; border: 2px solid #18213a;
  font: 600 0.95rem "Barlow", sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.style-options {
  position: absolute; left: 0; bottom: 56px; width: 240px;
  background: #fff; color: #18213a; border-radius: 14px; padding: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.style-options[hidden] { display: none; }
.style-options p { margin: 0 0 10px; font-weight: 600; }
.style-options [role="radiogroup"] { display: grid; gap: 6px; }
.style-options button {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px;
  border: 2px solid #e3e7ee; border-radius: 10px; background: #fff; color: #18213a;
  font: 500 1rem "Barlow", sans-serif; cursor: pointer; text-align: left;
}
.style-options button[aria-checked="true"] { border-color: #18213a; font-weight: 600; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #c8ced8; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
