@font-face {
  font-family: "Parabole Display";
  src: url("assets/fonts/Parabole-DisplayRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("assets/fonts/Sohne-Buch.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("assets/fonts/Sohne-Kraftig.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("assets/fonts/Sohne-Halbfett.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2f3042;
  --blue: #a8c2ed;
  --ice: #deedf8;
  --line: rgba(47, 48, 66, 0.22);
  --shell: min(91vw, 2020px);
  --bs-body-font-family: "Sohne", Arial, sans-serif;
  --bs-body-font-weight: 400;
  --bs-body-line-height: normal;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--ice);
  --bs-link-color: inherit;
  --bs-link-hover-color: inherit;
}

html {
  scroll-behavior: smooth;
}

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

a:hover {
  color: inherit;
}

h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
  font-weight: inherit;
  line-height: inherit;
}

.shell {
  padding: 0 105px;
}

.font-urana {
  font-family: "Parabole Display", "Sohne", Arial, sans-serif;
}

/* Hero */

.hero {
  min-height: 100svh;
  background: #10121e url("assets/hero.jpg") center / cover no-repeat;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 28, 0.05), rgba(11, 14, 28, 0.25));
  pointer-events: none;
}

.navbar {
    padding: 50px 0 0 0;
    margin: 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    z-index: 3;
}

