/* TechLine, Left Coast inspired theme v61 */

:root,
[data-theme="light"] {
  color-scheme: light;
  --brand: #238f99;
  --brand-hover: #1d7a83;
  --brand-soft: rgba(35, 143, 153, 0.12);
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-muted: #f5f5f7;
  --bg-dark: #0a0a0a;
  --text: #0a0a0a;
  --text-muted: #5c5c5c;
  --text-faint: #8a8a8a;
  --text-on-dark: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --header-bg: rgba(255, 255, 255, 0.97);
  --header-bg-scrolled: rgba(255, 255, 255, 0.99);
  --header-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.04);
  --overlay-backdrop: rgba(0, 0, 0, 0.45);
  --glowy-bg: var(--bg);
  --glowy-bg-muted: var(--bg-muted);
  --grid-line: rgba(0, 0, 0, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.35);
  --bg-elevated-section: var(--bg-muted);
  --focus-card-bg: var(--bg-card);
  --focus-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --focus-card-divider: var(--border);
  --focus-watermark: rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.1);
  --card-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --accent-surface: var(--bg-muted);
  --accent-surface-strong: #ebebed;
  --brand-glow: rgba(35, 143, 153, 0.25);
  --body-glow-accent: transparent;
  --marquee-bg: var(--bg-muted);
  --surface-border: var(--border);
  --surface-inset: rgba(0, 0, 0, 0.03);
  --surface-focus: var(--brand-soft);
  --menu-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  --map-control-bg: #fff;
  --map-attribution-bg: rgba(255, 255, 255, 0.95);
  --btn-submit-bg: var(--bg-dark);
  --btn-submit-text: #fff;
  --btn-submit-hover: var(--brand);
  --marker-border: #fff;
  --hero-image-overlay: rgba(0, 0, 0, 0.62);
  --media-bg: #e8e8ec;
  --input-placeholder: var(--text-faint);
  --header-height: 60px;
  --header-top: 0.875rem;
  --header-max: min(980px, calc(100vw - 1.5rem));
  --header-safe-area: calc(var(--header-height) + var(--header-top) + 0.7rem);
  --header-switch-w: 4rem;
  --header-switch-h: 2rem;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-sans: "Inter Tight", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-smooth: 0.4s;
  --duration-fast: 0.22s;
  --layout-max: 1320px;
  --layout-width: min(var(--layout-max), calc(100vw - 2.5rem));
  --grid-gap: 1.75rem;
  --section-pad: clamp(4rem, 8vw, 6.5rem);
  --btn-dark: #0a0a0a;
  --btn-dark-hover: #1a1a1a;
}

[data-theme="dark"] {
  color-scheme: dark;
  --brand-soft: rgba(35, 143, 153, 0.18);
  --bg: #141414;
  --bg-elevated: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-muted: #181818;
  --bg-dark: #161616;
  --bg-elevated-section: #181818;
  --text: #f5f5f5;
  --text-muted: #b0b0b0;
  --text-faint: #7a7a7a;
  --text-on-dark: #ffffff;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(22, 22, 22, 0.97);
  --header-bg-scrolled: rgba(18, 18, 18, 0.99);
  --header-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.22);
  --overlay-backdrop: rgba(0, 0, 0, 0.58);
  --glowy-bg: #141414;
  --glowy-bg-muted: #181818;
  --grid-line: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(30, 30, 30, 0.65);
  --glass-border: rgba(255, 255, 255, 0.14);
  --focus-card-bg: #1e1e1e;
  --focus-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  --focus-card-divider: var(--border);
  --focus-watermark: rgba(255, 255, 255, 0.05);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.35);
  --card-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.22);
  --accent-surface: rgba(255, 255, 255, 0.08);
  --accent-surface-strong: rgba(255, 255, 255, 0.12);
  --brand-glow: rgba(35, 143, 153, 0.35);
  --body-glow-accent: rgba(35, 143, 153, 0.08);
  --marquee-bg: rgba(255, 255, 255, 0.04);
  --surface-border: var(--border);
  --surface-inset: rgba(255, 255, 255, 0.05);
  --surface-focus: var(--brand-soft);
  --menu-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  --map-control-bg: #1e1e1e;
  --map-attribution-bg: rgba(20, 20, 20, 0.95);
  --btn-submit-bg: #f5f5f5;
  --btn-submit-text: #0a0a0a;
  --btn-submit-hover: var(--brand);
  --marker-border: #1e1e1e;
  --hero-image-overlay: rgba(0, 0, 0, 0.68);
  --media-bg: #222222;
  --input-placeholder: #7a7a7a;
  --btn-dark: #f5f5f5;
  --btn-dark-hover: #ffffff;
}

