:root {
  --surface-raised: rgb(255 255 255 / 92%);
  --surface-soft: rgb(251 250 247 / 86%);
  --header-bg: rgb(255 255 255 / 90%);
  --shadow-card: 0 1px 0 rgb(18 17 15 / 8%), 0 10px 24px rgb(18 17 15 / 7%), 0 26px 56px rgb(18 17 15 / 4%);
  --shadow-card-hover: 0 2px 0 rgb(18 17 15 / 8%), 0 16px 32px rgb(18 17 15 / 10%), 0 36px 72px rgb(18 17 15 / 7%);
  --shadow-panel: 0 1px 0 rgb(18 17 15 / 10%), 0 18px 40px rgb(18 17 15 / 11%), 0 44px 88px rgb(18 17 15 / 7%);
  --shadow-header: 0 8px 28px rgb(18 17 15 / 9%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-theme="swiss-dark"] {
  --surface-raised: rgb(23 22 19 / 94%);
  --surface-soft: rgb(17 16 14 / 88%);
  --header-bg: rgb(17 16 14 / 90%);
  --shadow-card: 0 0 0 1px rgb(243 239 230 / 4%), 0 16px 34px rgb(0 0 0 / 38%), 0 0 28px rgb(199 50 32 / 4%);
  --shadow-card-hover: 0 0 0 1px rgb(243 239 230 / 8%), 0 22px 46px rgb(0 0 0 / 52%), 0 0 38px rgb(199 50 32 / 8%);
  --shadow-panel: 0 0 0 1px rgb(243 239 230 / 7%), 0 24px 58px rgb(0 0 0 / 56%), 0 0 46px rgb(199 50 32 / 7%);
  --shadow-header: 0 12px 36px rgb(0 0 0 / 48%), 0 1px 0 rgb(243 239 230 / 5%);
}
html[data-theme="institutional-light"] {
  --surface-raised: rgb(255 248 233 / 94%);
  --surface-soft: rgb(245 236 219 / 88%);
  --header-bg: rgb(255 248 233 / 91%);
  --shadow-card: 0 1px 0 rgb(90 13 13 / 10%), 0 12px 28px rgb(74 13 13 / 9%), 0 28px 62px rgb(154 116 41 / 8%);
  --shadow-card-hover: 0 2px 0 rgb(90 13 13 / 12%), 0 18px 38px rgb(74 13 13 / 14%), 0 40px 78px rgb(154 116 41 / 12%);
  --shadow-panel: 0 1px 0 rgb(90 13 13 / 13%), 0 22px 48px rgb(74 13 13 / 16%), 0 48px 92px rgb(154 116 41 / 11%);
  --shadow-header: 0 9px 32px rgb(74 13 13 / 13%);
}
html[data-theme="institutional-dark"] {
  --surface-raised: rgb(36 16 14 / 95%);
  --surface-soft: rgb(23 9 8 / 90%);
  --header-bg: rgb(23 9 8 / 92%);
  --shadow-card: 0 0 0 1px rgb(226 189 104 / 8%), 0 18px 40px rgb(0 0 0 / 48%), 0 0 34px rgb(140 34 32 / 8%);
  --shadow-card-hover: 0 0 0 1px rgb(226 189 104 / 16%), 0 25px 54px rgb(0 0 0 / 62%), 0 0 46px rgb(140 34 32 / 14%);
  --shadow-panel: 0 0 0 1px rgb(226 189 104 / 14%), 0 28px 64px rgb(0 0 0 / 68%), 0 0 56px rgb(140 34 32 / 13%);
  --shadow-header: 0 14px 42px rgb(0 0 0 / 58%), 0 1px 0 rgb(226 189 104 / 10%);
}
html,
body {
  min-height: 100%;
}
body {
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  z-index: 190;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.025;
  mix-blend-mode: multiply;
}
html[data-theme="swiss-dark"] body::before,
html[data-theme="institutional-dark"] body::before {
  opacity: 0.035;
  mix-blend-mode: screen;
}
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(115%);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 240ms var(--ease-out);
}
.site-header.is-condensed {
  box-shadow: var(--shadow-header);
}
.site-nav {
  transition: min-height 240ms var(--ease-out), padding 240ms var(--ease-out);
}
.site-header.is-condensed .site-nav {
  min-height: 56px;
}
.brand-link,
.brand-link__mark {
  transition: color 200ms ease, transform 240ms var(--ease-out), width 240ms var(--ease-out), height 240ms var(--ease-out);
}
.site-header.is-condensed .brand-link__mark {
  width: 25px;
  height: 25px;
}
.site-header.is-condensed .brand-link {
  transform: translateY(-1px);
}
.mobile-nav__panel {
  box-shadow: var(--shadow-panel);
  transition: top 240ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease;
}
.site-header.is-condensed .mobile-nav__panel {
  top: 57px;
}
.theme-switcher {
  box-shadow: var(--shadow-card);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 240ms var(--ease-out);
}
.theme-option,
.theme-swatch {
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 220ms var(--ease-out), transform 180ms var(--ease-out);
}
.header-action,
.hero-action,
.closing__action,
.button-link {
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 240ms var(--ease-out), transform 180ms var(--ease-out);
}
.hero-action > :last-child,
.closing__action > :last-child,
.button-link > :last-child {
  transition: transform 220ms var(--ease-out);
}
.theme-option:active .theme-swatch {
  transform: scale(0.78);
}
.site-field {
  overflow: clip;
}
.paper-grid {
  inset: -36px;
  width: calc(100% + 72px);
  height: calc(100% + 72px);
  opacity: 0.72;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}
