@font-face {
  font-family: Geist;
  src: url("/assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf8f3;
  --ink: #272a25;
  --wordmark-charcoal: #39382f;
  --wordmark-olive: #586244;
  --muted: #555a50;
  --green: #414e38;
  --dark-green: #303a31;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { position: relative; isolation: isolate; margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 Geist, Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), 62rem); margin-inline: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  display: flex;
  min-height: 4.15rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.swiss-quality {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: clamp(0.65rem, 1.3vw, 0.75rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.languages { display: flex; flex-shrink: 0; align-items: center; gap: 0.15rem; }
.languages a {
  display: grid;
  min-width: 2rem;
  min-height: 2rem;
  place-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  text-decoration: none;
}
.languages a:hover { color: var(--ink); }
.languages a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }

.hero { text-align: center; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: clamp(20rem, 38vw, 35rem);
  overflow: hidden;
  opacity: 0.78;
  pointer-events: none;
  mask-image: linear-gradient(black 52%, transparent 100%);
}
.hero-art img {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: max(102%, 43rem);
  height: auto;
  /* Align the summit in the image with the center of the wordmark. */
  transform: translateX(-50.73%);
}
.hero-inner { padding-block: clamp(7.6rem, 13vw, 12rem) clamp(2.65rem, 6vw, 4.7rem); }
.wordmark {
  width: min(100%, clamp(13.5rem, 33vw, 21rem));
  margin: 0 auto;
}
.wordmark-shapes {
  position: relative;
  display: block;
  aspect-ratio: 1102 / 320;
}
.wordmark-shapes::before,
.wordmark-shapes::after,
.wordmark-shapes span {
  position: absolute;
  inset: 0;
}
.wordmark-shapes::before, .wordmark-shapes::after {
  content: "";
  background: var(--wordmark-charcoal);
}
.wordmark-shapes::before {
  clip-path: polygon(0.54% 98.13%, 19.42% 3.44%, 19.87% 2.19%, 20.69% 1.88%, 21.32% 2.81%, 21.78% 4.69%, 39.47% 98.13%, 31.49% 98.13%, 20.33% 36.88%, 9.07% 98.13%);
}
.wordmark-shapes span {
  background: var(--wordmark-olive);
  clip-path: polygon(30.94% 1.88%, 39.56% 1.88%, 50.00% 66.25%, 60.44% 1.88%, 69.06% 1.88%, 53.18% 98.13%, 46.82% 98.13%);
}
.wordmark-shapes::after {
  clip-path: polygon(59.89% 98.13%, 78.58% 3.44%, 79.04% 2.19%, 79.85% 1.88%, 80.49% 2.81%, 80.94% 4.69%, 99.46% 98.13%, 90.93% 98.13%, 79.40% 36.88%, 68.60% 98.13%);
}
.wordmark-solutions {
  display: block;
  margin-top: 0.7rem;
  padding-left: 0.36em;
  color: var(--wordmark-charcoal);
  font-size: clamp(0.84rem, 1.6vw, 1.12rem);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: 0.36em;
}
.swiss-flag {
  position: relative;
  flex: none;
  width: clamp(0.9rem, 1.5vw, 1.2rem);
  aspect-ratio: 1;
  background: #d52b1e;
}
.swiss-flag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  clip-path: polygon(40.625% 18.75%, 59.375% 18.75%, 59.375% 40.625%, 81.25% 40.625%, 81.25% 59.375%, 59.375% 59.375%, 59.375% 81.25%, 40.625% 81.25%, 40.625% 59.375%, 18.75% 59.375%, 18.75% 40.625%, 40.625% 40.625%);
}
.slogan {
  max-width: 29ch;
  margin: 1.4rem auto 0;
  color: var(--wordmark-olive);
  font-size: clamp(1.35rem, 2.65vw, 2rem);
  font-weight: 570;
  line-height: 1.13;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.25rem, 6vw, 5rem); }
.overview-panel h2 { text-align: center; color: var(--wordmark-charcoal); font-size: clamp(1.22rem, 2.4vw, 1.65rem); font-weight: 650; letter-spacing: -0.035em; }
.overview-panel h3 { margin-top: 0.65rem; font-size: 1rem; font-weight: 650; }
.overview-panel p {
  margin-top: 0.65rem;
  color: var(--muted);
  text-align: justify;
  hyphens: auto;
}

.development { padding-block: clamp(2.4rem, 5vw, 4rem); text-align: center; }
.development h2 {
  max-width: 36ch;
  margin-inline: auto;
  color: var(--green);
  font-size: clamp(1.35rem, 2.7vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.22;
  text-wrap: balance;
}

.development p { margin-top: 0.55rem; color: var(--muted); }

.contact { padding-block: clamp(2.1rem, 4.5vw, 3.25rem); background: var(--dark-green); color: white; }
.contact :focus-visible { outline-color: white; }
.contact h2 { text-align: center; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 650; letter-spacing: -0.035em; text-wrap: balance; }
.contact-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.55rem;
  font-style: normal;
  text-align: center;
}
.contact-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.35rem 0.55rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-links a + a { border-left: 1px solid #ffffff4d; }
.contact-country, .contact-email-icon, .contact-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.contact-country, .contact-email-icon {
  min-height: 1.05rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
}
.contact-value { max-width: 100%; overflow-wrap: anywhere; }
.contact-links a:hover .contact-value > span {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.contact-icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-country .swiss-flag { width: 0.95rem; }
.spanish-flag {
  flex: none;
  width: 1.4rem;
  aspect-ratio: 3 / 2;
  background: linear-gradient(#aa151b 25%, #f1bf00 25% 75%, #aa151b 75%);
}

@media (max-width: 40rem) {
  .site-header { min-height: 3.7rem; }
  .overview, .contact-links { grid-template-columns: 1fr; }
  .contact-links a { padding-block: 0.72rem; }
  .contact-links a + a { border-left: 0; border-top: 1px solid #ffffff4d; }
}
