:root {
  --brand: #238f99;
  --brand-light: #2eb3bf;
  --brand-dark: #1a737c;
  --brand-glow: rgba(35, 143, 153, 0.28);
  --accent-trust: #0369a1;
  --bg: #0b1016;
  --bg-elevated: #121a22;
  --bg-card: #151e27;
  --text: #eef2f6;
  --text-muted: #8b9aad;
  --border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(11, 16, 22, 0.82);
  --header-bg-scrolled: rgba(11, 16, 22, 0.94);
  --header-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-inset: rgba(0, 0, 0, 0.25);
  --surface-focus: rgba(35, 143, 153, 0.08);
  --input-placeholder: rgba(139, 154, 173, 0.7);
  --overlay-backdrop: rgba(0, 0, 0, 0.6);
  --menu-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --map-control-bg: #151e27;
  --map-attribution-bg: rgba(11, 16, 22, 0.9);
  --btn-submit-bg: var(--brand);
  --btn-submit-text: #ffffff;
  --btn-submit-hover: var(--brand-light);
  --marker-border: #eef2f6;
  --glowy-bg: #0b1016;
  --glowy-bg-muted: #121a22;
  --grid-line: rgba(255, 255, 255, 0.04);
  --glass-bg: rgba(11, 16, 22, 0.75);
  --hero-image-overlay: rgba(11, 16, 22, 0.85);
  --focus-card-bg: #151e27;
  --focus-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --focus-card-divider: rgba(255, 255, 255, 0.08);
  --focus-watermark: rgba(35, 143, 153, 0.06);
  --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.35);
  --card-shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.2);
  --media-bg: #0e141b;
  --body-glow-accent: rgba(3, 105, 161, 0.06);
  --marquee-bg: rgba(35, 143, 153, 0.04);
  --accent-surface: rgba(35, 143, 153, 0.1);
  --accent-surface-strong: rgba(35, 143, 153, 0.16);
  --header-height: 68px;
  --header-top: 0;
  --header-safe-area: var(--header-height);
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --duration-smooth: 0.28s;
  --duration-fast: 0.18s;
  --layout-max: 1240px;
  --layout-width: min(var(--layout-max), calc(100vw - 2.5rem));
}

[data-theme="light"] {
  --brand-glow: rgba(35, 143, 153, 0.2);
  --bg: #f5f7f9;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.12);
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-bg-scrolled: rgba(255, 255, 255, 0.96);
  --header-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  --surface-border: rgba(15, 23, 42, 0.1);
  --surface-inset: rgba(35, 143, 153, 0.04);
  --surface-focus: rgba(35, 143, 153, 0.08);
  --input-placeholder: rgba(71, 85, 105, 0.7);
  --overlay-backdrop: rgba(15, 23, 42, 0.4);
  --menu-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
  --map-control-bg: #ffffff;
  --map-attribution-bg: rgba(255, 255, 255, 0.94);
  --btn-submit-bg: var(--brand);
  --btn-submit-text: #ffffff;
  --btn-submit-hover: var(--brand-light);
  --marker-border: #ffffff;
  --glowy-bg: #f5f7f9;
  --glowy-bg-muted: #eef2f6;
  --grid-line: rgba(15, 23, 42, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --hero-image-overlay: rgba(245, 247, 249, 0.88);
  --focus-card-bg: #ffffff;
  --focus-card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --focus-card-divider: rgba(15, 23, 42, 0.08);
  --focus-watermark: rgba(35, 143, 153, 0.08);
  --card-shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.1);
  --card-shadow-soft: 0 2px 12px rgba(15, 23, 42, 0.06);
  --media-bg: #e8edf2;
  --body-glow-accent: rgba(35, 143, 153, 0.05);
  --marquee-bg: rgba(35, 143, 153, 0.05);
  --accent-surface: rgba(35, 143, 153, 0.08);
  --accent-surface-strong: rgba(35, 143, 153, 0.12);
}

html {
  color-scheme: dark;
}

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

.service-card,
.service-panel,
.service-spotlight,
.news-card,
.faq-item,
.techlog-entry,
.contact-info,
.contact-form,
.mobile-menu__panel,
.techlog-article__list li,
.overview__highlight,
.techlog-article__quote {
  transition: background-color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth),
    box-shadow 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-safe-area) + 1rem);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(ellipse 70% 40% at 0% 0%, var(--body-glow-accent), transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 100%, var(--brand-glow), transparent 55%);
  background-size: 64px 64px, 64px 64px, auto, auto;
  pointer-events: none;
  z-index: -1;
  transition: background 0.4s var(--ease-smooth);
  opacity: 0.85;
}

h1,
h2,
h3,
h4,
.page-hero__title,
.section__title,
.news-card__title,
.service-card__title,
.techlog-entry__title,
.contact-info__title,
.contact-map__title,
.faq-item__question,
.techlog-article__section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: var(--layout-width);
  max-width: 100%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Page transitions – content-only cross-fade; header stays persistent */
@view-transition {
  navigation: auto;
}

.header {
  view-transition-name: site-header;
}

main {
  view-transition-name: page-main;
}

.footer {
  view-transition-name: page-footer;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}

::view-transition-group(site-header) {
  animation-duration: 0ms;
  z-index: 10000;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
  mix-blend-mode: normal;
  height: auto;
  width: auto;
  overflow: visible;
}

