:root {
  --page: #0b0a09;
  --ink: #eee9df;
  --muted: #9a8e7d;
  --warm: #b49670;
  --line: rgba(238, 233, 223, 0.2);
  --display: "Bodoni 72", Didot, "Yu Mincho", "Hiragino Mincho ProN",
    "Times New Roman", serif;
  --sans: "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN",
    Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color-scheme: dark;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

::selection {
  color: #17120d;
  background: var(--warm);
}

.ambient,
.ambient span {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: 0;
  overflow: hidden;
}

.ambient__halo {
  width: 80vw;
  height: 80vw;
  margin: auto;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(159, 118, 73, 0.13) 0,
    rgba(100, 73, 43, 0.05) 33%,
    transparent 68%
  );
  animation: breathe 12s ease-in-out infinite alternate;
}

.ambient__line {
  width: 1px;
  height: 140vh;
  margin: auto;
  background: linear-gradient(transparent, var(--line), transparent);
  transform: rotate(28deg);
}

.ambient__line--one {
  left: -30vw;
}

.ambient__line--two {
  right: -34vw;
  transform: rotate(-28deg);
}

.ambient__grain {
  opacity: 0.08;
  background-image: repeating-radial-gradient(
    circle at 30% 20%,
    transparent 0,
    transparent 1px,
    rgba(255, 255, 255, 0.5) 1.5px,
    transparent 2px
  );
  background-size: 6px 6px;
  mix-blend-mode: soft-light;
}

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

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding: 0 3.5vw;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.site-header p {
  margin: 0;
  color: var(--muted);
}

.site-header i {
  margin: 0 8px;
  color: var(--warm);
  font-style: normal;
}

.site-header__place {
  justify-self: end;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.wordmark__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0;
  transform: rotate(45deg);
}

.wordmark__mark::first-letter {
  color: var(--warm);
}

.wordmark__mark {
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(70px, 0.55fr) minmax(0, 5.2fr) minmax(240px, 1.35fr);
  grid-template-rows: auto 1fr auto;
  min-height: calc(100vh - 176px);
  padding: clamp(46px, 7vh, 90px) 3.5vw 34px;
}

.hero__edition {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.24em;
  line-height: 1.7;
  writing-mode: vertical-rl;
}

.hero__edition span {
  margin-top: 14px;
  color: var(--warm);
}

.hero__title {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.hero__title > p {
  margin: 0 0 clamp(18px, 3vh, 36px);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.25em;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(86px, 15vw, 245px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.68;
}

.hero h1 span:last-child {
  margin-left: clamp(55px, 9vw, 150px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 233, 223, 0.72);
}

.hero__statement {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  padding: 32px 0 32px clamp(20px, 3vw, 52px);
  border-left: 1px solid var(--line);
}

.hero__statement > p {
  min-height: 78px;
  margin: 0;
  color: #d3cabd;
  font-family: var(--display);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.7;
}

.enter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 54px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.2em;
  transition:
    color 350ms var(--ease),
    padding 350ms var(--ease);
}

.enter-link:hover,
.enter-link:focus-visible {
  padding-right: 10px;
  padding-left: 10px;
  color: var(--warm);
}

.enter-link i {
  font-family: var(--display);
  font-size: 19px;
  font-style: normal;
}

.hero__scope {
  display: flex;
  grid-column: 2 / 4;
  grid-row: 3;
  gap: clamp(18px, 4vw, 70px);
  align-items: center;
  padding-top: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.hero__scope span::before {
  content: "◇";
  margin-right: 10px;
  color: var(--warm);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding: 0 3.5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.18em;
}

footer > p {
  justify-self: end;
}

.language-nav,
.footer-links {
  display: flex;
  gap: 24px;
}

.language-nav button {
  position: relative;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.language-nav button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--warm);
  transform: scaleX(0);
  transition: transform 300ms var(--ease);
}

.language-nav button:hover,
.language-nav button.is-active {
  color: var(--ink);
}

.language-nav button.is-active::after {
  transform: scaleX(1);
}

.footer-links {
  justify-content: center;
}

.footer-links a {
  transition: color 250ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.noscript {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 15px;
  padding: 12px;
  color: var(--page);
  background: var(--ink);
  font-size: 11px;
}

@keyframes breathe {
  from {
    opacity: 0.6;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header > p:not(.site-header__place) {
    display: none;
  }

  .hero {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: 1fr auto auto;
    min-height: calc(100vh - 152px);
    padding: 50px 24px 28px;
  }

  .hero__edition {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .hero h1 {
    font-size: clamp(72px, 22vw, 150px);
  }

  .hero h1 span:last-child {
    margin-left: 7vw;
  }

  .hero__statement {
    display: grid;
    grid-template-columns: 1fr minmax(190px, 0.8fr);
    grid-column: 2;
    grid-row: 2;
    gap: 28px;
    align-items: end;
    margin-top: 42px;
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .enter-link {
    margin-top: 0;
  }

  .hero__scope {
    grid-column: 2;
    grid-row: 3;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 34px;
  }

  footer {
    min-height: 76px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding: 0 20px;
  }

  .site-header__place {
    font-size: 7px;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 72px);
    padding: 58px 22px 28px;
  }

  .hero__edition {
    display: none;
  }

  .hero__title {
    margin: auto 0;
  }

  .hero__title > p {
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(74px, 27vw, 118px);
    line-height: 0.74;
  }

  .hero h1 span:last-child {
    margin-top: 8px;
    margin-left: 0;
  }

  .hero__statement {
    display: block;
    margin-top: 70px;
    padding-top: 24px;
  }

  .hero__statement > p {
    min-height: 68px;
  }

  .enter-link {
    margin-top: 30px;
  }

  .hero__scope {
    display: none;
  }

  footer {
    grid-template-columns: 1fr auto;
    min-height: 80px;
    padding: 0 22px;
  }

  footer > p {
    display: none;
  }

  .language-nav {
    gap: 16px;
  }

  .footer-links {
    gap: 14px;
  }
}

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