/* =========================================================
   LUMIX Events: design tokens
   ========================================================= */
:root {
  /* Brand */
  --mint: #6fe6a6;
  --aqua: #62e0de;
  --mint-soft: #c9f5dc;
  --mint-ink: #0b7a57;          /* accent text on light surfaces (AA) */
  --grad: linear-gradient(135deg, var(--mint) 0%, var(--aqua) 100%);

  /* Dark surfaces */
  --ink-950: #071315;
  --ink-900: #0b1a1d;
  --ink-800: #102428;
  --ink-700: #183439;
  --line-dark: rgba(214, 240, 232, 0.12);
  --on-dark: #e9f3f0;
  --on-dark-muted: #a3b8b5;

  /* Light surfaces */
  --paper: #f1f4f1;
  --paper-2: #e6ebe7;
  --card: #ffffff;
  --line: #d5ddd8;
  --text: #0b1a1d;
  --text-muted: #4a5d5b;

  --danger: #c2341f;
  --danger-dark: #ff8a75;

  /* Type */
  --font-display: "Gilda Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --header-h: 72px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-1: 160ms;
  --dur-2: 280ms;
  --dur-3: 520ms;

  --z-header: 50;
  --z-quickbar: 40;
  --z-menu: 45;
  --z-skip: 100;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible { outline-color: var(--mint-ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--mint); color: var(--ink-950); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; transition: top var(--dur-1); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: inline; } }

/* =========================================================
   Typography
   ========================================================= */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 1px; }
.eyebrow--mint { color: var(--mint); }
.hero .eyebrow { text-wrap: balance; justify-content: center; }
.hero .eyebrow::before { display: none; }

.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; }
.h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); color: var(--text-muted); max-width: 58ch; margin-top: var(--s-4); }
.lead--dark { color: var(--on-dark-muted); }
.text-link { color: var(--mint-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.glow-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--mint); --btn-fg: var(--ink-950);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.005em;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2);
  touch-action: manipulation; white-space: nowrap;
}
.btn:hover { box-shadow: 0 8px 28px -8px rgba(111, 230, 166, 0.55); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--mint { background: var(--grad); }
.btn--dark { --btn-bg: var(--ink-900); --btn-fg: var(--on-dark); }
.btn--dark:hover { box-shadow: 0 8px 24px -10px rgba(7, 19, 21, 0.6); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--split { padding: 0; gap: 3px; background: none; min-height: 44px; }
.btn--split .btn__icon { display: grid; place-items: center; width: 44px; align-self: stretch; background: var(--grad); border-radius: 10px 4px 4px 10px; }
.btn--split .btn__icon svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--split .btn__label { display: flex; align-items: center; align-self: stretch; padding: 0 18px; background: var(--grad); border-radius: 4px 10px 10px 4px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.btn--split:hover .btn__icon svg { transform: translateX(2px); }
.btn--split .btn__icon svg { transition: transform var(--dur-2) var(--ease-out); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color var(--dur-2), border-color var(--dur-2); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(214, 240, 232, 0.28); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mint); padding: 10px 0; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur-2), border-color var(--dur-2), backdrop-filter var(--dur-2);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(7, 19, 21, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
}
/* A backdrop-filter makes the header the containing block for the fixed mobile menu,
   which would clip it to the header's height, so the open state uses a solid background */
.site-header.is-open {
  background: var(--ink-950);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 0; flex-shrink: 0; }
.brand__mark { width: 34px; height: auto; }
.brand__word { width: 96px; height: auto; margin-top: 4px; }

.nav { margin-inline: auto; display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__link { position: relative; display: block; padding: 10px 12px; font-size: 0.9rem; font-weight: 600; color: var(--on-dark-muted); border-radius: 8px; transition: color var(--dur-1); }
.nav__link:hover, .nav__link.is-active { color: var(--on-dark); }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
.nav__link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hide-sm { display: none !important; }

.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--on-dark); transition: transform var(--dur-2) var(--ease-out), top var(--dur-2) var(--ease-out); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-menu);
  background: var(--ink-950); color: var(--on-dark);
  padding: var(--s-5) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  animation: menu-in var(--dur-2) var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu ul a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: -0.01em; }