::view-transition-old(page-main),
::view-transition-new(page-main),
::view-transition-old(page-footer),
::view-transition-new(page-footer) {
  animation-duration: 0.42s;
  animation-timing-function: var(--ease-smooth);
}

::view-transition-old(page-main),
::view-transition-old(page-footer) {
  animation-name: pageViewExit;
}

::view-transition-new(page-main),
::view-transition-new(page-footer) {
  animation-name: pageViewEnter;
}

@keyframes pageViewExit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes pageViewEnter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

main,
.footer {
  transition:
    opacity 0.34s var(--ease-smooth),
    transform 0.34s var(--ease-smooth);
}

html.page-transition-pending .header {
  opacity: 1 !important;
  visibility: visible !important;
}

html.page-transition-pending main,
html.page-transition-pending .footer {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

body.is-page-exiting main,
body.is-page-exiting .footer {
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  pointer-events: none;
}

body.is-page-entering main,
body.is-page-entering .footer {
  animation: pageEnter 0.52s var(--ease-smooth) 0.05s both;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }

  html.page-transition-pending main,
  html.page-transition-pending .footer,
  body.is-page-exiting main,
  body.is-page-exiting .footer,
  body.is-page-entering main,
  body.is-page-entering .footer,
  main,
  .footer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Industrial Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  z-index: 1000;
  transform: none;
  transition: transform 0.45s var(--ease-smooth);
}

@media (prefers-reduced-motion: no-preference) {
  html.header-enter-once body:not(.page-legal).is-motion-ready .header:not(.header--hidden) {
    animation: headerEnter 0.55s var(--ease-smooth) both;
  }

  body.is-page-exiting .header,
  body.is-page-entering .header {
    animation: none !important;
    opacity: 1 !important;
  }
}

@keyframes headerEnter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding: 0 1.5rem;
  min-height: var(--header-height);
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: var(--header-shadow);
  background-color: var(--header-bg);
  transition: background-color 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

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

.header--scrolled .header__inner {
  background-color: var(--header-bg-scrolled);
}

.header__logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.header__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  justify-self: center;
  grid-column: 2;
}

.nav__link {
  position: relative;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease-smooth);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
  background: var(--accent-surface);
}

.nav__link--active {
  color: var(--brand);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  justify-self: end;
  grid-column: 3;
}

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

.header__cta {
  padding: 0.55rem 1.125rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth),
    color var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    box-shadow var(--duration-fast) var(--ease-smooth);
}

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

.btn:active {
  transform: translateY(0);
  transition-duration: 0.08s;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

.btn--primary:hover {
  background: var(--brand-light);
  box-shadow: 0 4px 16px var(--brand-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: var(--accent-surface);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.menu-toggle__lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.menu-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
}

html:not(.has-gsap) .menu-toggle__line {
  transition: transform 0.38s var(--ease-smooth), opacity 0.28s var(--ease-smooth);
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
}

.mobile-menu--open {
  display: block;
  pointer-events: auto;
}

.mobile-menu--css .mobile-menu__backdrop,
.mobile-menu--css .mobile-menu__panel,
.mobile-menu--css .mobile-menu__link {
  transition: opacity 0.42s var(--ease-smooth), transform 0.42s var(--ease-smooth);
}

.mobile-menu--css .mobile-menu__backdrop {
  transition-duration: 0.38s;
}

.mobile-menu--css .mobile-menu__panel {
  transform: translateY(10px) scale(0.96);
  transition-duration: 0.5s;
}

.mobile-menu--css .mobile-menu__link {
  opacity: 0;
  transform: translateX(-12px);
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__panel {
  opacity: 1;
  transform: none;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__link {
  opacity: 1;
  transform: none;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__link:nth-child(1) {
  transition-delay: 0.14s;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__link:nth-child(2) {
  transition-delay: 0.19s;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__link:nth-child(3) {
  transition-delay: 0.24s;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__link:nth-child(4) {
  transition-delay: 0.29s;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__link:nth-child(5) {
  transition-delay: 0.34s;
}

.mobile-menu--css.mobile-menu--css-visible .mobile-menu__link:nth-child(6) {
  transition-delay: 0.39s;
}

html:not(.has-gsap) .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

html:not(.has-gsap) .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

html:not(.has-gsap) .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: var(--overlay-backdrop);
  backdrop-filter: blur(4px);
  opacity: 0;
  cursor: pointer;
}

.mobile-menu__panel {
  position: absolute;
  top: calc(var(--header-safe-area) + 0.5rem);
  right: max(1rem, calc((100vw - min(1100px, calc(100% - 2rem))) / 2 + 1rem));
  width: min(300px, calc(100vw - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--menu-shadow);
  overflow: hidden;
  opacity: 0;
  transform-origin: top right;
}

.mobile-menu__divider {
  height: 1px;
  background: var(--border);
  margin: 0 0.75rem;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.75rem 0.75rem;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--duration-smooth) var(--ease-smooth),
    color var(--duration-smooth) var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.mobile-menu__link:active {
  transform: scale(0.98);
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  background: rgba(35, 143, 153, 0.1);
  color: var(--text);
}

.mobile-menu__link--active {
  color: var(--brand-light);
}

.mobile-menu__link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.mobile-menu__link:hover .mobile-menu__link-icon,
.mobile-menu__link--active .mobile-menu__link-icon {
  color: var(--brand-light);
}

.mobile-menu__link--cta {
  margin-top: 0.35rem;
  justify-content: center;
  gap: 0.625rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
}

.mobile-menu__link--cta .mobile-menu__link-icon {
  color: #fff;
}

.mobile-menu__link--cta:hover,
.mobile-menu__link--cta.mobile-menu__link--active {
  background: var(--brand-light);
  box-shadow: 0 0 20px var(--brand-glow);
  color: #fff;
  transform: translateY(-2px);
}

.mobile-menu__link--cta:hover .mobile-menu__link-icon,
.mobile-menu__link--cta.mobile-menu__link--active .mobile-menu__link-icon {
  color: #fff;
}

body.menu-open {
  overflow: hidden;
}

/* Editorial Hero */


















/* Sections */
.section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.page-hero + .section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.section + .section {
  padding-top: 3.5rem;
}

.section__header {
  margin-bottom: 3.5rem;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.875rem;
}

.section__label::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--brand);
}

.section__title {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section__subtitle {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}


/* News carousel */
.news-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1rem;
  cursor: grab;
}

.section:has(.news-track) .section__header {
  text-align: left;
}

.news-section__cta {
  margin-top: 2rem;
  text-align: center;
}

@media (min-width: 1162px) {
  .news-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 340px));
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
    cursor: default;
  }
}

.news-track::-webkit-scrollbar {
  display: none;
}

.news-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.news-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

@media (min-width: 1162px) {
  .news-card {
    flex: unset;
    width: 100%;
  }
}

.news-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--brand);
  box-shadow: var(--card-shadow-hover);
}

.news-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-elevated);
}

