@font-face {
  font-family: "PP Editorial New";
  src: url("assets/pp-editorial-new-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --oxblood: #3c1414;
  --cream: #f8f2ee;
  --soft-white: #fdfbf8;
  --blue: #aed8ed;
  --red: #e10f0f;
  --ink: #171716;
  --gutter: clamp(22px, 4.4vw, 70px);
  --header-height: 94px;
  --futura: "Futura", "Futura PT", "Century Gothic", "Avenir Next", sans-serif;
  --editorial: "PP Editorial New", "Iowan Old Style", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--futura);
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

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

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--cream);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 18px var(--gutter);
  color: var(--cream);
  transition:
    color 300ms ease,
    background-color 300ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: color-mix(in srgb, var(--cream) 95%, transparent);
  backdrop-filter: blur(16px);
}

.header-location {
  justify-self: start;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-logo {
  position: relative;
  z-index: 2;
  grid-column: 2;
  width: 78px;
  justify-self: center;
}

.header-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
  transition: filter 300ms ease;
}

.site-header.is-scrolled .header-logo img {
  filter: none;
}

.menu-toggle {
  z-index: 2;
  display: flex;
  grid-column: 3;
  align-items: center;
  gap: 12px;
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  content: "";
  transition: transform 220ms ease;
}

.menu-toggle i {
  position: relative;
  margin: 0 7px;
}

.menu-toggle i::before {
  position: absolute;
  left: -7px;
}

.menu-toggle i::after {
  position: absolute;
  right: -7px;
}