.mobile-menu ul a .mono { color: var(--mint); }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: var(--s-6); }
.mobile-menu__contact { color: var(--on-dark-muted); font-weight: 600; padding: 6px 0; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 1024px) {
  /* logo | centered nav | CTA: equal side columns keep the links at true page center */
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav { display: block; margin: 0; }
  .header-actions { justify-self: end; margin-left: 0; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hide-sm { display: inline-flex !important; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; color: var(--on-dark);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(98, 224, 222, 0.10), transparent 70%),
    var(--ink-950);
  padding-top: calc(var(--header-h) + clamp(32px, 4.5vw, 64px));
}
.hero__intro { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(36px, 4vw, 56px); }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.045em; margin-top: var(--s-4);
  text-wrap: balance; max-width: 15ch;
}
@media (min-width: 768px) { .hero__title { max-width: none; } }
.hero__lead { margin-top: var(--s-5); max-width: 64ch; text-wrap: balance; color: var(--on-dark-muted); font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); }
.hero__ctas { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }

.reel-pill { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; min-height: 54px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); text-align: left; transition: background-color var(--dur-2), border-color var(--dur-2); }
.reel-pill:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(111, 230, 166, 0.4); }
.reel-pill__thumb { position: relative; width: 56px; height: 42px; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.reel-pill__thumb img { width: 100%; height: 100%; object-fit: cover; }
.reel-pill__thumb svg { position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; fill: #fff; stroke: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.reel-pill__text { display: flex; flex-direction: column; line-height: 1.25; }
.reel-pill__text strong { font-size: 0.92rem; }
.reel-pill__text span { font-size: 0.78rem; color: var(--on-dark-muted); }

/* ---- LED cabinet wall ---- */
.wall {
  --cols: 4; --rows: 4; --seam: var(--ink-950); --seam-w: 2px;
  position: relative; display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
  aspect-ratio: var(--cols) / var(--rows);
  max-height: 78vh; width: 100%;
  overflow: hidden; isolation: isolate;
  background: var(--ink-900);
}
@media (min-width: 640px) { .wall { --cols: 6; --rows: 3; } }
@media (min-width: 1024px) { .wall { --cols: 8; --rows: 3; } }
@media (min-width: 1600px) { .wall { --cols: 10; --rows: 3; } }

.wall__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.wall__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,19,21,.35), rgba(7,19,21,0) 30%, rgba(7,19,21,0) 70%, rgba(7,19,21,.35)); pointer-events: none; }
.wall__cells { position: absolute; inset: 0; display: grid; grid-template-columns: inherit; grid-template-rows: inherit; }
.wall__cells span {
  background: var(--ink-950);
  transition: background-color 600ms var(--ease-out), opacity 700ms var(--ease-out);
}
.wall.is-on .wall__cells span { opacity: 0; transition-delay: var(--d, 0ms); }
.wall.is-on .wall__cells span.is-hot { opacity: 1; background: rgba(111, 230, 166, 0.16); transition-delay: 0ms; transition-duration: 120ms; }
.wall__seams {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 0 0, var(--seam) 0 4px, transparent 4.5px),
    linear-gradient(to right, var(--seam) 0 var(--seam-w), transparent var(--seam-w)),
    linear-gradient(to bottom, var(--seam) 0 var(--seam-w), transparent var(--seam-w));
  background-size:
    calc(100% / var(--cols)) calc(100% / var(--rows)),
    calc(100% / var(--cols)) 100%,
    100% calc(100% / var(--rows));
}

/* ---- Ticker ---- */
.ticker { border-block: 1px solid var(--line-dark); overflow: hidden; background: var(--ink-950); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex-shrink: 0; }
.ticker__list li { display: flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.ticker__list li::after { content: ""; width: 6px; height: 6px; background: var(--mint); border-radius: 1px; transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight-top { padding-top: 0; }
.section--light { background: var(--paper); color: var(--text); }
.section--dark { background: var(--ink-900); color: var(--on-dark); }
.section--dark .h2 { color: #fff; }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { display: grid; gap: var(--s-4); }
.section-head--split .eyebrow { align-self: start; padding-top: 0.6em; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 3fr; gap: var(--s-6); }
}
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); }
.section-head--row .h2 { margin-top: var(--s-3); }