body::before {
  display: none;
}

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.01em;
  scroll-padding-top: var(--header-safe-area);
  transition:
    background-color var(--duration-smooth) var(--ease-smooth),
    color var(--duration-smooth) var(--ease-smooth);
}

/* Theme switch – crossfade via View Transitions API (+ overlay fallback) */
html.is-theme-switching,
html.is-theme-switching * {
  transition: none !important;
}

html.is-theme-switching .header,
html.is-theme-switching main,
html.is-theme-switching .footer {
  view-transition-name: none;
}

html.is-theme-switching::view-transition-old(root),
html.is-theme-switching::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: var(--ease-smooth);
}

html.is-theme-switching::view-transition-old(root) {
  animation-name: themeSwitchFadeOut;
}

html.is-theme-switching::view-transition-new(root) {
  animation-name: themeSwitchFadeIn;
}

@keyframes themeSwitchFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes themeSwitchFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.theme-switch-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.2s var(--ease-smooth);
}

.theme-switch-overlay.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html.is-theme-switching::view-transition-old(root),
  html.is-theme-switching::view-transition-new(root) {
    animation: none !important;
  }

  .theme-switch-overlay {
    display: none !important;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--header-switch-w);
  height: var(--header-switch-h);
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition:
    background-color 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth);
}

html[data-theme="dark"] .theme-toggle {
  background: #09090b;
  border-color: #27272a;
}

html[data-theme="light"] .theme-toggle {
  background: #ffffff;
  border-color: #e4e4e7;
}

.theme-toggle:hover {
  border-color: rgba(35, 143, 153, 0.45);
  box-shadow: 0 0 0 3px rgba(35, 143, 153, 0.12);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.theme-toggle__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.theme-toggle__knob,
.theme-toggle__ghost {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth);
}

.theme-toggle__knob {
  z-index: 1;
}

html[data-theme="dark"] .theme-toggle__knob {
  transform: translateX(0);
  background: #27272a;
}

html[data-theme="light"] .theme-toggle__knob {
  transform: translateX(2rem);
  background: #e5e7eb;
}

html[data-theme="dark"] .theme-toggle__ghost {
  transform: translateX(0);
  background: transparent;
}

html[data-theme="light"] .theme-toggle__ghost {
  transform: translateX(-2rem);
  background: transparent;
}

.theme-toggle__knob .theme-toggle__glyph,
.theme-toggle__ghost .theme-toggle__glyph {
  grid-area: 1 / 1;
  width: 1rem;
  height: 1rem;
  transition: opacity 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth);
}

html[data-theme="dark"] .theme-toggle__knob .theme-toggle__glyph--moon {
  opacity: 1;
  color: #ffffff;
}

html[data-theme="dark"] .theme-toggle__knob .theme-toggle__glyph--sun {
  opacity: 0;
}

html[data-theme="light"] .theme-toggle__knob .theme-toggle__glyph--sun {
  opacity: 1;
  color: #374151;
}

html[data-theme="light"] .theme-toggle__knob .theme-toggle__glyph--moon {
  opacity: 0;
}

html[data-theme="dark"] .theme-toggle__ghost .theme-toggle__glyph--sun {
  opacity: 1;
  color: #6b7280;
}

html[data-theme="dark"] .theme-toggle__ghost .theme-toggle__glyph--moon {
  opacity: 0;
}