.news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s var(--ease-smooth);
}

.news-card:nth-child(1) .news-card__image img {
  object-position: center 45%;
}

.news-card:nth-child(2) .news-card__image img {
  object-position: 50% 68%;
  transform: scale(1.55);
  transform-origin: 50% 68%;
}

.news-card:nth-child(3) .news-card__image img {
  object-position: center 35%;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card:nth-child(2):hover .news-card__image img {
  transform: scale(1.65);
}

.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* TechLog page, full entries */
.techlog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.techlog-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  align-items: stretch;
  min-height: clamp(240px, 28vw, 300px);
  border-radius: var(--radius);
  overflow: hidden;
}

.techlog-entry.service-card {
  padding: 0;
}

.techlog-entry__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--bg-elevated);
}

.techlog-entry__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.techlog-entry:nth-child(1) .techlog-entry__media img {
  object-position: center 45%;
}

.techlog-entry:nth-child(2) .techlog-entry__media img {
  object-position: 50% 68%;
  transform: scale(1.45);
  transform-origin: 50% 68%;
}

.techlog-entry:nth-child(3) .techlog-entry__media img {
  object-position: center 35%;
}

.techlog-entry__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 2rem;
  min-height: 0;
}

.techlog-entry__body .news-card__date {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.techlog-entry__title {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.techlog-entry__body .news-card__excerpt {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.techlog-entry--reverse .techlog-entry__media {
  order: 2;
}

.techlog-entry--reverse .techlog-entry__body {
  order: 1;
}

a.techlog-entry,
a.news-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.techlog-entry:hover,
a.news-card:hover {
  border-color: rgba(35, 143, 153, 0.35);
}

.techlog-entry__read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-light);
}

a.techlog-entry:hover .techlog-entry__read,
a.news-card:hover .news-card__read {
  color: var(--brand);
}

/* TechLog article detail */
.techlog-article-page {
  background: var(--bg);
}

.techlog-article__header {
  padding: calc(var(--header-safe-area) + 2rem) 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.techlog-article__nav {
  margin-bottom: 1.25rem;
}

.techlog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-smooth) var(--ease-smooth);
}

.techlog-article__back:hover {
  color: var(--brand-light);
}

.techlog-article__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.techlog-article__category {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-surface);
  border: 1px solid rgba(35, 143, 153, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.techlog-article__date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.techlog-article__title {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.techlog-article__lead {
  max-width: 46rem;
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-muted);
}

.techlog-article__cover {
  margin: 0;
  padding: 2rem 0 0;
}

.techlog-article__cover-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
  box-shadow: var(--card-shadow-soft);
}

.techlog-article__cover-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.techlog-article__cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.techlog-article__cover-image--db {
  object-position: center 45%;
}

.techlog-article__cover-image--saege {
  object-position: 50% 68%;
  transform: scale(1.08);
  transform-origin: 50% 68%;
}

.techlog-article__cover-image--office {
  object-position: center 35%;
}

.techlog-article__cover-image--team {
  object-position: center 42%;
}

.techlog-article__body-wrap {
  padding: 2.5rem 0 3.5rem;
}

.techlog-article__body-grid {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.techlog-article__aside {
  position: sticky;
  top: calc(var(--header-safe-area) + 1rem);
}

.techlog-article__facts {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow-soft);
}

.techlog-article__fact + .techlog-article__fact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.techlog-article__fact dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.techlog-article__fact dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.techlog-article__content {
  display: grid;
  gap: 2rem;
  max-width: 46rem;
}

.techlog-article__intro {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.techlog-article__section {
  display: grid;
  gap: 1rem;
}

.techlog-article__section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-light);
  margin: 0;
}

.techlog-article__section p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.techlog-article__list {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.techlog-article__list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
  box-shadow: var(--card-shadow-soft);
}