/* ---- Services tabs ---- */
.svc__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-5); }
.svc__tab {
  position: relative; min-height: 44px; padding: 10px 16px 10px 30px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-weight: 600; font-size: 0.92rem; color: var(--text-muted);
  transition: color var(--dur-1), border-color var(--dur-2), background-color var(--dur-2);
}
.svc__tab::before { content: ""; position: absolute; left: 14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--line); transition: background-color var(--dur-2); }
.svc__tab:hover { color: var(--text); border-color: #b8c5be; }
.svc__tab[aria-selected="true"] { color: var(--ink-950); background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
.svc__tab[aria-selected="true"]::before { background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.svc__panel { position: relative; display: grid; gap: var(--s-4); }
.svc__panel:not([hidden]) { animation: fade-up var(--dur-3) var(--ease-out); }
.svc__index { position: absolute; left: -2px; top: -26px; color: var(--text-muted); display: none; }
.svc__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--s-4); }
.svc__card p { color: var(--text-muted); }
@media (min-width: 900px) {
  .svc__panel { grid-template-columns: 1.15fr 1fr; gap: var(--s-4); }
  .svc__media { aspect-ratio: auto; min-height: 420px; }
  .svc__card { justify-content: center; }
}

.checks { display: grid; gap: 10px; margin-top: var(--s-2); }
.checks li { position: relative; padding-left: 30px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 9px; border: solid var(--mint-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.svc__progress { display: flex; align-items: center; gap: 16px; margin-top: var(--s-5); color: var(--text-muted); }
.svc__bar { position: relative; flex: 0 1 260px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.svc__bar span { position: absolute; inset: 0; background: var(--ink-950); transform-origin: left; transform: scaleX(0.2); transition: transform var(--dur-3) var(--ease-out); }

@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* ---- Events bento ---- */
.bento { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.ev { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: clamp(340px, 34vw, 460px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.ev--photo { color: #fff; }
.ev--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.ev--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,19,21,0) 30%, rgba(7,19,21,.86) 100%); }
@media (min-width: 768px) { .ev--photo::after { background: linear-gradient(90deg, rgba(7,19,21,.82) 0%, rgba(7,19,21,.35) 45%, rgba(7,19,21,0) 70%); } .ev__body { max-width: 560px; } }
.ev--photo:hover > img { transform: scale(1.04); }
.ev__body { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 12px; }
.ev__tag { opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Custom-request banner: a dark "LED panel" with seams and a mint glow */
.custom-cta {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: var(--s-6);
  display: grid; gap: var(--s-6); align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--ink-950); color: var(--on-dark);
}
.custom-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(214,240,232,.06) 0 1px, transparent 1px),
    linear-gradient(to bottom, rgba(214,240,232,.06) 0 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.custom-cta::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,230,166,.28), rgba(98,224,222,.08) 45%, transparent 70%);
}
.custom-cta__copy { display: grid; gap: var(--s-3); max-width: 560px; }
.custom-cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.custom-cta__copy > p:last-child { color: var(--on-dark-muted); font-size: 1.05rem; }
.custom-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.custom-cta__actions .btn svg { transition: transform var(--dur-2) var(--ease-out); }
.custom-cta__actions .btn:hover svg { transform: translateX(3px); }
.custom-cta__call { display: inline-flex; align-items: center; gap: 12px; padding: 4px 0; font-weight: 700; transition: color var(--dur-1); }
.custom-cta__call > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.custom-cta__call .mono { color: var(--on-dark-muted); font-weight: 500; }
.custom-cta__call:hover { color: var(--mint); }
.custom-cta__call-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--mint); }
.custom-cta__call-ico svg { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .custom-cta { grid-template-columns: 1fr auto; }
  .custom-cta__actions { flex-direction: column; align-items: stretch; }
}

