/* 1rem = 100px at the 1536px reference width: design px / 100 = rem */
html { font-size: calc(100vw / 15.36); }

* { box-sizing: border-box; }

:root {
  --white: #ffffff;
  --ink: #1c1c1c;
}

body {
  margin: 0;
  display: flow-root;
  position: relative;
  height: 8.64rem;
  overflow-x: hidden;
  color: var(--white);
  background: #111 url("assets/bg.jpg") left top / 100% 100% no-repeat;
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wordmark { display: none; }

/* ---------- masthead ---------- */
.masthead {
  position: static;
}

.nav {
  position: absolute;
  right: 0.45rem;
  top: 0.33rem;
  display: flex;
  align-items: baseline;
  gap: 0.26rem;
  font-size: 0.205rem;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.nav a { color: var(--white); text-decoration: none; }
.nav a + a { text-transform: uppercase; }
.nav .skip {
  text-transform: none;
  font-size: 0.205rem;
  text-decoration: underline;
  text-underline-offset: 0.035rem;
  margin-right: 0.06rem;
}

/* ---------- hero ---------- */
.hero { position: static; }

.headline {
  position: absolute;
  left: 0.42rem;
  top: 3.88rem;
  margin: 0;
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-size: 1.235rem;
  line-height: 0.85rem;
  letter-spacing: -0.033em;
  color: var(--white);
  white-space: nowrap;
}

.sub {
  position: absolute;
  left: 0.45rem;
  top: 5.85rem;
  margin: 0;
  font-size: 0.300rem;
  line-height: 1;
  letter-spacing: 0.004em;
  white-space: nowrap;
}

.actions { position: static; }

.btn {
  position: absolute;
  left: 0.45rem;
  top: 6.37rem;
  width: 1.47rem;
  height: 0.47rem;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.185rem;
  line-height: 1;
  text-decoration: none;
}

.btn-link {
  position: absolute;
  left: 2.23rem;
  top: 6.51rem;
  font-size: 0.200rem;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  border-bottom: 0.012rem solid var(--white);
  padding-bottom: 0.05rem;
  white-space: nowrap;
}

.strip {
  position: absolute;
  left: 0.33rem;
  top: 7.13rem;
  margin: 0;
  display: flex;
  gap: 0.18rem;
  align-items: baseline;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.145rem;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.strip .bar { font-weight: 400; }

.thumbs { display: none; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  html { font-size: 16px; }

  body {
    height: auto;
    min-height: 100vh;
    background: #14110d;
    color: var(--white);
  }

  .masthead {
    padding: 18px 18px 0;
  }

  .wordmark {
    display: block;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
  }

  .nav {
    position: static;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
    letter-spacing: 0.06em;
  }
  .nav .skip { font-size: 13px; margin-right: 0; }

  .hero {
    padding: 0 18px 8px;
  }

  .headline {
    position: static;
    margin: 26px 0 0;
    font-size: clamp(38px, 11vw, 66px);
    line-height: 0.96;
    letter-spacing: -0.02em;
    white-space: normal;
  }
  .headline br { display: none; }

  .sub {
    position: static;
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.4;
    white-space: normal;
  }

  .actions {
    position: relative;
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
  }

  .btn {
    position: static;
    width: auto;
    height: auto;
    min-height: 48px;
    padding: 0 24px;
    font-size: 16px;
  }

  .btn-link {
    position: static;
    font-size: 16px;
    padding-bottom: 6px;
  }

  .strip {
    position: static;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 13px;
    line-height: 1.55;
    white-space: normal;
  }

  .thumbs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 18px 32px;
  }
  .thumbs img { display: block; width: 100%; height: auto; }
}