.techlog-article__list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--accent-surface);
}

.techlog-article__quote {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(35, 143, 153, 0.22);
  background: linear-gradient(135deg, var(--accent-surface), transparent);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 2.2vw, 1.2rem);
  font-style: italic;
  line-height: 1.6;
}

.techlog-article__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--card-shadow-soft);
}

.techlog-article__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.techlog-article__figure figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.techlog-article__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--media-bg);
  box-shadow: var(--card-shadow-soft);
}

.techlog-article__video {
  display: block;
  width: 100%;
  background: var(--media-bg);
}

.techlog-article__footer {
  padding: 0 0 3.5rem;
}

.techlog-article__footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .techlog-article__body-grid {
    grid-template-columns: 1fr;
  }

  .techlog-article__aside {
    position: static;
  }

  .techlog-article__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .techlog-article__fact + .techlog-article__fact {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

@media (max-width: 640px) {
  .techlog-article__header {
    padding-top: calc(var(--header-safe-area) + 1.25rem);
  }

  .techlog-article__title {
    max-width: none;
  }

  .techlog-article__cover {
    padding-top: 1.25rem;
  }

  .techlog-article__body-wrap {
    padding: 1.75rem 0 2.5rem;
  }

  .techlog-article__facts {
    grid-template-columns: 1fr;
  }

  .techlog-article__fact + .techlog-article__fact {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
  }

  .techlog-article__footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .techlog-article__footer-inner .btn {
    justify-content: center;
  }
}

.news-card__read {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-light);
}

a.news-card .news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
































/* Overview split */
.overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.overview__text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.overview__text p:last-child {
  margin-bottom: 0;
}

.overview__text--center {
  text-align: center;
}

.overview__highlight {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  position: relative;
}

.overview__highlight::before {
  content: "\201C";
  position: absolute;
  top: 0.25rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--brand);
  opacity: 0.2;
  line-height: 1;
}

.overview__highlight p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

/* About page */
@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}



































































@media (prefers-reduced-motion: reduce) {

}


[data-theme="light"] .about-cast__badge {
  background: rgba(255, 255, 255, 0.88);
}






/* Service card (techlog reuse) */
.service-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.55s var(--ease-smooth), border-color 0.55s var(--ease-smooth);
  position: relative;
}

/* Services page – process timeline */
.service-process {
  padding-top: 2.75rem;
  padding-bottom: 1.5rem;
}

.service-process__track {
  --process-node: 2.25rem;
  position: relative;
}

.service-process__line {
  position: absolute;
  top: calc(var(--process-node) / 2 + 0.35rem);
  left: 0;
  width: 0;
  height: 3px;
  transform: translateY(-50%);
  background: var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.service-process__line-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-smooth);
  will-change: auto;
}

.service-process__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.service-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.35s var(--ease-smooth);
}

.service-process__step span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--process-node);
  height: var(--process-node);
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--bg-card);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  isolation: isolate;
  transition: border-color 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth),
    background-color 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

.service-process__step span::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: var(--bg);
  z-index: -1;
}

.service-process__step em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color 0.35s var(--ease-smooth);
}

.service-process__step.is-complete span,
.service-process__step.is-active span {
  border-color: rgba(35, 143, 153, 0.45);
  color: var(--brand);
  background: var(--bg);
}

.service-process__step.is-active span {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px var(--accent-surface);
}

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

/* Services page – explorer */
.service-explorer {
  padding-top: 1rem;
}

.service-explorer__intro {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.75rem;
}

.service-explorer__intro p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.service-explorer__layout {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  min-width: 0;
}

.service-nav {
  position: sticky;
  top: calc(var(--header-safe-area) + 1.5rem);
}

.service-nav__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  border-radius: 999px;
}

.service-nav__indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2.5rem;
  background: var(--brand);
  border-radius: 999px;
  transition: transform 0.45s var(--ease-smooth), height 0.45s var(--ease-smooth);
}

.service-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.service-nav__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: none;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.35s var(--ease-smooth), background-color 0.35s var(--ease-smooth);
}

.service-nav__item:hover {
  color: var(--text);
  background: var(--accent-surface);
}

.service-nav__item.is-active {
  color: var(--text);
  background: var(--accent-surface-strong);
}

.service-nav__index {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}

.service-nav__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

.service-spotlight {
  position: relative;
  min-height: 22rem;
  padding: 2rem;
  background: var(--focus-card-bg);
  border: 1px solid rgba(35, 143, 153, 0.2);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow:
    var(--focus-card-shadow),
    20px -8px 48px -10px rgba(35, 143, 153, 0.18);
}

.service-spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(35, 143, 153, 0.35) 45%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.service-spotlight__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.service-spotlight__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(160deg, black 15%, transparent 70%);
  opacity: 0.55;
}

