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

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #120d08 url("assets/plate.jpg") center top / cover no-repeat;
  color: #fdf6e3;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- nav ---------- */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.39rem 0.53rem 0 0.49rem;
}

.logo {
  font-size: 0.22rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.222em;
  color: #fff8ea;
}

.nav__right {
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
}

.nav__link {
  font-size: 0.1648rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.155em;
  white-space: nowrap;
  color: #fdf4e2;
}

.nav__sep {
  width: 1px;
  height: 0.22rem;
  align-self: center;
  background: rgba(253, 246, 227, 0.72);
}

.nav__search {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: -0.07rem;
  font-size: 0.1648rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fdf4e2;
}

.nav__icon {
  width: 0.17rem;
  height: 0.17rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

/* ---------- hero copy ---------- */

.eyebrow {
  position: absolute;
  left: 0.64rem;
  top: 2.771rem;
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.2315rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.078em;
  color: #f7f4e9;
}

.headline {
  position: absolute;
  left: 0.64rem;
  top: 3.152rem;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.1965rem;
  font-weight: 500;
  line-height: 1.12rem;
  letter-spacing: -0.047em;
  white-space: nowrap;
  color: #fdf6e3;
}

.sub {
  position: absolute;
  left: 0.64rem;
  top: 5.783rem;
  margin: 0;
  font-size: 0.2723rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.002em;
  white-space: nowrap;
  color: #fefaee;
}

/* ---------- actions ---------- */

.btn {
  position: absolute;
  left: 0.63rem;
  top: 6.49rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.42rem;
  height: 0.75rem;
  border-radius: 3px;
  background: #f2ae83;
  color: #2a1206;
  font-size: 0.2315rem;
  font-weight: 500;
  letter-spacing: -0.026em;
  white-space: nowrap;
}

.link {
  position: absolute;
  left: 3.50rem;
  top: 6.759rem;
  font-size: 0.2315rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 0.02rem;
  text-underline-offset: 0.055rem;
  color: #fdf6e3;
}

/* ---------- facts strip ---------- */

.rule {
  position: absolute;
  left: 0.63rem;
  top: 7.78rem;
  width: 14.08rem;
  height: 1px;
  background: rgba(253, 246, 227, 0.62);
}

.vr {
  position: absolute;
  top: 7.78rem;
  width: 1px;
  height: 0.54rem;
  background: rgba(253, 246, 227, 0.56);
}

.vr--a { left: 3.92rem; }
.vr--b { left: 7.67rem; }
.vr--c { left: 11.27rem; }

.stat {
  position: absolute;
  top: 8.00rem;
  margin: 0;
  font-size: 0.22rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.028em;
  white-space: nowrap;
  color: rgba(253, 246, 227, 0.88);
}

.stat--a { left: 0.63rem; }
.stat--b { left: 5.06rem; }
.stat--c { left: 8.75rem; }

/* ---------- small screens ---------- */

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

  body {
    min-height: 100vh;
    background-position: 62% top;
  }

  .nav {
    position: static;
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 24px 20px 0;
  }

  .logo { font-size: 18px; letter-spacing: 0.2em; }

  .nav__right {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .nav__right::-webkit-scrollbar { display: none; }

  .nav__link { font-size: 12px; letter-spacing: 0.14em; }
  .nav__search { font-size: 12px; margin-left: 0; }

  .hero { padding: 0 20px 40px; }

  .eyebrow,
  .headline,
  .sub,
  .btn,
  .link,
  .stat {
    position: static;
    white-space: normal;
  }

  .eyebrow {
    margin: 56px 0 0;
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .headline {
    margin: 14px 0 0;
    font-size: clamp(36px, 8.6vw, 76px);
    line-height: 1.0;
    letter-spacing: -0.02em;
  }
  .brk { display: none; }

  .sub {
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.4;
    max-width: 34em;
  }

  .btn {
    display: inline-flex;
    margin: 26px 16px 0 0;
    width: auto;
    min-height: 48px;
    padding: 0 26px;
    font-size: 16px;
  }

  .link {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
  }

  .rule,
  .vr { display: none; }

  .stat {
    display: block;
    margin: 14px 0 0;
    font-size: 15px;
    color: rgba(253, 246, 227, 0.88);
  }
  .stat--a { margin-top: 32px; }
}