html[data-theme="light"] .theme-toggle__ghost .theme-toggle__glyph--moon {
  opacity: 1;
  color: #0a0a0a;
}

html[data-theme="light"] .theme-toggle__ghost .theme-toggle__glyph--sun {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle__knob,
  .theme-toggle__ghost,
  .theme-toggle__knob .theme-toggle__glyph,
  .theme-toggle__ghost .theme-toggle__glyph {
    transition: none;
  }
}

[data-theme="dark"] .lc-split--alt,
[data-theme="dark"] .lc-news {
  background: var(--bg-muted);
}

[data-theme="dark"] .lc-metric-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .lc-metric-card:hover {
  box-shadow: var(--card-shadow-soft);
}

[data-theme="dark"] .media-placeholder {
  background: var(--media-bg);
  border-color: var(--border-strong);
}

[data-theme="dark"] .service-spotlight {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .service-process__line {
  background: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .service-process__step span {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .service-process__step span::before {
  background: var(--bg);
}

[data-theme="dark"] .service-process__step em {
  color: var(--text-muted);
}

h1, h2, h3, h4,
.section__title,
.page-hero__title,
.about-hero__title,
.footer__brand {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  color: var(--text);
}

/* ── Header (compact floating pill) ── */
.header {
  top: var(--header-top);
  width: 100%;
  max-width: none;
  padding: 0 0.875rem;
  pointer-events: none;
}

.header:has(.lang-switch.is-open),
.header.header--lang-open {
  z-index: 1400;
}

body.menu-open .header {
  z-index: 1501;
}

.header__inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: var(--header-max);
  margin-inline: auto;
  padding: 0.42rem 0.5rem 0.42rem 0.8rem;
  min-height: var(--header-height);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
  transition:
    background var(--duration-smooth) var(--ease-smooth),
    border-color var(--duration-smooth) var(--ease-smooth),
    box-shadow var(--duration-smooth) var(--ease-smooth);
}

body.is-scrolling .header__inner {
  transition-duration: 0.01ms;
}

.header--scrolled .header__inner {
  background: var(--header-bg-scrolled);
  border-color: var(--border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 28px rgba(0, 0, 0, 0.08);
}

.header__logo {
  display: flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
  text-decoration: none;
  padding-right: 0.2rem;
}

.header__logo img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 0.4rem;
  padding: 0.14rem;
  margin-inline: 0.1rem;
  background: rgba(0, 0, 0, 0.03);
  border: none;
  border-radius: var(--radius-pill);
}

[data-theme="dark"] .nav {
  background: rgba(255, 255, 255, 0.04);
}

.nav__link {
  font-size: 0.84375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: transparent !important;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth);
}

.nav__link::after {
  display: none;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55) !important;
}

[data-theme="dark"] .nav__link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav__link--active {
  color: var(--text) !important;
  background: var(--bg-card) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.4rem;
  flex-shrink: 0;
  padding-left: 0.1rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  pointer-events: auto;
  transition:
    background var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth);
}

.menu-toggle:hover {
  background: var(--accent-surface);
  border-color: var(--border-strong);
}

.header__actions .theme-toggle {
  align-self: center;
}

.header__cta {
  font-size: 0.84375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-pill);
  background: var(--btn-dark);
  color: var(--text-on-dark);
  box-shadow: none;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
}

[data-theme="dark"] .header__cta {
  color: #0a0a0a;
}

.header__cta:hover {
  background: var(--btn-dark-hover);
  transform: translateY(-1px);
}

.lang-switch {
  position: relative;
  flex-shrink: 0;
}

.lang-switch.is-open {
  z-index: 1400;
}

.lang-switch__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: var(--header-switch-w);
  height: var(--header-switch-h);
  min-width: var(--header-switch-w);
  padding: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth);
}

.lang-switch__trigger:hover,
.lang-switch.is-open .lang-switch__trigger {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--accent-surface);
}

.lang-switch__value {
  line-height: 1;
}

.lang-switch__chevron {
  flex-shrink: 0;
  opacity: 0.72;
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.lang-switch.is-open .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 1400;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--menu-shadow);
}