/* ---- Work gallery ---- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark-muted); font-weight: 600; font-size: 0.9rem; transition: all var(--dur-2); }
.filter:hover { color: var(--on-dark); border-color: rgba(214,240,232,.3); }
.filter[aria-pressed="true"] { background: var(--grad); color: var(--ink-950); border-color: transparent; }

.gallery { columns: 1; column-gap: 12px; }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; column-gap: 16px; } }
.g-item { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 1024px) { .g-item { margin-bottom: 16px; } }
.g-item.is-hidden { display: none; }
.g-item.is-in { animation: fade-up var(--dur-3) var(--ease-out) both; animation-delay: var(--d, 0ms); }
.g-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink-800); border-radius: var(--radius); overflow: hidden; text-align: left; }
.g-btn img, .g-btn video { width: 100%; transition: transform 700ms var(--ease-out), filter var(--dur-3); }
.g-btn:hover img, .g-btn:hover video { transform: scale(1.04); }
.g-cap { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; display: flex; flex-direction: column; gap: 2px; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(7,19,21,.85)); opacity: 0; transform: translateY(6px); transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out); }
.g-cap .mono { color: var(--mint); }
.g-btn:hover .g-cap, .g-btn:focus-visible .g-cap { opacity: 1; transform: none; }
@media (hover: none) { .g-cap { opacity: 1; transform: none; } }
.g-play { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(7,19,21,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); }
.g-play svg { width: 14px; height: 14px; fill: #fff; stroke: none; margin-left: 2px; }
.work-foot { margin-top: var(--s-6); display: flex; justify-content: center; }

/* Phones: show the first few projects, the rest behind "Show more" */
.show-more { display: flex; margin: var(--s-5) auto 0; gap: 6px; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--on-dark); border: 1px solid rgba(214,240,232,.3); }
.btn--outline:hover { background: rgba(255,255,255,.06); box-shadow: none; }
@media (max-width: 767px) {
  .g-item.is-extra { display: none; }
}
@media (min-width: 768px) {
  .show-more { display: none !important; }
}

