@font-face {
  font-family: "Altinn DIN";
  src: url("fonts/Altinn-DIN.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Altinn DIN";
  src: url("fonts/Altinn-DIN-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #0a0b0e;
  --surface: #15171c;
  --text: #f4f5f7;
  --muted: rgba(244, 245, 247, 0.66);
  --soft: rgba(244, 245, 247, 0.94);
  --glass: rgba(255, 255, 255, 0.07);
  --edge: 12px;
  --r-panel: 44px;
  --r-tile: 32px;
  --r-card: 24px;
  --r-bar: 24px;
  --r-btn: 13px;
  --r-slab: 36px;
  --gutter: clamp(16px, 3.5vw, 48px);
  --font: "Altinn DIN", "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.1875rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

main {
  display: grid;
  gap: var(--edge);
  padding: var(--edge);
}

.glass {
  background: var(--rim, none), linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 40%), var(--glass);
  -webkit-backdrop-filter: blur(8px) saturate(180%) brightness(0.36);
  backdrop-filter: blur(8px) saturate(180%) brightness(0.36);
}

.glass.contact {
  -webkit-backdrop-filter: blur(4px) saturate(180%) brightness(1.1);
  backdrop-filter: blur(4px) saturate(180%) brightness(1.1);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(1.3);
  transform: scale(1.04);
}

.btn {
  --r: var(--r-btn);
  display: inline-block;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--r);
  background: #fff;
  color: #101216;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.84;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

.bar {
  --r: var(--r-bar);
  position: fixed;
  top: var(--edge);
  left: var(--edge);
  right: var(--edge);
  z-index: 20;
  height: 64px;
  padding: 0 12px 0 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-radius: var(--r);
}

.brand {
  justify-self: start;
  font-size: 1.3rem;
  font-weight: 700;
}

.bar nav {
  display: flex;
  gap: 36px;
  font-size: 1.0625rem;
}

.bar nav a {
  padding: 11px 0;
  color: var(--soft);
  transition: color 0.2s;
}

.bar nav a:hover,
.bar nav a[aria-current="page"] {
  color: #fff;
}

.bar .btn {
  --r: 12px;
  justify-self: end;
  padding: 10px 20px;
}

.photo {
  --r: var(--r-panel);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  min-height: min(78vh, 720px);
  border-radius: var(--r);
  background: var(--surface);
}

.photo > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

a.photo:hover > img {
  transform: scale(1.03);
}

.takeoff > img {
  object-position: 50% 35%;
}

.hero {
  min-height: max(600px, calc(100svh - 2 * var(--edge)));
}

.card {
  --r: var(--r-card);
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: min(460px, calc(100% - 40px));
  padding: 26px 30px 30px;
  border-radius: var(--r);
}

.card h2,
.card h1 {
  font-size: 1.95rem;
}

.card .btn {
  margin-top: 24px;
}

.hero .card {
  max-width: min(680px, calc(100% - 40px));
  padding: 40px 44px 44px;
}

.hero .card h1 {
  font-size: clamp(2.5rem, 5.1vw, 4.4rem);
}

.hero .card.right {
  left: auto;
  right: 20px;
}

.hero.center {
  display: grid;
  place-items: center;
  text-align: center;
}

.hero.center h1 {
  padding: 0 24px;
  font-size: clamp(2.75rem, 7.5vw, 7rem);
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--edge);
}

.tiles {
  display: grid;
  gap: var(--edge);
}

.tiles.three {
  grid-template-columns: repeat(3, 1fr);
}

.tile {
  --r: var(--r-tile);
  min-height: 270px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--r);
  background: var(--surface);
}

.tile h2 {
  font-size: 1.8rem;
}

.tile p {
  max-width: 22rem;
  margin-top: 12px;
  color: var(--muted);
}

.tiles.stats {
  grid-template-columns: repeat(4, 1fr);
}

.stats .tile {
  min-height: 240px;
  padding: 24px;
}

.stats .tile .value {
  max-width: none;
  margin: 0;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
}

.note {
  padding-bottom: 8px;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}

.panel {
  --r: var(--r-panel);
  padding: clamp(32px, 6vw, 96px);
  border-radius: var(--r);
}

.contact {
  position: relative;
  min-height: max(560px, calc(100svh - 2 * var(--edge)));
  display: grid;
  place-items: center;
  text-align: center;
}

.contact p {
  font-size: clamp(1.5rem, 5.4vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
}

.contact h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
}

.contact a {
  transition: opacity 0.2s;
}

.contact a:hover {
  opacity: 0.7;
}

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

.stage {
  --r: var(--r-panel);
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 64px) clamp(20px, 4vw, 64px);
  border-radius: var(--r);
  background: var(--surface);
}

.stage-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.stage h2 {
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
}

.stage .btn {
  margin-top: 32px;
}

.stage-box {
  position: relative;
  margin-top: -8%;
}

.stage-box img {
  --r: 0 0 var(--r-slab) var(--r-slab);
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--r);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
  padding: 40px var(--gutter) 48px;
  color: var(--muted);
}

.foot strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.foot nav {
  display: flex;
  gap: 28px;
}

.foot nav a,
.foot span a {
  transition: color 0.2s;
}

.foot nav a {
  margin: -8px 0;
  padding: 8px 0;
}

.foot nav a:hover,
.foot span a:hover {
  color: var(--text);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(18, 20, 25, 0.94);
  }
}

@media (max-width: 1200px) {
  .tiles.stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --r-panel: 36px;
    --r-tile: 28px;
    --r-card: 16px;
    --r-slab: 24px;
  }

  .pair,
  .tiles.three {
    grid-template-columns: 1fr;
  }

  .photo {
    min-height: 380px;
  }

  .hero {
    min-height: max(480px, calc(100svh - 2 * var(--edge)));
  }

  .stage h2 {
    font-size: 2.25rem;
  }

  .tile {
    min-height: 220px;
  }

  .stats .tile {
    min-height: 180px;
  }

  .hero .card {
    padding: 26px 26px 30px;
  }

  .takeoff > img {
    object-position: 18% 35%;
  }

  .turn > img {
    object-position: 28% 50%;
  }
}

@media (max-width: 640px) {
  .tiles.stats {
    grid-template-columns: 1fr;
  }

  .bar {
    padding: 0 10px 0 18px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .bar nav {
    gap: 14px;
    font-size: 0.9375rem;
  }

  .bar .btn {
    padding: 13px 14px;
    font-size: 0.9375rem;
  }
}
