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

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-italic.woff") format("woff");
}

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

:root {
  color-scheme: dark;

  --black: #000;
  --ink: #141017;
  --raised: #1e181d;
  --cream: #f3ece4;
  --muted: #b5a8ac;
  --subtle: #8c7f85;
  --line: #2e262c;
  --line-strong: #7a6c73;
  --garnet: #e28495;
  --garnet-light: #eeb3bd;
  --garnet-dark: #2a060d;
  --brass: #ddb468;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --display-sm: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --display-md: clamp(2.75rem, 2rem + 3.4vw, 4.5rem);
  --display-xl: clamp(4.5rem, 2rem + 11vw, 12rem);

  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --section-sm: clamp(3rem, 2rem + 4vw, 6rem);
  --gutter: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  --header-h: 4.5rem;
  --wide: 90rem;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-slow: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font: 1rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #5c101e;
  color: var(--cream);
}

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

figure {
  margin: 0;
}

a {
  color: var(--garnet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 160ms var(--ease), text-decoration-thickness 160ms var(--ease);
}

a:hover {
  color: var(--garnet-light);
  text-decoration-thickness: 2px;
}

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
main:focus { outline: none; }

p {
  margin: 0;
  max-width: 68ch;
  text-wrap: pretty;
  font-variant-numeric: oldstyle-nums;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  text-wrap: balance;
}

h2 {
  font-size: var(--display-sm);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
}

.lead {
  max-width: 56ch;
  font-size: 1.125rem;
  line-height: 1.75rem;
  letter-spacing: -0.005em;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9000;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--garnet);
  color: var(--garnet-dark);
  transform: translateY(-200%);
}

.skip-link:focus-visible { transform: none; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease), transform 80ms var(--ease);
}

.btn:hover { color: var(--cream); border-color: var(--cream); }
.btn:active { transform: scale(0.98); }