.lang-switch__menu[hidden] {
  display: none;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth);
}

.lang-switch__option:hover {
  color: var(--text);
  background: var(--accent-surface);
}

.lang-switch__option.is-active {
  color: var(--text);
  background: var(--accent-surface);
  font-weight: 600;
}

/* ── Buttons ── */
.btn {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary,
.btn--dark {
  background: var(--btn-dark);
  color: var(--text-on-dark);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .btn--primary,
[data-theme="dark"] .btn--dark {
  color: #0a0a0a;
}

.btn--primary:hover,
.btn--dark:hover {
  background: var(--btn-dark-hover);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn--ghost,
.btn--glass {
  background: var(--glass-bg);
  color: var(--text-on-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  backdrop-filter: none;
}

.btn--ghost:hover {
  border-color: var(--text);
  background: var(--bg-muted);
}

/* ── LC Hero ── */
.lc-hero {
  padding: calc(var(--header-safe-area) + 1.25rem) 0 0;
  background: #ffffff;
}

[data-theme="dark"] .lc-hero {
  background: #141414;
}

/* Hero entrance – home page content stagger */
.lc-hero.is-hero-ready .lc-hero__content > .hero-stagger {
  opacity: 0;
  animation: revealUp 0.5s var(--ease-smooth) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.lc-hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(420px, 58vh, 580px);
  background: #161616;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.lc-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lc-hero__shader {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #101820;
}

.lc-hero__shader canvas,
.lc-hero__shader .lc-hero__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.lc-hero__glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.lc-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.lc-hero__glow--top {
  top: -8%;
  left: 50%;
  width: min(520px, 80%);
  height: min(520px, 55%);
  transform: translateX(-50%);
  background: rgba(35, 143, 153, 0.2);
  filter: blur(80px);
}

.lc-hero__glow--bottom {
  right: -5%;
  bottom: -10%;
  width: min(360px, 55%);
  height: min(360px, 45%);
  background: rgba(35, 143, 153, 0.14);
  filter: blur(70px);
}

.lc-hero__media img,
.lc-hero__media .media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

.lc-hero__media img {
  filter: brightness(0.72) saturate(0.94);
}

.lc-hero__media .media-placeholder {
  background: linear-gradient(135deg, #1a2a2e 0%, #0d1117 50%, #0a0a0a 100%);
}

.lc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.28) 42%,
      rgba(0, 0, 0, 0.46) 100%
    );
  pointer-events: none;
}

.lc-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(520px, 72vh, 680px);
  padding: 3rem 1.5rem 3rem;
  color: var(--text-on-dark);
}

.lc-hero--page .lc-hero__frame,
.lc-hero--page .lc-hero__content {
  min-height: clamp(360px, 48vh, 460px);
}

.lc-hero--page .lc-hero__content {
  padding: 2.5rem 1.5rem 3rem;
}

#services-hero.lc-hero--page .lc-hero__frame,
#services-hero.lc-hero--page .lc-hero__content {
  min-height: clamp(300px, 40vh, 400px);
}

#services-hero.lc-hero--page .lc-hero__content {
  padding: 2rem 1.5rem 2.25rem;
}

#services-hero.lc-hero--page {
  padding-bottom: 2.5rem;
}

.lc-hero--page .lc-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.lc-hero--page .lc-hero__title span {
  color: var(--brand);
}

.lc-hero--page {
  padding-bottom: 3.5rem;
}

.lc-pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.lc-hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin-bottom: 1.25rem;
  color: #fff;
}