.service-spotlight__glow {
  position: absolute;
  top: -12%;
  right: 0;
  width: 58%;
  height: 78%;
  background: radial-gradient(
    ellipse 95% 85% at 100% 8%,
    rgba(35, 143, 153, 0.24) 0%,
    rgba(35, 143, 153, 0.1) 38%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.service-spotlight__stage {
  display: grid;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.service-panel {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.service-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translateY(0);
}

.service-panel__watermark {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  font-size: clamp(4.5rem, 11vw, 7.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--focus-watermark);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.service-panel__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  border: 1px solid rgba(35, 143, 153, 0.28);
  background: linear-gradient(145deg, rgba(35, 143, 153, 0.18), rgba(35, 143, 153, 0.06));
  color: var(--brand-light);
  box-shadow: var(--card-shadow-soft);
}

.service-panel__icon svg {
  width: 100%;
  height: 100%;
}

.service-panel__title {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  padding-right: 4.5rem;
}

.service-panel__body {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.service-panel__body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

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

.service-spotlight__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.service-spotlight__counter {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  min-width: 3.5rem;
  text-align: center;
}

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

.service-spotlight__arrow:hover {
  border-color: rgba(35, 143, 153, 0.4);
  color: var(--brand);
  transform: translateY(-1px);
}

.page-hero--compact {
  padding-bottom: 0.5rem;
}

.page-hero--compact .page-hero__text {
  max-width: 36rem;
}

@media (max-width: 900px) {
  .service-explorer {
    padding-top: 0.5rem;
  }

  .service-explorer__intro {
    margin-bottom: 1.75rem;
    padding-inline: 0.25rem;
  }

  .service-explorer__intro p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .service-explorer__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
    min-width: 0;
  }

  .service-nav {
    position: static;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .service-nav__rail {
    display: none;
  }

  .service-nav__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0;
    padding: 0.15rem 0 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .service-nav__list::-webkit-scrollbar {
    display: none;
  }

  .service-nav__list li {
    flex: 0 0 auto;
    min-width: 0;
  }

  .service-nav__item {
    flex-shrink: 0;
    max-width: 14rem;
    white-space: nowrap;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
  }

  .service-nav__index {
    display: none;
  }

  .service-spotlight {
    min-height: 0;
    width: 100%;
    min-width: 0;
    padding: 1.25rem;
    overflow: hidden;
  }

  .service-panel {
    min-width: 0;
    width: 100%;
  }

  .service-panel__watermark {
    font-size: clamp(2.5rem, 18vw, 4rem);
    top: 0;
    right: 0;
  }

  .service-panel__title {
    max-width: 100%;
    padding-right: 0;
    font-size: 1.2rem;
    line-height: 1.35;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .service-panel__body {
    max-width: 100%;
  }

  .service-panel__body p {
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .service-spotlight__controls {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .service-process__steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.25rem;
  }

  .service-process__line {
    display: none;
  }
}

@media (max-width: 640px) {
  .service-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .service-nav__list li {
    flex: initial;
    width: 100%;
  }

  .service-nav__item {
    width: 100%;
    max-width: none;
    white-space: normal;
    justify-content: center;
    text-align: center;
    min-height: 2.75rem;
    padding: 0.6rem 0.65rem;
  }

  .service-nav__label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .service-spotlight {
    padding: 1.125rem;
  }

  .service-panel__title {
    font-size: 1.1rem;
  }

  .service-panel__body p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .service-panel__watermark {
    display: none;
  }
}

@media (max-width: 640px) {
  .service-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 1.5rem;
  width: 100%;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-cta {
  margin-top: 3.5rem;
  text-align: center;
}

.faq-cta__text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.faq-item {
  width: 100%;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    var(--card-shadow-soft),
    inset 0 0 0 1px var(--border);
  transition: box-shadow 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.faq-item:hover,
.faq-item--open,
.faq-item:focus-within {
  box-shadow:
    var(--card-shadow-soft),
    inset 0 0 0 1px var(--brand);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 0.45s var(--ease-smooth);
}

.faq-item--open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-smooth);
}

.faq-item--open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(35, 143, 153, 0.1);
  padding-top: 1rem;
  margin-top: 0;
}

.faq-item__answer ul {
  list-style: none;
}

.faq-item__answer li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.faq-item__answer li::before {
  content: "–";
  color: var(--brand);
  flex-shrink: 0;
}

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

.page-hero__title {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0.875rem;
  max-width: 20ch;
}

.page-hero__text {
  color: var(--text-muted);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 42rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
  padding: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
}

.contact-info__intro {
  padding-bottom: 0.25rem;
}

.contact-info__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-info__subtitle {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-info__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--surface-inset);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--duration-smooth) var(--ease-smooth),
    background var(--duration-smooth) var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

a.contact-info__card:hover {
  border-color: rgba(35, 143, 153, 0.35);
  background: rgba(35, 143, 153, 0.08);
  transform: translateY(-1px);
}

.contact-info__card--static {
  cursor: default;
}

.contact-info__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(35, 143, 153, 0.12);
  border: 1px solid rgba(35, 143, 153, 0.2);
  color: var(--brand-light);
}

.contact-info__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding-top: 0.125rem;
}

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

.contact-info__value {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

a.contact-info__card:hover .contact-info__value {
  color: var(--brand-light);
}

.contact-info__address {
  font-style: normal;
}

.contact-map-section {
  padding-top: 0;
}

.contact-map {
  max-width: 100%;
  text-align: center;
}

.contact-map__header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.contact-map__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.contact-map__address {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-map__frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--surface-border);
  background: var(--bg);
  min-height: 380px;
}

.contact-map__canvas {
  width: 100%;
  height: 380px;
  z-index: 1;
}

.contact-map__canvas.leaflet-container {
  background: var(--bg);
  font-family: var(--font-sans);
}

.contact-map__canvas .leaflet-control-zoom a {
  background: var(--map-control-bg);
  color: var(--text);
  border-color: var(--surface-border);
  transition: background var(--duration-smooth) var(--ease-smooth),
    color var(--duration-smooth) var(--ease-smooth);
}

.contact-map__canvas .leaflet-control-zoom a:hover {
  background: rgba(35, 143, 153, 0.15);
  color: var(--brand-light);
}

.contact-map__canvas .leaflet-control-attribution {
  background: var(--map-attribution-bg);
  color: var(--text-muted);
  font-size: 0.625rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px 0 0 0;
}

.contact-map__canvas .leaflet-control-attribution a {
  color: var(--brand-light);
}

.contact-map__canvas .leaflet-popup-content-wrapper {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--menu-shadow);
}

.contact-map__canvas .leaflet-popup-tip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: none;
}