.brand,
.navbar-brand {
  font-size: 30px;
  padding: 0;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.navbar-nav {
  --bs-nav-link-padding-x: 0;
  --bs-nav-link-font-weight: 500;
  --bs-navbar-nav-link-padding-x: 0;
  gap: clamp(28px, 3vw, 72px);
  align-items: center;
  font-size: clamp(0.8rem, 1vw, 1.25rem);
}

.navbar-nav .nav-link {
  position: relative;
  color: white;
}

.navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:focus-visible {
  color: white;
  box-shadow: none;
}

.navbar-toggler {
  display: none;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hero__center {
  position: absolute;
  z-index: 2;
  inset: 45% 0 auto;
}

.wordmark {
  font-size: clamp(2rem, 4vw, 6rem);
}

.hero__tagline {
  position: absolute;
  z-index: 2;
  bottom: 8%;
  left: 0;
  right: 0;
  margin-inline: auto;
  font-size: clamp(0.92rem, 1.3vw, 1.85rem);
  line-height: 1.35;
  width: min(90%, 780px);
}

/* Intro */

.intro {
  background: var(--ink);
  color: var(--blue);
  padding: clamp(90px, 13vw, 315px) 0;
}

.intro__copy {
  font-size: 72px;
  line-height: 1.05;
}

.intro strong {
  color: white;
  font-weight: 400;
}

.image-band {
  height: 660px;
  background-size: cover;
}

.image-band--containers {
  background-image: url("assets/containers.jpg");
}

/* Presence */

.presence {
  background: var(--blue);
  padding: 30px 0;
}

.presence .shell {
  padding-inline: 8.53%;
}

.presence__grid {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.8fr;
  column-gap: 5.5%;
  align-items: center;
}

.presence__map {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 0.63;
  position: relative;
}

.presence__map span {
  position: absolute;
  top: 40%;
  left: -85%;
  color: white;
  font-size: 4.9cqi;
  white-space: nowrap;
}

.presence__lead {
  grid-column: 1 / 3;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

.presence p {
  font-size: 1.37cqi;
  max-width: none;
}

.presence__wheel {
  grid-column: 3;
  grid-row: 1;
  overflow: hidden;
  position: relative;
}

.presence__wheel:before,
.presence__wheel:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(36px, 12cqi, 72px);
  pointer-events: none;
  z-index: 1;
}

.presence__wheel:before {
  top: 0;
  background: linear-gradient(180deg, var(--blue), rgb(168 194 237 / 0));
}

.presence__wheel:after {
  bottom: 0;
  background: linear-gradient(180deg, rgb(168 194 237 / 0), var(--blue));
}

.presence__countries {
  font-size: 4.21cqi;
  line-height: 1.12;
  will-change: transform;
}

.presence__countries li {
  transition: color 0.35s ease;
}

.presence__countries .highlight {
  color: white;
}

.presence__countries .is-exiting {
  opacity: 0;
  transition: opacity 0.14s ease;
}

.presence__countries .country--clone {
  opacity: 0;
}

.presence__countries .country--clone.is-entering {
  opacity: 1;
  transition: opacity 0.18s ease;
}

/* Urch */

.urch {
  --urch-mid: #a7c2ed;
  --urch-fade: linear-gradient(180deg, #000000 0%, var(--urch-mid) 42%, var(--urch-mid) 58%, var(--ice) 100%);
  --urch-fade-inverse: linear-gradient(180deg, var(--ice) 0%, var(--urch-mid) 16%, var(--urch-mid) 24%, #000000 100%);
   background: var(--urch-fade);
}

.urch__grid {
  --urch-cell: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: clamp(28px, 4vw, 72px);
  padding-inline: clamp(12px, 1.5vw, 28px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: var(--urch-cell) var(--urch-cell);
  background-position: calc(var(--urch-cell) / 2) calc(var(--urch-cell) / 2);
  background-origin: content-box;
  background-clip: content-box;
  /* mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 82%, transparent); */
}

.urch__letters {
  font-size: 340px;
  color: transparent;
  background-image: var(--urch-fade-inverse);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Commitment */

.commitment {
  background: var(--ice);
  padding: clamp(80px, 9vw, 240px) 0;
}

.section-title {
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 clamp(75px, 8vw, 180px);
}

.commitment__viewport {
  position: relative;
}

.commitment__viewport:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(72px, 12vw, 140px);
  pointer-events: none;
  background: linear-gradient(90deg, rgb(222 237 248 / 0), var(--ice));
  transition: opacity 0.25s ease;
}

.commitment__viewport.is-end:after {
  opacity: 0;
}

.commitment__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.commitment__track.is-dragging {
  cursor: grabbing;
}

.commitment__track::-webkit-scrollbar {
  display: none;
}

.commitment__bar {
  position: relative;
  height: 18px;
  margin-top: 8px;
  cursor: grab;
}

.commitment__bar.is-dragging {
  cursor: grabbing;
}

.commitment__bar:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #000;
  opacity: 0.16;
  transform: translateY(-50%);
}

.commitment__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  width: 5%;
  background: #000;
  border-radius: 999px;
  transform: translateY(-50%);
  pointer-events: none;
}

.commitment article {
  position: relative;
  flex: 0 0 25%;
  min-width: 25%;
  padding: 0 38px 70px;
  min-height: 390px;
}

.commitment article:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 70px;
  width: 1px;
  background: var(--ink);
}

.commitment h3 {
  font-size: clamp(1.4rem, 1.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 55px;
}

.commitment p {
  font-size: clamp(0.85rem, 1vw, 1.25rem);
  line-height: 1.45;
}

.image-band--meeting {
  background-image: url("assets/meeting.jpg");
}

/* Departments */

.departments {
  padding: 30px 0;
  background: var(--ice);
  display: grid;
  grid-template-columns: 3fr 2fr;
}

.departments__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 105px;
}

.departments__title {
  width: 100%;
}

.departments__content {
  width: 100%;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4vw;
  align-items: stretch;
}

.departments__wheel {
  width: max-content;
  overflow: hidden;
  position: relative;
}

.departments__wheel:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(48px, 8vw, 88px);
  pointer-events: none;
  background: linear-gradient(180deg, rgb(222 237 248 / 0), var(--ice));
}

.departments__buttons {
  width: max-content;
  will-change: transform;
}

.departments__buttons.is-spinning {
  pointer-events: none;
}

.departments__buttons .department {
  width: 100%;
}

.department--clone {
  pointer-events: none;
  opacity: 0;
}

.department.is-exiting {
  opacity: 0;
  transition: opacity 0.14s ease;
}

.department--clone.is-entering {
  opacity: 1;
  transition: opacity 0.18s ease;
}

.departments .section-title {
  margin-bottom: 60px;
}

.department {
  font: inherit;
  font-size: clamp(1.35rem, 2.1vw, 3.2rem);
  font-weight: 400;
  color: var(--ink);
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 18px;
  text-align: left;
}

.department:focus,
.department:focus-visible {
  outline: none;
  box-shadow: none;
}

.department.active {
  border-color: var(--ink);
}

.departments__detail {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid var(--ink);
  color: #7c7f88;
  font-size: clamp(0.9rem, 1.1vw, 1.4rem);
  line-height: 1.7;
  min-width: 0;
}

.departments__image {
  min-height: 670px;
  background: url("assets/departments.png") center / cover no-repeat;
  margin-right: 40px;
}

/* Footer */

.footer {
  background: #1f2234;
  color: var(--ice);
  padding: clamp(75px, 8vw, 180px) 0 45px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8vw;
  min-height: 420px;
}

.footer__brand {
  margin-bottom: 10px;
  font-size: 38px;
}

.footer p {
  color: #acbdd9;
  font-size: 18px;
  line-height: 1.45;
}

.footer h2 {
  color: #acbdd9;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.footer__explore {
  gap: 18px;
  font-size: clamp(1.05rem, 1.4vw, 1.8rem);
}

.footer__bottom {
  border-top: 1px solid rgba(222, 237, 248, 0.35);
  padding-top: 38px;
  color: #acbdd9;
  font-size: 0.9rem;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Keep original 900px breakpoint instead of Bootstrap lg (992px) */

@media (min-width: 901px) {
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

  .navbar-expand-lg .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    transition: none;
  }

  .navbar-expand-lg .offcanvas-header {
    display: none;
  }

  .navbar-expand-lg .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow: visible;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    margin-left: auto;
  }
}