.lc-hero__title span {
  color: var(--brand-light, #5ec4cc);
}

.lc-hero__text {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.lc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.lc-hero .btn--dark,
.lc-hero .btn--primary {
  background: #f5f5f5;
  color: #0a0a0a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.lc-hero .btn--dark:hover,
.lc-hero .btn--primary:hover {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.lc-hero .btn--glass {
  background: rgba(30, 30, 30, 0.65);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
}

.lc-hero__showcase {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.lc-hero__showcase::-webkit-scrollbar {
  display: none;
}

.lc-showcase-card {
  flex: 0 0 min(200px, 42vw);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  text-decoration: none;
  color: #fff;
  transition: transform var(--duration-fast), background var(--duration-fast);
}

.lc-showcase-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.lc-showcase-card__img {
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.lc-showcase-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-showcase-card__title {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.95;
}

.lc-showcase-card__meta {
  font-size: 0.625rem;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── LC Section intro ── */
.lc-intro {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.lc-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.lc-section-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

.lc-section-title--left {
  max-width: none;
}

.lc-intro--team {
  background: var(--bg-muted);
}

/* ── About page ── */
.lc-about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-bottom: 1.75rem;
}

.lc-about-value {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-soft);
  transition: box-shadow 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.lc-about-value:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.lc-about-value__index {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.lc-about-value__title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.lc-about-value__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.lc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-tag {
  padding: 0.45rem 0.9rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--accent-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.lc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.lc-team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-soft);
  transition:
    box-shadow var(--duration-fast),
    transform var(--duration-fast),
    border-color var(--duration-fast);
}

.lc-team-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.lc-team-card__visual {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--media-bg);
  border-bottom: 1px solid var(--border);
}

.lc-team-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.lc-team-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.5rem 1.6rem;
}

.lc-team-card__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 0.45rem;
}

.lc-team-card__name {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.3rem;
  color: var(--text);
}

.lc-team-card__qual {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
}

.lc-team-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.lc-team-card__list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.lc-team-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
}

.lc-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.lc-insight-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-soft);
  transition: box-shadow 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.lc-insight-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.lc-insight-card__icon {
  width: 28px;
  height: 28px;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.lc-insight-card__title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.lc-insight-card__lead {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.lc-insight-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

[data-theme="dark"] .lc-about-value,
[data-theme="dark"] .lc-team-card,
[data-theme="dark"] .lc-insight-card,
[data-theme="dark"] .lc-focus-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .lc-about-value:hover,
[data-theme="dark"] .lc-team-card:hover,
[data-theme="dark"] .lc-insight-card:hover,
[data-theme="dark"] .lc-focus-card:hover {
  border-color: var(--border-strong);
}

/* ── Metric cards (2x2) ── */
.lc-metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.lc-metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-soft);
  transition: box-shadow 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.lc-metric-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.lc-metric-card__icon {
  width: 28px;
  height: 28px;
  color: var(--text);
  margin-bottom: 2rem;
  transition: transform 0.45s var(--ease-smooth);
}

.lc-metric-card:hover .lc-metric-card__icon {
  transform: translateY(-2px);
}

.lc-metric-card__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.lc-metric-card__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Split sections (alternating) ── */
.lc-split {
  padding: var(--section-pad) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.lc-split--alt {
  background: var(--bg-muted);
}

.lc-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lc-split--reverse .lc-split__grid {
  direction: rtl;
}

.lc-split--reverse .lc-split__grid > * {
  direction: ltr;
}

.lc-split__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
}

.lc-split__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.lc-split__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.lc-split__text + .lc-split__text {
  margin-top: -0.65rem;
}

.lc-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow-soft);
  min-height: 380px;
}

.lc-split__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.85s var(--ease-smooth);
}

.lc-split__media--team {
  min-height: 0;
  aspect-ratio: 5 / 4;
}

.lc-split__media--team img {
  min-height: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.lc-split__media.reveal:not(.is-revealed) img {
  transform: scale(1.035);
}

.lc-split__media.reveal.is-revealed img {
  transform: scale(1);
}

.lc-split__media .media-placeholder {
  min-height: 380px;
  border-radius: var(--radius-lg);
  border-style: solid;
  background: var(--bg-card);
}

/* ── Focus cards (index Schwerpunkte) ── */
.lc-focus {
  padding: var(--section-pad) 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.lc-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-bottom: 2rem;
}

.lc-focus-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-soft);
  transition: box-shadow 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.lc-focus-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.lc-focus-card__index {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.lc-focus-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--brand);
  flex-shrink: 0;
}

