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

* { box-sizing: border-box; }

@font-face { font-family: "AesBodoni"; src: url("assets/fonts/bodoni.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "AesInter"; src: url("assets/fonts/inter.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "AesMono"; src: url("assets/fonts/jetbrains.woff2") format("woff2"); font-weight: 400; }

:root {
  --ink: #080603;
  --cream: #f0e2d1;
  --pad: 0.69rem;
}

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

.hero, .masthead { position: static; }

.eyebrow {
  position: absolute;
  left: var(--pad);
  top: 0.84rem;
  margin: 0;
  font-family: "AesMono", monospace;
  font-size: 0.198rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.masthead::after {
  content: "";
  position: absolute;
  left: 0.68rem;
  top: 1.10rem;
  width: 8.37rem;
  height: 0.01rem;
  background: rgba(8, 6, 3, 0.45);
}

.headline {
  position: absolute;
  left: 0.66rem;
  top: 1.52rem;
  margin: 0;
  font-family: "AesBodoni", serif;
  font-weight: 400;
  font-size: 1.075rem;
  line-height: 1.12rem;
  letter-spacing: -0.005em;
  width: 9.4rem;
  white-space: nowrap;
}

.sub {
  position: absolute;
  left: var(--pad);
  top: 5.43rem;
  margin: 0;
  font-size: 0.232rem;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.btn {
  position: absolute;
  left: var(--pad);
  top: 6.04rem;
  width: 3.03rem;
  height: 0.62rem;
  background: #030000;
  color: #fbf6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.243rem;
  line-height: 1;
  letter-spacing: -0.004em;
  text-decoration: none;
}

.btn-link {
  position: absolute;
  left: 4.29rem;
  top: 6.24rem;
  font-size: 0.243rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.05rem;
  white-space: nowrap;
}

.details {
  position: absolute;
  left: var(--pad);
  top: 7.45rem;
  font-family: "AesMono", monospace;
  font-size: 0.175rem;
  line-height: 0.235rem;
  letter-spacing: 0;
}
.details p { margin: 0; }

.details::before {
  content: "";
  position: absolute;
  left: 0.01rem;
  top: -0.21rem;
  width: 8.35rem;
  height: 0.01rem;
  background: rgba(8, 6, 3, 0.45);
}

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

  body {
    height: auto;
    min-height: 100vh;
    background: var(--cream) url("assets/bottle.jpg") 50% 8% / 92% auto no-repeat;
    padding-bottom: 40vh;
  }

  .eyebrow {
    position: static;
    padding: 22px 20px 0;
    font-size: 12px;
    letter-spacing: 0.1em;
    white-space: normal;
  }

  .masthead::after { display: none; }

  .headline br { display: none; }
  .headline {
    position: static;
    margin: 22px 20px 0;
    width: auto;
    max-width: none;
    font-size: clamp(36px, 10.5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .sub {
    position: static;
    margin: 18px 20px 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0;
    white-space: normal;
  }

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

  .btn-link {
    position: static;
    display: inline-block;
    margin: 16px 20px 0;
    font-size: 16px;
  }

  .details {
    position: static;
    margin: 26px 20px 0;
    font-size: 13px;
    line-height: 1.6;
  }
  .details::before { display: none; }
}