/* ---- About ---- */
.about__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1.05fr; } }
.about__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.about__copy .h2 { margin-top: var(--s-2); }
.about__copy > p:not(.lead):not(.eyebrow) { color: var(--on-dark-muted); max-width: 58ch; }
.about__copy em { color: var(--mint); font-style: normal; font-weight: 700; }
.stats { display: grid; grid-template-columns: auto auto 1fr; width: 100%; border-block: 1px solid var(--line-dark); margin: var(--s-4) 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 20px 20px 20px 0; }
.stat:last-child { padding-right: 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.stat dt { font-size: 0.82rem; color: var(--on-dark-muted); }
@media (min-width: 560px) { .stat dt { white-space: nowrap; } }
/* Phones: one row per highlight, word and label side by side */
@media (max-width: 559px) {
  .stats { grid-template-columns: 1fr; }
  .stat { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 14px; padding: 14px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .stat dd { order: -1; min-width: 7.2em; font-size: 1.6rem; }
}
.stat dd { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.about__media { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; gap: 12px; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.about__img--side { grid-column: 1 / span 3; aspect-ratio: 3 / 2; }
.about__badge { grid-column: 4 / -1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 20px; border-radius: var(--radius-lg); background: var(--ink-800); border: 1px solid var(--line-dark); }
.about__badge img { width: 34px; height: auto; }
.about__badge p { color: var(--on-dark-muted); font-size: 0.92rem; }
.about__badge strong { color: var(--on-dark); }

/* ---- Testimonials ---- */
.quotes { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { position: relative; display: flex; flex-direction: column; gap: var(--s-4); padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.quote blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; letter-spacing: -0.01em; font-weight: 400; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: var(--s-4); }
.quote figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.quote figcaption > span:last-child span { color: var(--text-muted); font-size: 0.88rem; }
.quote__avatar { flex-shrink: 0; width: 48px; height: 48px; font-size: 0.78rem; letter-spacing: 0.02em; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--ink-950); color: var(--mint); }
.quote--mint { background: var(--grad); border-color: transparent; }
.quote--mint figcaption > span:last-child span { color: rgba(7,19,21,.72); }
.quote__mark { font-family: var(--font-display); font-size: 4.5rem; line-height: .6; height: 28px; color: var(--mint-ink); }
.quote--mint .quote__mark { color: var(--ink-950); }

/* ---- FAQ ---- */
.faq { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .faq { grid-template-columns: 1fr 1.4fr; gap: var(--s-8); } .faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq__head .h2 { margin-top: var(--s-3); }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.faq__item[open] { border-color: #b8c5be; box-shadow: 0 10px 30px -18px rgba(11,26,29,.35); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; background: var(--text); border-radius: 2px; transition: transform var(--dur-2) var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--grad); border-color: transparent; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 20px 20px; color: var(--text-muted); max-width: 64ch; }
.faq__item[open] .faq__a { animation: fade-up var(--dur-2) var(--ease-out); }

/* ---- Contact ---- */
.contact { background: radial-gradient(70% 60% at 0% 0%, rgba(111,230,166,.10), transparent 60%), var(--ink-950); }
.contact__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1.2fr; } }
.contact__info .h2 { margin-top: var(--s-3); }
.contact__list { margin-top: var(--s-6); display: grid; gap: 4px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact__list li > span:last-child { display: flex; flex-direction: column; font-weight: 600; font-size: 1.05rem; }
.contact__list .mono { color: var(--on-dark-muted); font-weight: 500; margin-bottom: 2px; }
.contact__list a { padding: 2px 0; transition: color var(--dur-1); }
.contact__list a:hover { color: var(--mint); }
.contact__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-800); border: 1px solid var(--line-dark); color: var(--mint); flex-shrink: 0; }
.contact__ico svg { width: 20px; height: 20px; }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper); color: var(--text); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: 0.9rem; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5d5b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b3c1ba; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-ink); box-shadow: 0 0 0 4px rgba(11,122,87,.15); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__hint { font-size: 0.85rem; color: var(--text-muted); }
.field__err { font-size: 0.86rem; font-weight: 600; color: var(--danger); min-height: 0; }
.field__err:empty { display: none; }
.form__note { font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.form__error-summary { padding: 14px 16px; border-radius: 10px; background: #fdecea; border: 1px solid #f2b8ae; color: #7a1d10; font-size: 0.92rem; }
.form__error-summary ul { margin-top: 6px; list-style: disc; padding-left: 20px; }
.form__error-summary a { text-decoration: underline; font-weight: 600; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form__status.is-ok { background: var(--mint-soft); color: #064a35; }
.form__status.is-err { background: #fdecea; color: #7a1d10; }
.form__status a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(7,19,21,.25); border-top-color: var(--ink-950); animation: spin 700ms linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink-950); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding-top: clamp(56px, 7vw, 88px); padding-bottom: calc(24px + 76px); }
@media (min-width: 1024px) { .footer { padding-bottom: 24px; } }
.footer__grid { display: grid; gap: var(--s-7); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer__brand img { width: 120px; height: auto; margin-bottom: var(--s-4); }
.footer__brand p { max-width: 34ch; }
.footer .mono { color: var(--mint); margin-bottom: var(--s-3); }
.footer__nav ul { display: grid; gap: 2px; }
.footer__nav a { display: inline-block; padding: 6px 0; color: var(--on-dark); transition: color var(--dur-1); }
.footer__nav a:hover { color: var(--mint); }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__email { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); font-weight: 400; letter-spacing: -0.01em; color: #fff; padding: 4px 0; word-break: break-word; }
.footer__phone { color: var(--on-dark); font-weight: 600; padding: 4px 0; }
.footer__email:hover, .footer__phone:hover { color: var(--mint); }
.socials { display: flex; gap: 8px; margin-top: var(--s-3); }
.footer__bottom { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark); padding: 4px 0; }
.to-top svg { width: 16px; height: 16px; }

/* =========================================================
   Mobile quickbar
   ========================================================= */
.quickbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-quickbar);
  display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px;
  border-radius: 16px; background: rgba(7, 19, 21, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark); box-shadow: 0 12px 40px -12px rgba(0,0,0,.6);
  transform: translateY(140%); transition: transform var(--dur-3) var(--ease-out);
}
.quickbar.is-visible { transform: none; }
.quickbar__call { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-dark); color: var(--on-dark); font-weight: 700; }
.quickbar__call svg { width: 18px; height: 18px; color: var(--mint); }
@media (min-width: 1024px) { .quickbar { display: none; } }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 11, 12, .94); color: #fff; }
.lightbox::backdrop { background: rgba(4, 11, 12, .7); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: lb-in var(--dur-2) var(--ease-out); }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: calc(100dvh - 140px); padding: 0 64px; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--radius); object-fit: contain; }
.lightbox__cap { margin-top: 16px; padding: 0 20px; text-align: center; color: var(--on-dark-muted); font-weight: 600; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; transition: background-color var(--dur-1); }
.lb-btn:hover { background: rgba(255,255,255,.14); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__stage { padding: 0 12px; height: calc(100dvh - 180px); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); }
}
@keyframes lb-in { from { opacity: 0; } }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
