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

:root {
  --ink: #f0ece4;
  --dark: #222222;
  --blue: #46627c;
  --strip: #dbd7d0;
}

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

.nav {
  position: absolute;
  left: 0.51rem;
  top: 0.33rem;
  display: flex;
  gap: 0.84rem;
  font-size: 0.215rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a { color: var(--ink); text-decoration: none; }
.cart { margin-left: 4.2rem; }

.rule {
  position: absolute;
  left: 0.30rem;
  top: 0.85rem;
  width: 14.70rem;
  height: 0.03rem;
  background: #4a6d8c;
}

.eyebrow {
  position: absolute;
  left: 0.52rem;
  top: 1.63rem;
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.235rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.giant {
  position: absolute;
  left: 0.30rem;
  top: 1.52rem;
  margin: 0;
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-size: 5.72rem;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.sub {
  position: absolute;
  left: 0.53rem;
  top: 5.92rem;
  margin: 0;
  font-size: 0.435rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.strip {
  margin-top: 7.15rem;
  height: 1.49rem;
  background: var(--strip);
  color: #26262a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.235rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  position: absolute;
  left: 0.50rem;
  top: 7.55rem;
  width: 2.35rem;
  height: 0.75rem;
  border-radius: 0.375rem;
  background: var(--blue);
  color: #eef1f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.255rem;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
}

.sep { position: absolute; top: 7.65rem; width: 0.01rem; height: 0.55rem; background: rgba(38, 38, 42, 0.45); }
.sep--1 { left: 3.45rem; }
.sep--2 { left: 8.95rem; }
.sep--3 { left: 12.15rem; }

.item { position: absolute; top: 7.75rem; white-space: nowrap; }
.item--1 { left: 3.90rem; }
.item--2 { left: 9.45rem; }
.item--3 { left: 12.65rem; }

@media (max-width: 900px) {
  html { font-size: 16px; overflow-x: hidden; }
  body { height: auto; min-height: 100vh; background: var(--dark); padding-bottom: 0; }

  .nav {
    position: static;
    padding: 16px 18px 0;
    gap: 14px;
    font-size: 12px;
    flex-wrap: wrap;
    white-space: normal;
  }
  .cart { margin-left: auto; }
  .rule { position: static; width: auto; height: 3px; margin: 14px 18px 0; }
  .eyebrow { position: static; padding: 22px 18px 0; font-size: 12px; letter-spacing: 0.16em; white-space: normal; }
  .giant {
    position: static;
    margin: 6px 0 0;
    padding-left: 14px;
    font-size: 26vw;
    line-height: 0.92;
    letter-spacing: -0.03em;
    overflow: hidden;
  }
  .sub { position: static; margin: 12px 18px 24px; font-size: 16px; line-height: 1.45; white-space: normal; }

  .strip {
    margin-top: 0;
    height: auto;
    padding: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    font-size: 13px;
  }
  .btn { position: static; width: auto; min-height: 48px; padding: 0 20px; font-size: 15px; border-radius: 24px; }
  .sep, .item { position: static; }
  .sep { display: none; }
}