.lc-focus-card__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.65rem;
}

.lc-focus-card__title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.lc-focus-card__text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.lc-focus-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.lc-focus-card__list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.lc-focus-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--brand);
}

.lc-focus__cta {
  display: flex;
  justify-content: flex-start;
}

.lc-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-height: 420px;
}

.lc-gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-soft);
}

.lc-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.lc-gallery__item:first-child {
  grid-row: span 2;
}

/* ── News grid ── */
.lc-news {
  padding: var(--section-pad) 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.lc-news__grid,
.news-grid,
.news-track {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--grid-gap) !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  cursor: default !important;
  padding-bottom: 0 !important;
}

.news-grid__card,
.news-track .news-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  border-left: 1px solid var(--border) !important;
  box-shadow: var(--card-shadow-soft) !important;
  overflow: hidden;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast) !important;
}

.news-grid__card:hover,
.news-track .news-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--card-shadow-hover) !important;
  border-color: var(--border) !important;
  border-left-color: var(--border) !important;
}

.news-grid__image,
.news-card__image {
  border-radius: 0 !important;
  aspect-ratio: 16 / 11 !important;
}

.media-ai-label {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  max-width: calc(100% - 1.3rem);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.techlog-article__cover-frame .media-ai-label {
  left: 0.85rem;
  bottom: 0.85rem;
  font-size: 0.6875rem;
  padding: 0.32rem 0.65rem;
}

.news-grid__body,
.news-card__body {
  padding: 1.35rem 1.5rem 1.5rem !important;
  border-top: none !important;
}

.news-grid__date,
.news-card__date {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.news-grid__title,
.news-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.news-grid__read,
.news-card__read {
  color: var(--text);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* ── CTA band ── */
.lc-cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.lc-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.lc-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: #fff;
}

.lc-cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 48ch;
  line-height: 1.65;
}

.lc-cta .btn--primary {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.lc-cta .btn--primary:hover {
  background: var(--brand);
  color: #fff;
}

/* ── Media placeholder ── */
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  text-align: center;
  background: var(--bg-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.media-placeholder__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.media-placeholder__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Footer ── */
.footer {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

[data-theme="dark"] .footer,
[data-theme="dark"] .footer__tagline,
[data-theme="dark"] .footer__links a,
[data-theme="dark"] .footer__links span {
  color: inherit;
}

.footer__tagline,
.footer__links a,
.footer__links span {
  color: var(--text-muted);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer__legal {
  order: -1;
  width: 100%;
}

.footer__bottom > span {
  color: var(--text-muted);
  opacity: 1;
}

.footer__legal a,
.footer__legal button {
  color: var(--text-faint);
}

.footer__links a:hover,
.footer__legal a:hover {
  color: var(--brand);
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Service spotlight cards ── */
.service-spotlight {
  min-height: 0;
  padding: 1.35rem 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-soft);
}

.service-spotlight::before {
  display: none;
}

.service-spotlight__grid {
  opacity: 0.18;
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 65%);
}

.service-spotlight__glow {
  width: 42%;
  height: 55%;
  top: 0;
  background: radial-gradient(
    ellipse at 100% 0%,
    rgba(35, 143, 153, 0.1) 0%,
    transparent 72%
  );
}

.service-spotlight__stage {
  position: relative;
}

.service-panel:not(.is-active) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.service-panel.is-active {
  position: relative;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 46%);
  gap: 1rem 1.5rem;
  border-left: none !important;
  align-items: stretch;
}

.service-panel__copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  min-height: 100%;
}

.service-panel__body {
  max-width: none;
  flex: 1;
}

.service-panel__body p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.service-panel__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.service-panel__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8125rem;
}

.service-panel__media {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.service-panel__media--viewer {
  min-width: 0;
}

.service-media-viewer {
  display: grid;
  gap: 0.5rem;
}

.service-media-preview {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-muted);
  box-shadow: var(--card-shadow-soft);
  cursor: zoom-in;
  text-align: left;
  transition: border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.service-media-preview:hover,
.service-media-preview:focus-visible {
  border-color: rgba(35, 143, 153, 0.45);
  box-shadow: 0 10px 28px -12px rgba(35, 143, 153, 0.35);
}

.service-media-preview:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.service-media-preview img {
  display: block;
  width: 100%;
  height: clamp(14rem, 28vw, 20rem);
  object-fit: contain;
  object-position: center;
  background: var(--bg-muted);
  transition: transform 0.4s var(--ease-smooth);
}

.service-media-preview:hover img,
.service-media-preview:focus-visible img {
  transform: scale(1.02);
}

.service-media-preview__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease-smooth);
}