.menu-toggle[aria-expanded="true"] i {
  width: 20px;
  height: 1px;
  margin: 0;
  border-radius: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::before {
  left: 0;
  width: 20px;
  height: 1px;
  border-radius: 0;
  transform: rotate(-90deg);
}

.menu-toggle[aria-expanded="true"] i::after {
  display: none;
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: calc(var(--header-height) + 60px) var(--gutter) 58px;
  color: var(--cream);
  background: var(--oxblood);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.mobile-menu a {
  font-family: var(--editorial);
  font-size: clamp(46px, 8vw, 104px);
  line-height: 1;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header.menu-active {
  color: var(--cream);
  background: transparent;
}

.site-header.menu-active .header-logo img {
  filter: brightness(0) invert(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
  background: #171412;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 56% center;
  animation: hero-push-in 26s ease-in-out infinite alternate;
  transform: scale(1.025);
  transform-origin: 56% 50%;
  will-change: transform;
}

@keyframes hero-push-in {
  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgb(45 27 18 / 24%) 0%, transparent 30%),
    linear-gradient(0deg, rgb(45 27 18 / 28%) 0%, transparent 40%),
    radial-gradient(
      ellipse at 50% 52%,
      rgb(42 25 18 / 36%) 0%,
      rgb(42 25 18 / 25%) 28%,
      rgb(42 25 18 / 8%) 58%,
      transparent 78%
    ),
    rgb(75 46 27 / 8%);
}

.hero-copy {
  position: absolute;
  top: 52%;
  left: 50%;
  display: flex;
  width: min(920px, calc(100% - (2 * var(--gutter))));
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-copy > p {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-copy h2 {
  margin: 0;
  font-family: var(--editorial);
  font-size: clamp(70px, 8.4vw, 126px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.88;
}

.hero-copy > a {
  margin-top: 36px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.brand-gateway {
  display: grid;
  min-height: 100svh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--ink);
}

.gateway-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
}

.gateway-card-hotels {
  border-left: 1px solid rgb(248 242 238 / 35%);
}

.gateway-image,
.gateway-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gateway-image {
  object-fit: cover;
  filter: brightness(1.06) saturate(0.93) contrast(0.96) sepia(0.025);
  transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-card-rentals .gateway-image {
  object-position: 47% center;
}

.gateway-card-hotels .gateway-image {
  object-position: 47% center;
  filter: brightness(1.2) saturate(0.91) contrast(0.92) sepia(0.04);
}

.gateway-shade {
  background:
    linear-gradient(180deg, rgb(55 35 24 / 13%) 0%, transparent 34%),
    linear-gradient(
      0deg,
      rgb(35 22 17 / 58%) 0%,
      rgb(35 22 17 / 14%) 60%,
      transparent 100%
    ),
    rgb(92 55 31 / 3%);
  transition: background-color 400ms ease;
}

.gateway-card-hotels .gateway-shade {
  background:
    linear-gradient(180deg, rgb(55 35 24 / 10%) 0%, transparent 34%),
    linear-gradient(
      0deg,
      rgb(35 22 17 / 48%) 0%,
      rgb(35 22 17 / 9%) 60%,
      transparent 100%
    ),
    rgb(92 55 31 / 2%);
}

.gateway-card:hover .gateway-image {
  transform: scale(1.025);
}

.gateway-card:hover .gateway-shade {
  background-color: rgb(97 58 34 / 4%);
}

.gateway-index {
  position: absolute;
  z-index: 1;
  top: calc(var(--header-height) + 34px);
  left: clamp(28px, 4.2vw, 66px);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gateway-content {
  position: absolute;
  z-index: 1;
  right: clamp(28px, 4.2vw, 66px);
  bottom: clamp(48px, 7vh, 76px);
  left: clamp(28px, 4.2vw, 66px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gateway-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(13px, 1.25vw, 19px);
  margin-bottom: 32px;
  color: var(--cream);
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 28%));
}

.gateway-lockup img {
  width: clamp(92px, 8.2vw, 124px);
  height: auto;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.gateway-lockup > span {
  display: block;
  font-size: clamp(25px, 2.25vw, 34px);
  letter-spacing: -0.045em;
  line-height: 1;
  transform: translateY(3px);
}

.gateway-content > strong {
  max-width: 600px;
  font-family: var(--futura);
  font-size: clamp(42px, 4.4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.gateway-description {
  max-width: 500px;
  margin-top: 22px;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.55;
}

.gateway-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gateway-link svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 220ms ease;
}

.gateway-card:hover .gateway-link svg {
  transform: translateX(6px);
}

.explore-bergen {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
  padding: clamp(96px, 9vw, 138px) 0 clamp(62px, 6vw, 90px);
  color: var(--ink);
  background: var(--blue);
}

.explore-heading {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto clamp(54px, 6vw, 86px);
  padding: 0 var(--gutter);
}

.explore-kicker {
  margin: 0 0 26px;
  font-family: var(--futura);
  font-size: 10px;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.explore-heading h2 {
  margin: 0;
  font-family: var(--editorial);
  font-size: clamp(68px, 7.8vw, 116px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.explore-heading h2 a {
  font-style: normal;
  text-decoration: none;
}

.explore-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.explore-viewport::-webkit-scrollbar {
  display: none;
}

.explore-track {
  display: flex;
  gap: clamp(18px, 1.8vw, 28px);
  width: max-content;
  padding: 0 var(--gutter);
}

.explore-card {
  display: flex;
  width: clamp(260px, 22.5vw, 324px);
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
}

.explore-card img {
  width: 100%;
  height: clamp(360px, 32vw, 460px);
  object-fit: cover;
  transition:
    filter 400ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.explore-card span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 0 0 7px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.explore-card span::after {
  content: "→";
  font-size: 18px;
  letter-spacing: 0;
  line-height: 0.5;
  transition: transform 220ms ease;
}

.explore-card:hover img {
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.018);
}

.explore-card:hover span::after {
  transform: translateX(5px);
}

.explore-controls {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(42px, 4vw, 58px) var(--gutter) 0;
}

.explore-controls button {
  display: grid;
  width: 58px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.explore-controls svg {
  width: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.explore-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.site-footer {
  display: grid;
  min-height: 430px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 40px;
  padding: 90px var(--gutter) 36px;
  color: var(--cream);
  background: var(--ink);
}

.site-footer > img {
  width: clamp(120px, 14vw, 210px);
  filter: brightness(0) invert(1);
}

.site-footer > p:not(.footer-meta) {
  max-width: 440px;
  margin: 0;
  justify-self: end;
  font-family: var(--editorial);
  font-size: clamp(30px, 3.4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.site-footer nav {
  display: flex;
  gap: 30px;
  align-self: end;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer nav a {
  position: relative;
}

.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-footer nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-meta {
  align-self: end;
  justify-self: end;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 800ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .header-location {
    visibility: hidden;
  }
}

@media (max-width: 720px) {
  .brand-gateway {
    grid-template-columns: 1fr;
  }

  .gateway-card {
    min-height: 82svh;
  }

  .gateway-card-hotels {
    border-top: 1px solid rgb(248 242 238 / 35%);
    border-left: 0;
  }

  .gateway-index {
    top: 34px;
  }

  .gateway-card:first-child .gateway-index {
    top: calc(var(--header-height) + 28px);
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-logo {
    width: 68px;
  }

  .menu-toggle span {
    font-size: 11px;
  }

  .mobile-menu a {
    font-size: clamp(44px, 12vw, 58px);
  }

  .hero-copy {
    top: 49%;
  }

  .hero-copy > p {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .hero-copy h2 {
    font-size: clamp(58px, 18vw, 82px);
    line-height: 0.91;
  }

  .hero-copy > a {
    margin-top: 30px;
  }

  .gateway-card {
    min-height: 76svh;
  }

  .gateway-content {
    right: var(--gutter);
    bottom: 42px;
    left: var(--gutter);
  }

  .gateway-lockup {
    gap: 13px;
    margin-bottom: 27px;
  }

  .gateway-lockup img {
    width: 92px;
  }

  .gateway-lockup > span {
    font-size: 25px;
  }

  .gateway-content > strong {
    font-size: clamp(42px, 13vw, 58px);
  }

  .gateway-description {
    margin-top: 17px;
    font-size: 14px;
  }

  .gateway-link {
    margin-top: 27px;
  }

  .explore-bergen {
    padding: 72px 0 56px;
  }

  .explore-heading {
    margin-bottom: 50px;
  }

  .explore-heading h2 {
    max-width: 330px;
    font-size: clamp(58px, 17vw, 76px);
    line-height: 0.92;
  }

  .explore-kicker {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .explore-track {
    gap: 15px;
    padding: 0 var(--gutter);
  }

  .explore-card {
    width: 76vw;
  }

  .explore-card img {
    height: 108vw;
  }

  .explore-card span {
    gap: 14px;
    margin-top: 20px;
    padding-bottom: 6px;
    font-size: 9px;
  }

  .explore-controls {
    gap: 16px;
    padding-top: 36px;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .site-footer {
    min-height: 520px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    padding-top: 70px;
  }

  .site-footer > p:not(.footer-meta),
  .footer-meta {
    justify-self: start;
  }

  .site-footer > p:not(.footer-meta) {
    margin-top: 30px;
    font-size: 40px;
  }

  .site-footer nav {
    align-self: end;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}
