:root {
  --paper: #f7f7f5;
  --ink: #10100e;
  --side: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}


/* PAGE */

.page-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--side) 64px;
}


/* LOGO */

.masthead h1 {
  margin: 0 0 22px;

  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 75px;
  line-height: 1.15;
  letter-spacing: 0.03em;

  white-space: nowrap;
}


/* IMAGE CAROUSEL */

.carousel {
  position: relative;

  width: 100%;
  aspect-ratio: 354 / 218;

  overflow: hidden;
  background: #ddd;

  touch-action: pan-y;
  user-select: none;
}

.carousel__image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  pointer-events: none;
}


/* CAROUSEL ARROWS */

.carousel__button {
  position: absolute;
  bottom: 0;

  width: 42px;
  height: 42px;

  padding: 0;
  border: 0;
  border-radius: 0;

  background: var(--paper);
  color: var(--ink);

  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 42px;
  text-align: center;

  cursor: pointer;

  opacity: 1;
  z-index: 10;

  appearance: none;
  -webkit-appearance: none;

  transform: none;
  text-shadow: none;
}

.carousel__button--prev {
  left: 0;
}

.carousel__button--next {
  right: 0;
}


/* IMAGE CAPTION */

.caption {
  margin: 5px 0 0;

  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: 9px;
  line-height: 1.15;
  letter-spacing: 0.04em;

  text-transform: uppercase;
}


/* INTRO COPY */

.intro {
  width: min(302px, 100%);
  margin-top: 34px;

  font-family: "Uchen", serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.05em;

  -webkit-text-stroke: 1px var(--ink);
}

.intro p {
  margin: 0 0 22px;
}

.intro p:last-child {
  margin-bottom: 0;
}


/* MOBILE */

@media (max-width: 799px) {

  .carousel__button {
    width: 22px;
    height: 22px;

    font-size: 13px;
    line-height: 22px;

    background: var(--paper);
    color: var(--ink);

    opacity: 1;
  }

}


/* DESKTOP */

@media (min-width: 800px) {

  :root {
    --side: 40px;
  }

  .page-shell {
    padding-top: 38px;
    padding-bottom: 90px;
  }

  .masthead h1 {
    font-size: clamp(110px, 10vw, 150px);
    margin-bottom: 28px;
  }

  .caption {
    font-size: 11px;
  }

  .intro {
    width: min(560px, 100%);
    margin-top: 52px;
    font-size: 20px;
  }

}