.contact-map__popup {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.contact-map__popup strong {
  color: var(--brand-light);
  font-size: 0.9375rem;
}

.contact-map__marker {
  background: none;
  border: none;
}

.contact-map__marker-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 7px;
  background: var(--brand);
  border: 3px solid var(--marker-border);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(35, 143, 153, 0.22);
}

.contact-map__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 2rem;
  color: var(--text-muted);
  text-align: center;
}

.contact-map__fallback a {
  color: var(--brand-light);
}

.contact-map__link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-light);
  transition: color var(--duration-smooth) var(--ease-smooth);
}

.contact-map__link:hover {
  color: var(--text);
}

.contact-form {
  padding: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-row .form-group {
  margin-bottom: 0;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--surface-inset);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--duration-smooth) var(--ease-smooth),
    background var(--duration-smooth) var(--ease-smooth);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--input-placeholder);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: rgba(35, 143, 153, 0.45);
  background: var(--surface-focus);
}

.contact-form .form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--btn-submit-bg);
  color: var(--btn-submit-text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--duration-smooth) var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.contact-form__submit:hover {
  background: var(--btn-submit-hover);
  transform: translateY(-2px);
}

.contact-form__submit:active {
  transform: scale(0.99);
}

/* Footer */
.footer {
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 0;
  background: var(--bg-elevated);
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__brand img {
  width: 32px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.footer__links a,
.footer__links span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__links a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  padding-block: 0.35rem;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

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

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 1;
  position: relative;
  pointer-events: none;
}

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

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  pointer-events: none;
  order: -1;
  width: 100%;
}

.footer__legal a,
.footer__legal button {
  color: var(--text-muted);
  transition: color 0.2s;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  padding-block: 0.35rem;
  -webkit-tap-highlight-color: transparent;
  transform: none;
}

.footer__legal button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: none;
}

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

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-smooth) var(--ease-smooth);
}

.legal-page__back:hover {
  color: var(--brand-light);
}

/* Cookie banner */
.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  top: calc(var(--header-height, 72px) + 1rem);
  left: 1rem;
  right: 1rem;
  bottom: auto;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s var(--ease-smooth);
}

.cookie-banner--visible {
  opacity: 1;
}

.cookie-banner--settings {
  inset: 0;
  top: 0;
  align-items: flex-end;
  padding: 1rem;
  z-index: 1300;
}

.cookie-banner__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(8, 14, 18, 0.42);
  backdrop-filter: blur(4px);
  cursor: default;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s var(--ease-smooth);
}

.cookie-banner--settings .cookie-banner__backdrop {
  pointer-events: auto;
  opacity: 1;
}

[data-theme="light"] .cookie-banner__backdrop {
  background: rgba(15, 23, 42, 0.28);
}

.cookie-banner__panel {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(720px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 1.35rem 1.5rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--menu-shadow),
    inset 0 0 0 1px var(--border);
  transform: translateY(1.25rem);
  transition: transform 0.36s var(--ease-smooth), width 0.36s var(--ease-smooth);
}

.cookie-banner--visible .cookie-banner__panel {
  transform: translateY(0);
}

.cookie-banner--settings .cookie-banner__panel {
  width: min(820px, 100%);
}

.cookie-banner__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth);
}

.cookie-banner__close:hover {
  color: var(--text);
  border-color: rgba(35, 143, 153, 0.35);
  background: var(--accent-surface);
}

.cookie-banner__view--notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}

.cookie-banner__badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: var(--accent-surface);
  color: var(--brand);
  border: 1px solid rgba(35, 143, 153, 0.18);
}