.service-media-preview:hover .service-media-preview__shade,
.service-media-preview:focus-visible .service-media-preview__shade {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.22) 100%);
}

.service-media-preview__hint {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  opacity: 0.82;
  transform: scale(1);
  transform-origin: top right;
  transition:
    opacity 0.25s var(--ease-smooth),
    transform 0.28s var(--ease-smooth),
    background-color 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.service-media-preview__hint svg {
  width: 0.95rem;
  height: 0.95rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  transition: transform 0.28s var(--ease-smooth);
}

.service-media-preview:hover .service-media-preview__hint,
.service-media-preview:focus-visible .service-media-preview__hint {
  opacity: 1;
  transform: scale(1.45);
  background: rgba(35, 143, 153, 0.92);
  box-shadow: 0 6px 18px rgba(35, 143, 153, 0.38);
}

.service-media-preview:hover .service-media-preview__hint svg,
.service-media-preview:focus-visible .service-media-preview__hint svg {
  transform: scale(1.08);
}

.service-media-preview__badge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.service-media-preview__badge::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  background:
    radial-gradient(circle at 35% 35%, transparent 38%, currentColor 39% 44%, transparent 45%),
    linear-gradient(currentColor, currentColor) 58% 46% / 36% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 54% 46% / 2px 36% no-repeat;
  opacity: 0.95;
}

.service-media-viewer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.service-media-viewer__arrow {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}

.service-media-viewer__arrow:hover {
  border-color: rgba(35, 143, 153, 0.45);
  color: var(--brand);
}

.service-media-viewer__counter {
  min-width: 3rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.service-media-viewer__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.service-media-viewer__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s var(--ease-smooth);
}

.service-media-viewer__dot.is-active {
  transform: scale(1.2);
  background: var(--brand);
}

.service-panel__media--icon .service-media-preview img {
  height: clamp(8.5rem, 16vw, 10.5rem);
  object-fit: contain;
  background: var(--bg-card);
}

.service-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.service-lightbox[hidden] {
  display: none !important;
}

.service-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.service-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: min(96vw, 68rem);
  max-height: 92vh;
}

.service-lightbox__figure {
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.service-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 4rem);
  width: auto;
  height: auto;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

.service-lightbox__caption {
  max-width: 42rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  line-height: 1.5;
}

.service-lightbox__close,
.service-lightbox__arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}

.service-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
}

.service-lightbox__arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.service-lightbox__close:hover,
.service-lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.service-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: -2rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

body.service-lightbox-open {
  overflow: hidden;
}

.service-panel__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: none;
}

.service-panel__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-panel__watermark {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  justify-self: auto;
  align-self: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

.service-panel__title {
  max-width: none;
  padding-right: 2.75rem;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.3;
}

.service-panel__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-panel__body p + p {
  margin-top: 0.55rem;
}

.service-spotlight__controls {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 0.65rem;
}

.service-spotlight__counter {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.service-spotlight__arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-muted);
}

.service-spotlight__arrow:hover {
  background: var(--accent-surface);
  border-color: var(--border-strong);
  color: var(--text);
  transform: none;
}

/* ── Service process timeline ── */
.lc-hero--page + .service-process,
.service-process {
  padding-top: 2.75rem;
  padding-bottom: 2rem;
}

.service-process__track {
  --process-node: 2.625rem;
  padding-top: 0.5rem;
}