/* Tablet */

@media (max-width: 900px) {
  .shell.container-fluid,
  .navbar.shell,
  .shell {
    padding-left: 28px;
    padding-right: 28px;
  }

  .navbar {
    height: auto;
    min-height: 72px;
    margin: 0;
    padding: 20px 0 12px;
  }

  .navbar-toggler {
    display: grid;
    gap: 5px;
    position: relative;
    z-index: 1056;
  }

  .navbar-toggler span:not(.visually-hidden) {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
  }

  .offcanvas {
    --bs-offcanvas-width: 100%;
    --bs-offcanvas-bg: #202337;
    --bs-offcanvas-color: white;
    --bs-offcanvas-border-width: 0;
  }

  .offcanvas-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 24px 0;
  }

  .offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .navbar-nav {
    align-items: stretch;
    gap: 10px;
    font-size: 1.6rem;
  }

  .navbar-nav .nav-link {
    padding: 12px;
  }

  .hero {
    min-height: 780px;
  }

  .intro {
    padding: 100px 0;
  }

  .commitment article {
    flex-basis: 50%;
    min-width: 50%;
  }

  .departments {
    grid-template-columns: 1fr 1fr;
  }

  .departments__wrapper {
    padding-left: 28px;
  }

  .departments__image {
    min-height: 560px;
    margin-right: 28px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */

@media (max-width: 600px) {
  :root {
    --shell: 88vw;
  }

  body {
    overflow-x: hidden;
  }

  .shell.container-fluid,
  .navbar.shell,
  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar {
    min-height: 64px;
    padding: 16px 0 10px;
  }

  .brand,
  .navbar-brand {
    font-size: 22px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__center {
    top: 42%;
  }

  .wordmark {
    font-size: 1.7rem;
    padding: 0 8px;
  }

  .hero__tagline {
    bottom: 8%;
    font-size: 0.95rem;
    width: 86%;
  }

  .intro {
    padding: 72px 0;
  }

  .intro__copy {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .image-band {
    height: 220px;
    min-height: 220px;
  }

  .presence {
    padding: 56px 0;
  }

  .presence .shell {
    padding-inline: 20px;
  }

  .presence__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .presence__map {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: auto;
  }

  .presence__map span {
    position: static;
    top: auto;
    left: auto;
    display: block;
    font-size: 1.9rem;
    white-space: normal;
  }

  .presence__lead {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .presence p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .presence__wheel {
    grid-column: 1;
    grid-row: 3;
  }

  .presence__countries {
    font-size: 2.1rem;
  }

  .urch {
    min-height: 240px;
  }

  .urch__grid {
    --urch-cell: 14px;
    padding-block: 36px;
  }

  .urch__letters {
    font-size: 28vw;
  }

  .commitment {
    padding: 72px 0;
  }

  .section-title {
    font-size: 2.45rem;
    margin-bottom: 40px;
  }

  .commitment__viewport:after {
    width: 40px;
  }

  .commitment article {
    flex-basis: 86%;
    min-width: 86%;
    padding: 0 20px 48px;
    min-height: 260px;
  }

  .commitment h3 {
    font-size: 1.55rem;
    margin-bottom: 22px;
  }

  .commitment p {
    font-size: 0.95rem;
  }

  .departments {
    grid-template-columns: 1fr;
    padding: 56px 0 0;
  }

  .departments__wrapper {
    padding: 0 20px 36px;
  }

  .departments .section-title {
    margin-bottom: 28px;
  }

  .departments__content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .department {
    font-size: 1.3rem;
    padding: 8px 14px;
  }

  .departments__detail {
    font-size: 0.95rem;
  }

  .departments__image {
    min-height: 260px;
    margin-right: 0;
  }

  .footer {
    padding: 64px 0 28px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 36px;
  }

  .footer__brand {
    font-size: 26px;
  }

  .footer p {
    font-size: 0.95rem;
  }

  .footer__explore {
    font-size: 1.2rem;
    gap: 12px;
  }

  .footer__bottom {
    margin-top: 48px;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