.cookie-banner__body {
  min-width: 0;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.cookie-banner__text a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--brand);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.cookie-banner__actions--notice {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.cookie-banner__actions--settings {
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.cookie-banner__btn {
  padding: 0.7rem 1.15rem !important;
  font-size: 0.8125rem !important;
  white-space: nowrap;
}

.cookie-banner__settings-head {
  padding-right: 2.5rem;
  margin-bottom: 1rem;
}

.cookie-banner__categories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-category {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.cookie-category--required {
  background: linear-gradient(135deg, var(--accent-surface), transparent);
}

.cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.cookie-category__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.cookie-category__text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle--locked {
  cursor: default;
}

.cookie-toggle__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.cookie-toggle__track {
  position: relative;
  width: 2.65rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background 0.24s var(--ease-smooth);
}

.cookie-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s var(--ease-smooth);
}

.cookie-toggle__input:checked + .cookie-toggle__track {
  background: var(--brand);
}

.cookie-toggle__input:checked + .cookie-toggle__track .cookie-toggle__thumb {
  transform: translateX(1.15rem);
}

.cookie-toggle__input:focus-visible + .cookie-toggle__track {
  outline: 2px solid rgba(35, 143, 153, 0.45);
  outline-offset: 2px;
}

.cookie-toggle--locked .cookie-toggle__track {
  background: rgba(35, 143, 153, 0.35);
}

.cookie-toggle--locked .cookie-toggle__thumb {
  transform: translateX(1.15rem);
}

.cookie-toggle__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

body.cookie-banner-open--modal {
  overflow: hidden;
}

.contact-map__consent-btn {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-smooth) var(--ease-smooth),
    border-color var(--duration-smooth) var(--ease-smooth),
    transform var(--duration-smooth) var(--ease-smooth);
}

.contact-map__consent-btn:hover {
  border-color: rgba(35, 143, 153, 0.35);
  background: var(--accent-surface-strong);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .cookie-banner {
    align-items: flex-end;
    padding: 0.75rem;
  }

  .cookie-banner__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius);
  }

  .cookie-banner__view--notice {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .cookie-banner__actions--notice,
  .cookie-banner__actions--settings {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1 1 calc(50% - 0.35rem);
    justify-content: center;
  }

  .cookie-banner__actions--notice .cookie-banner__btn:last-child,
  .cookie-banner__actions--settings .cookie-banner__btn:last-child {
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .cookie-category__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__btn {
    flex: 1 1 100%;
  }
}

/* Legal pages */
.legal-content {
  width: 100%;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-content h3:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content p strong {
  color: var(--text);
  font-weight: 500;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-content a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--brand);
}

.legal-content em {
  color: var(--text-muted);
}

/* Reveal – subtle scroll motion (professional, low amplitude) */
@keyframes revealFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes revealUpSubtle {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translate3d(12px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.reveal:not(.is-revealed):not(.reveal--left):not(.reveal--right):not(.lc-hero__frame) {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

.reveal--left:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
}

.reveal--right:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(12px, 0, 0);
}

.reveal.is-revealed:not(.reveal--left):not(.reveal--right) {
  animation: revealUpSubtle 0.48s var(--ease-smooth) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.reveal--left.is-revealed {
  animation: revealLeft 0.52s var(--ease-smooth) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.reveal--right.is-revealed {
  animation: revealRight 0.52s var(--ease-smooth) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.lc-hero.is-hero-ready .reveal.is-revealed:not(.reveal--left):not(.reveal--right),
.page-hero.is-hero-ready .reveal.is-revealed:not(.reveal--left):not(.reveal--right) {
  animation: revealUp 0.5s var(--ease-smooth) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.lc-hero__frame.reveal,
.lc-hero__frame.reveal:not(.is-revealed),
.lc-hero__frame.reveal.is-revealed,
.lc-hero__frame {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Hero copy stays visible until motion init; entrance runs via is-hero-ready */
.lc-hero .reveal:not(.is-revealed),
.page-hero .reveal:not(.is-revealed) {
  opacity: 1;
  transform: none;
}

.lc-hero.is-hero-ready .reveal:not(.is-revealed),
.page-hero.is-hero-ready .reveal:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.lc-about-values.reveal:not(.is-revealed) .lc-about-value,
.lc-tags.reveal:not(.is-revealed) .lc-tag,
.lc-metrics__grid.reveal:not(.is-revealed) .lc-metric-card,
.lc-team-grid.reveal:not(.is-revealed) .lc-team-card,
.lc-focus-grid.reveal:not(.is-revealed) .lc-focus-card,
.lc-insight-grid.reveal:not(.is-revealed) .lc-insight-card,
.news-track:not(.is-revealed) .news-card,
.faq-list:not(.is-revealed) .faq-item,
.service-process__track.reveal:not(.is-revealed) .service-process__step span,
.footer:not(.is-revealed) .footer__brand,
.footer:not(.is-revealed) .footer__grid > div {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.lc-about-values.reveal.is-revealed .lc-about-value,
.lc-tags.reveal.is-revealed .lc-tag,
.lc-metrics__grid.reveal.is-revealed .lc-metric-card,
.lc-team-grid.reveal.is-revealed .lc-team-card,
.lc-focus-grid.reveal.is-revealed .lc-focus-card,
.lc-insight-grid.reveal.is-revealed .lc-insight-card,
.news-track.is-revealed .news-card,
.faq-list.is-revealed .faq-item,
.service-process__track.reveal.is-revealed .service-process__step span,
.footer.is-revealed .footer__brand,
.footer.is-revealed .footer__grid > div,
.lc-about-value.is-revealed,
.lc-tag.is-revealed,
.lc-metric-card.is-revealed,
.lc-team-card.is-revealed,
.lc-focus-card.is-revealed,
.lc-insight-card.is-revealed,
.news-card.is-revealed,
.faq-item.is-revealed {
  animation: revealUpSubtle 0.44s var(--ease-smooth) both;
  animation-delay: var(--reveal-delay, 0ms);
}


/* Responsive */
@media (max-width: 900px) {
  :root {
    --header-top: 0.875rem;
    --header-height: 64px;
  }


  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .overview {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .faq-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }








  .section__header {
    margin-bottom: 2rem;
  }









  .hero__visual {
    order: -1;
    max-width: 400px;
    margin-inline: auto;
  }

  .stats__grid,
  .pillars,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 3rem 0 1.75rem;
    margin-top: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .techlog-entry,
  .techlog-entry--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    row-gap: 1rem;
  }

  .techlog-entry__media,
  .techlog-entry__body {
    order: unset;
  }

  .techlog-list {
    width: 100%;
  }

  .techlog-entry__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .techlog-entry__body {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .news-track {
    padding-inline: 0.125rem;
  }

  .overview__highlight {
    padding: 1.5rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.75rem;
  }

  .page-hero--compact {
    padding-bottom: 1rem;
  }

  .page-hero--compact + .section.service-process,
  .service-process {
    padding-top: 1rem;
    padding-bottom: 1.75rem;
  }

  .service-explorer {
    padding-top: 1.25rem;
  }

  .service-nav__list {
    padding: 0.35rem 0 0.75rem;
  }

  .faq-cta {
    margin-top: 2.5rem;
  }

  .header {
    max-width: var(--layout-width);
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
  }

  .header__logo img {
    width: 36px;
    height: 36px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .header__actions {
    margin-left: auto;
    margin-right: 0;
    gap: 0.5rem;
  }





  .page-hero {
    padding: calc(var(--header-safe-area) + 1.75rem) 0 1.25rem;
  }

  .page-hero + .section {
    padding-top: 1.75rem;
    padding-bottom: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section + .section {
    padding-top: 1.75rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.5rem 0;
  }

  .section + .section {
    padding-top: 1.5rem;
  }

  .section__header {
    margin-bottom: 1.5rem;
  }

  .page-hero {
    padding: calc(var(--header-safe-area) + 1.5rem) 0 1rem;
  }

  .page-hero + .section {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }










  .contact-grid {
    gap: 1.25rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.25rem;
  }

  .contact-map__frame {
    height: 300px;
  }

  .faq-item__trigger {
    padding: 1rem 1.125rem;
    font-size: 0.9rem;
  }

  .faq-cta {
    margin-top: 2rem;
  }

  .overview {
    gap: 1.5rem;
  }

  .overview__highlight {
    padding: 1.25rem;
  }

  .news-track {
    gap: 1.125rem;
    padding-inline: 0.25rem;
  }

  .news-section__cta {
    margin-top: 1.5rem;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 2.5rem;
  }

  .footer__bottom {
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  .footer__legal {
    gap: 0.75rem 1rem;
  }

  .service-process__steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .contact-form .form-row .form-group {
    margin-bottom: 1.5rem;
  }

  .cookie-banner {
    padding: 0.75rem;
  }
}
/* Performance + lightweight pages – no scroll reveal on legal pages */
.page-legal .reveal:not(.is-revealed):not(.reveal--left):not(.reveal--right):not(.lc-hero__frame),
.page-legal .reveal--left:not(.is-revealed),
.page-legal .reveal--right:not(.is-revealed),
.page-legal .page-hero .reveal:not(.is-revealed),
.page-legal .page-hero.is-hero-ready .reveal:not(.is-revealed) {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
}


@media (max-width: 900px) {
  .header__inner {
    -webkit-backdrop-filter: blur(20px) saturate(1.7);
    backdrop-filter: blur(20px) saturate(1.7);
  }

  .header--scrolled .header__inner {
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    backdrop-filter: blur(24px) saturate(1.8);
  }


  .service-card:hover,
  .news-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.page-legal) .header {
    animation: none !important;
  }

  .nav__link::after {
    transform: none !important;
    transition: none !important;
  }

  .lc-split__media img {
    transform: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal--left,
  .reveal--right,
  .hero-stagger,
  .lc-about-value,
  .lc-tag,
  .lc-metric-card,
  .lc-team-card,
  .lc-focus-card,
  .lc-insight-card,
  .news-card,
  .faq-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* === UI/UX Pro Max Redesign v58 === */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.625rem 1rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.service-card,
.service-panel,
.techlog-entry,
.faq-item,
.contact-info,
.contact-form,

.service-card,
.techlog-entry,
.contact-info {
  border-left: 3px solid transparent;
  transition:
    background-color 0.4s var(--ease-smooth),
    border-color 0.4s var(--ease-smooth),
    color 0.4s var(--ease-smooth),
    border-left-color var(--duration-fast) var(--ease-smooth),
    box-shadow var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
}

.contact-form {
  border-left: 3px solid transparent;
  transition:
    background-color 0.4s var(--ease-smooth),
    border-color 0.4s var(--ease-smooth),
    color 0.4s var(--ease-smooth),
    border-left-color var(--duration-fast) var(--ease-smooth),
    box-shadow var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
}

.service-card:hover,
.techlog-entry:hover,
a.contact-info__card:hover {
  border-left-color: var(--brand);
}

.faq-item__question {
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-info,
.contact-form,
.contact-map__frame {
  border-radius: var(--radius) !important;
}

.contact-map__consent-btn {
  border-radius: var(--radius) !important;
}

.mobile-menu__link--cta {
  border-radius: var(--radius) !important;
}

.techlog-article__quote {
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  font-family: var(--font-display);
}

.page-legal .legal-content h2,
.page-legal .legal-content h3 {
  font-family: var(--font-display);
}

.service-spotlight__card {
  border-left: 3px solid var(--brand);
}

.news-section__cta {
  text-align: left;
}


@media (max-width: 900px) {


  .page-hero__title {
    max-width: none;
  }
}

@media (max-width: 640px) {


}