.service-process__line {
  height: 3px;
  background: rgba(0, 0, 0, 0.18);
}

.service-process__line-fill {
  background: linear-gradient(90deg, var(--brand) 0%, rgba(35, 143, 153, 0.65) 100%);
}

.service-process__step span {
  border: 2px solid rgba(0, 0, 0, 0.2);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.service-process__step span::before {
  inset: -5px;
  background: var(--bg);
}

.service-process__step em {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.58);
}

.service-process__step.is-complete span {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-card);
}

.service-process__step.is-active span {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-card);
  transform: scale(1.05);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.service-process__step.is-active em {
  color: var(--text);
  font-weight: 700;
}

/* ── Cookie, page hero, misc ── */
.cookie-banner__panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-hover);
}

[data-theme="dark"] .cookie-banner__panel {
  background: color-mix(in srgb, var(--bg-card) 94%, #000 6%);
}

.page-hero {
  padding: calc(var(--header-safe-area) + 2.5rem) 0 2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  max-width: none;
}

.service-card,
.techlog-entry,
.contact-info,
.contact-form,
.lc-about-value,
.lc-team-card,
.lc-insight-card,
.lc-focus-card {
  border-radius: var(--radius) !important;
  box-shadow: var(--card-shadow-soft) !important;
}

.faq-item {
  border-radius: var(--radius) !important;
}

.skip-link {
  border-radius: var(--radius-sm);
  background: var(--btn-dark);
  color: var(--text-on-dark);
}

.section,
.section-block {
  border-bottom: none;
}

/* Hide legacy structured blocks if present */
.hero-structured,
.hero-studio__rule,
.glowy-hero__canvas,
.glowy-hero__glows,
.section-block__index,
.capability-grid .capability-card__index {
  /* capability grid replaced by lc-split on index */
}

.about-hero__ambient,
.about-hero__grid,
.about-hero__glow {
  display: none !important;
}

.about-hero__title-line {
  display: block;
}

.about-hero__title-line--accent {
  color: var(--brand);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lc-metrics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .lc-about-values,
  .lc-insight-grid,
  .lc-focus-grid {
    grid-template-columns: 1fr;
  }

  .lc-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lc-split__grid {
    grid-template-columns: 1fr;
  }

  .lc-split--reverse .lc-split__grid {
    direction: ltr;
  }

  .lc-news__grid,
  .news-grid,
  .news-track {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-top: 0.65rem;
    --header-height: 54px;
    --header-max: none;
    --header-safe-area: calc(var(--header-height) + var(--header-top) + 0.5rem);
  }

  .header {
    padding: 0 0.65rem;
  }

  .header__inner {
    display: flex;
    width: auto;
    max-width: none;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0.4rem 0.35rem 0.65rem;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__wordmark {
    font-size: 0.9375rem;
  }

  .lc-metrics__grid {
    grid-template-columns: 1fr;
  }

  .lc-team-grid {
    grid-template-columns: 1fr;
  }

  .lc-about-values,
  .lc-news__grid,
  .news-grid,
  .news-track {
    grid-template-columns: 1fr !important;
  }

  .lc-gallery {
    grid-template-columns: 1fr;
  }

  .lc-gallery__item:first-child {
    grid-row: span 1;
  }

  .lc-hero__showcase {
    flex-direction: column;
  }

  .lc-showcase-card {
    flex: 1 1 auto;
  }

  .nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .service-spotlight {
    padding: 1.25rem 1.25rem 1rem;
  }

  .service-panel {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-media-preview img {
    height: clamp(13rem, 42vw, 16rem);
  }

  .service-lightbox__panel {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0.5rem;
    width: min(96vw, 40rem);
  }

  .service-lightbox__arrow--prev,
  .service-lightbox__arrow--next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .service-lightbox__arrow--prev {
    left: 0.35rem;
  }

  .service-lightbox__arrow--next {
    right: 0.35rem;
  }

  .service-lightbox__figure {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .service-panel__watermark {
    justify-self: start;
  }

  .service-panel__body {
    max-width: none;
  }

  .lc-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}
