@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/Inter_Tight/InterTight-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --edge: 13px;
  --ui-size: 13px;
  --ui-line: 1.5;
  --ink: #fff;
  --paper: #fff;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html, body { width: 100%; min-height: 100%; }

html { background: #111; }

body {
  margin: 0;
  color: var(--ink);
  background: #111;
  font-family: "Inter Tight", Inter, Arial, Helvetica, sans-serif;
  font-size: var(--ui-size);
  line-height: var(--ui-line);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 39px;
  padding: 9.5px var(--edge) 0;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}

.topbar a { pointer-events: auto; }
.topbar a:hover, .topbar a:focus-visible { text-decoration: underline; text-underline-offset: 2px; }

.slider-page { height: 100svh; overflow: hidden; }

.slider {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  background: #111;
  transition: opacity 140ms linear, visibility 0s linear 140ms;
}

.slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.slide img, .slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.slider__hit {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  width: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: transparent;
  appearance: none;
  cursor: none;
}

.slider__hit--prev { left: 0; }
.slider__hit--next { right: 0; }
.slider__hit:focus { outline: 0; }

.slider__cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 100ms linear;
}

.slider__cursor.is-visible { opacity: 1; }
.slider__cursor.is-prev { rotate: 180deg; }

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

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

.noscript { position: fixed; inset: auto var(--edge) var(--edge); z-index: 200; }

.info-page {
  min-height: 100svh;
  overflow-x: hidden;
  color: #fff;
  background: #111;
}

.info-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #222;
  transition: opacity 180ms linear;
}

.info-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.08);
}

.info-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: grayscale(1);
}

.info-page.has-open-panel { background: var(--paper); }
.info-page.has-open-panel .info-background { opacity: 0; }

.info-main {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  padding: 39px var(--edge) 2px;
  color: #fff;
  mix-blend-mode: difference;
}

.accordion, .accordion__item, .accordion__heading { margin: 0; padding: 0; }
.accordion__heading { font: inherit; }
.accordion__item { list-style: none; }

.accordion__button {
  display: block;
  width: 40.5%;
  min-width: 320px;
  height: 21px;
  margin: 0;
  padding: 0;
  border: solid currentColor;
  border-width: 1px 0 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-weight: 400;
  text-align: center;
  line-height: 19px;
  cursor: pointer;
  appearance: none;
}

.accordion__button:focus { outline: 0; }
.accordion__button:focus-visible { background: rgba(255,255,255,.12); }

.accordion__item:last-child .accordion__button,
.accordion__button[aria-expanded="true"] { border-bottom-width: 1px; }

.accordion__panel { color: inherit; }
.accordion__panel[hidden] { display: none; }

.accordion__panel p { margin: 0; }

.accordion__panel--contact {
  width: min(760px, 100%);
  padding: 5px 0 8px;
  font-size: clamp(31px, 2.54vw, 42px);
  line-height: 1;
  letter-spacing: -.015em;
}

.accordion__panel--contact .info-links {
  margin-top: .8em;
  font-size: .52em;
  line-height: 1.12;
}

.accordion__panel--about {
  width: 100%;
  padding: 5px 0 11px;
  font-size: clamp(27px, 2.54vw, 42px);
  line-height: 1;
  letter-spacing: -.018em;
}

.accordion__panel--about p + p { margin-top: 1em; }
.accordion__panel a:hover, .accordion__panel a:focus-visible { text-decoration: underline; text-underline-offset: .12em; }

@media (max-width: 700px) {
  :root { --edge: 9px; --ui-size: 12px; }
  .topbar { height: 35px; padding-top: 7px; }
  .info-main { padding-top: 35px; }
  .accordion__button { width: 100%; min-width: 0; }
  .accordion__panel--contact { font-size: clamp(30px, 9vw, 44px); }
  .accordion__panel--about { font-size: clamp(25px, 7.6vw, 39px); }
  .slider__cursor { display: none; }
  .slider__hit { cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