.btn--sm {
  min-height: 32px;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.btn--sm::after {
  content: "";
  position: absolute;
  inset: -6px;
}

.btn--outline { border-color: var(--line-strong); }

.btn--primary {
  background: var(--garnet);
  color: var(--garnet-dark);
}

.btn--primary:hover {
  background: var(--garnet-light);
  color: var(--garnet-dark);
  border-color: transparent;
}

.btn--primary:active { background: #f7d9de; }

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--serif);
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover { color: var(--cream); }

.logo__name {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo__desc {
  padding-left: 0.75rem;
  border-left: 1px solid currentColor;
  font: 500 0.42em/1 var(--sans);
  letter-spacing: 0.02em;
  transform: translateY(-0.15em);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: transform 240ms var(--ease), background-color 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.site-header[data-state="top"] { background: transparent; border-color: transparent; }
.site-header[data-state="scrolled"] { box-shadow: 0 1px 2px rgb(0 0 0 / 0.5); }
.site-header[data-hidden]:not(:focus-within) { transform: translateY(-100%); }

.site-header .logo { font-size: 1.375rem; }
.site-header .logo__desc { font-size: 0.75rem; padding-left: 0.6rem; }

.site-header__end {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--subtle);
}

.lang a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
}

.lang a::after {
  content: "";
  position: absolute;
  inset: -12px -6px;
}

.lang a:hover,
.lang a[aria-current] {
  color: var(--cream);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 5.5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  top: calc(var(--header-h) + 2svh);
  right: 0;
  width: 58vw;
  height: 46svh;
  overflow: hidden;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero__copy {
  position: relative;
  display: grid;
  gap: 2.5rem;
  width: 100%;
  will-change: transform, opacity;
}

.hero__lead {
  max-width: 34ch;
  color: var(--cream);
}

.display-xl {
  font-size: var(--display-xl);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.line > span {
  display: block;
  animation: line-in 900ms var(--ease-slow) both;
}

.line + .line { padding-left: 0.42em; }
.line + .line > span { animation-delay: 80ms; }

.fade { animation: fade-in 900ms var(--ease-slow) 520ms both; }

.cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.5rem;
  width: 1px;
  height: 40px;
  overflow: hidden;
  background: var(--line);
}

.cue span {
  position: absolute;
  inset: 0;
  background: var(--brass);
  animation: cue 2.4s var(--ease-slow) infinite;
}

@keyframes line-in {
  from { transform: translateY(105%); }
  to { transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.office {
  padding: var(--section) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--black);
}

.office .wrap {
  display: grid;
  gap: 3rem;
}

.office__head h2 { max-width: 16ch; }

.office__body {
  display: grid;
  gap: 1.75rem;
  line-height: 1.65;
  color: var(--muted);
}

.office__body .lead { color: var(--cream); }

.progress { display: none; }

.banner {
  height: 60svh;
  min-height: 320px;
  overflow: hidden;
  background: var(--black);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing {
  padding: var(--section) var(--gutter);
  background: var(--black);
}

.closing p {
  max-width: var(--wide);
  margin: 0 auto;
  font: italic 400 var(--display-sm)/1.08 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 4rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--muted);
}

.site-footer .logo {
  align-self: flex-start;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.site-footer .logo__desc { font-size: max(0.42em, 0.875rem); }

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__meta a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.site-footer__meta a:hover,
.site-footer__meta a[aria-current="page"] {
  color: var(--cream);
}

.site-footer small {
  font-size: 0.75rem;
  line-height: 1rem;
  font-variant-numeric: tabular-nums;
}

.policy {
  padding: calc(var(--header-h) + var(--section-sm)) var(--gutter) var(--section);
  background: var(--black);
}

.policy .wrap {
  display: grid;
  gap: 3rem;
}

.policy__head h1 {
  font-size: var(--display-md);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.policy__date {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}

.policy__body {
  display: grid;
  gap: 3.5rem;
  line-height: 1.65;
  color: var(--muted);
}

.policy__body .lead { color: var(--cream); }

.policy__body section {
  display: grid;
  gap: 1.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.policy__body h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  color: var(--cream);
}

.policy__body h3 {
  margin: 0.75rem 0 0;
  font: 600 1.125rem/1.5 var(--sans);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.policy__body a { color: var(--cream); }
.policy__body a:hover { color: var(--garnet-light); }

.policy__body dl {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.policy__body dl div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.policy__body dt { color: var(--cream); }
.policy__body dd { margin: 0; }

.policy__body address {
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.75;
  color: var(--cream);
}

.notfound {
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) var(--gutter) var(--section-sm);
}

.notfound .wrap {
  display: grid;
  gap: 2rem;
  margin: 0;
}

.notfound h1 { font-variant-numeric: lining-nums tabular-nums; }

.notfound__text {
  display: grid;
  gap: 0.75rem;
}

.notfound__text p { max-width: 40ch; }

.notfound__fr {
  font-size: 0.9375rem;
  color: var(--subtle);
}

.notfound__fr a { color: var(--muted); }

.notfound__text .btn {
  justify-self: start;
  margin-top: 0.5rem;
}

.cookie {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 1200;
  display: grid;
  gap: 1.25rem;
  max-width: 25rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 64px -12px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 247 240 / 0.06);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 400ms var(--ease-slow), transform 400ms var(--ease-slow);
}

.cookie.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.cookie a { color: var(--cream); }
.cookie a:hover { color: var(--garnet-light); }

.cookie__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie__actions .btn {
  min-width: 6.5rem;
  min-height: 40px;
}

.bg-dots {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.has-dots main,
.has-dots .site-footer {
  position: relative;
  z-index: 1;
}

.has-dots .hero,
.has-dots .office,
.has-dots .closing,
.has-dots .policy,
.has-dots .site-footer {
  background: transparent;
}

@media (max-width: 479px) {
  .site-header,
  .site-header__end {
    gap: 0.75rem;
  }

  .site-header .btn--sm {
    padding: 0 0.75rem;
    font-size: 0.8125rem;
  }

  .site-header .logo { font-size: 1.25rem; gap: 0.4rem; }
  .site-header .logo__desc { padding-left: 0.45rem; }
}

@media (min-width: 768px) {
  .hero { padding-bottom: 6rem; }
  .cue { left: 50%; }

  .closing p {
    width: min(100%, 82rem);
    max-width: none;
    margin: 0;
    padding-left: 8.33%;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 5rem;
  }

  .site-footer__meta {
    align-items: flex-end;
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .hero__media {
    top: calc(var(--header-h) + 6svh);
    width: min(38vw, 620px);
    height: 64svh;
  }

  .office .wrap,
  .policy .wrap {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .office__head,
  .policy__head {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    align-self: start;
  }

  .office__head { grid-column: 1 / 6; }
  .office__body { grid-column: 7 / 12; padding-top: 12vh; }

  .progress {
    display: block;
    width: 70%;
    height: 1px;
    margin-top: 2.5rem;
    background: var(--line);
  }

  .progress b {
    display: block;
    height: 100%;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
  }

  .closing p {
    font-size: var(--display-md);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .policy__head { grid-column: 1 / 5; }
  .policy__body { grid-column: 6 / 12; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cue { display: none; }
}