html[data-theme="swiss-dark"] .paper-grid,
html[data-theme="institutional-dark"] .paper-grid {
  opacity: 0.64;
}
html[data-motion="ready"] [data-parallax]:not(.paper-grid) {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}
.facility-panel__media,
.proof li,
.service-row,
.topic-card,
.info-card,
.detail-panel,
.metrics-grid li,
.coverage-field,
.coverage-point,
.work-card,
.contact-card,
.page-hero__art {
  background: var(--surface-raised);
  box-shadow: var(--shadow-card);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.facility-panel__media {
  box-shadow: var(--shadow-panel);
}
.facility-panel {
  position: relative;
  z-index: 2;
}
.scroll-progress {
  position: fixed;
  z-index: 220;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: var(--red);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}
html[data-motion="ready"] [data-scroll-shift] {
  translate: 0 var(--scroll-y, 0);
  will-change: translate;
}
html[data-motion="ready"] [data-reactive] {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--reactive-lift, 0));
  transform-style: preserve-3d;
}
.facility-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--red);
  opacity: 0.42;
  transition: transform 300ms var(--ease-out), opacity 300ms ease;
}
.proof__list {
  gap: var(--space-3);
  padding-block: var(--space-10);
}
.proof li,
.proof li:first-child,
.proof li:last-child {
  padding: var(--space-8);
  border: 1px solid var(--line);
}
.service-list {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink);
}
.service-row,
.service-row:last-child {
  padding: var(--space-8);
  border: 1px solid var(--line);
}
.diagram-signals,
.registration-slash {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 320ms var(--ease-out);
}
.nav-link,
.footer-column a,
.brand-link,
.inline-link,
.contact-card a {
  position: relative;
  text-decoration: none;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  text-decoration: none;
}
.nav-link::after,
.footer-column a::after,
.brand-link::after,
.inline-link::after,
.contact-card a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 240ms var(--ease-out);
}
.brand-link::after {
  left: 44px;
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}
.mobile-nav summary {
  transition: color 180ms ease, background-color 180ms ease, box-shadow 220ms ease, transform 160ms var(--ease-out);
}
a,
button,
summary,
[data-panel] {
  -webkit-tap-highlight-color: transparent;
}
a:active,
button:active,
summary:active,
[data-panel]:active {
  transform: translateY(1px) scale(0.99);
}
.reveal-item {
  transition: opacity 300ms ease var(--reveal-delay, 0ms), transform 380ms var(--ease-out) var(--reveal-delay, 0ms);
}
.reveal-item.is-pending {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
html[data-motion="ready"] .red-rule {
  animation: rule-draw 400ms var(--ease-out) 90ms both;
}
@keyframes rule-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 300ms;
  animation-timing-function: ease;
}
::view-transition-old(root) {
  animation-name: theme-fade-out;
}
::view-transition-new(root) {
  animation-name: theme-fade-in;
}
@keyframes theme-fade-out {
  to { opacity: 0; }
}
@keyframes theme-fade-in {
  from { opacity: 0; }
}
html.theme-fallback-transition body,
html.theme-fallback-transition .site-header,
html.theme-fallback-transition .facility-panel__media,
html.theme-fallback-transition .proof li,
html.theme-fallback-transition .service-row,
html.theme-fallback-transition .theme-switcher,
html.theme-fallback-transition .theme-option,
html.theme-fallback-transition .theme-swatch {
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
@media (hover: hover) {
  .nav-link:hover::after,
  .nav-link:focus-visible::after,
  .footer-column a:hover::after,
  .footer-column a:focus-visible::after,
  .brand-link:hover::after,
  .brand-link:focus-visible::after,
  .inline-link:hover::after,
  .inline-link:focus-visible::after,
  .contact-card a:hover::after,
  .contact-card a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
  .brand-link:hover .brand-link__mark {
    transform: translateY(-2px) rotate(-3deg);
  }
  .theme-option:hover .theme-swatch,
  .theme-option:focus-visible .theme-swatch {
    box-shadow: 0 0 0 2px var(--raised), 0 0 0 4px var(--red);
    transform: scale(1.18);
  }
  .header-action:hover,
  .header-action:focus-visible,
  .hero-action:hover,
  .hero-action:focus-visible,
  .closing__action:hover,
  .closing__action:focus-visible,
  .button-link:hover,
  .button-link:focus-visible {
    border-color: var(--red);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
  }
  .hero-action:hover > :last-child,
  .closing__action:hover > :last-child,
  .button-link:hover > :last-child {
    transform: translateX(5px);
  }
  .facility-panel:hover .facility-panel__media,
  .proof li:hover,
  .service-row:hover,
  .topic-card:hover,
  .info-card:hover,
  .detail-panel:hover,
  .metrics-grid li:hover,
  .coverage-point:hover,
  .work-card:hover,
  .contact-card:hover,
  .page-hero__art:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
  }
  [data-reactive]:hover {
    --reactive-lift: -4px;
  }
  .facility-panel:hover::before {
    opacity: 0.7;
    transform: translate(4px, 4px);
  }
  .facility-panel:hover .diagram-signals {
    transform: scale(1.08);
  }
  .facility-panel:hover .registration-slash {
    transform: rotate(17deg) translateY(-5px);
  }
  .mobile-nav summary:hover {
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow-card);
    transform: translateY(-1px);
  }
}
@media (hover: none) {
  .topic-card:active,
  .info-card:active,
  .detail-panel:active,
  .metrics-grid li:active,
  .work-card:active,
  .contact-card:active,
  .service-row:active {
    border-color: var(--red);
    box-shadow: var(--shadow-card-hover);
  }
}
@media (max-width: 720px) {
  .proof__list {
    gap: var(--space-3);
    padding-block: var(--space-8);
  }
  .proof li,
  .proof li:first-child,
  .proof li:last-child {
    padding: var(--space-6);
    border: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .service-row,
  .service-row:last-child {
    padding: var(--space-5) var(--space-4);
  }
  .facility-panel::before {
    inset: 9px -7px -9px 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html *,
  html *::before,
  html *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-item,
  .reveal-item.is-pending,
  .reveal-item.is-visible,
  html[data-motion="ready"] [data-parallax],
  html[data-motion="ready"] [data-reactive],
  html[data-motion="ready"] [data-scroll-shift] {
    opacity: 1;
    transform: none;
    translate: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
