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

* { box-sizing: border-box; }

:root {
  --cream: #faf4e6;
  --peach: #f2ae82;
  --ink: #241d16;
  --pad: 0.63rem;
}

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

/* ---------- masthead ---------- */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.40rem 0.50rem 0 0.475rem;
}

.logo {
  font-size: 0.218rem;
  line-height: 1;
  letter-spacing: 0.271em;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  font-size: 0.1635rem;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
}

.nav__rule {
  width: 0.01rem;
  height: 0.20rem;
  background: rgba(250, 244, 230, 0.55);
  align-self: center;
  margin: 0 0.02rem;
}

.nav__search {
  display: inline-flex;
  align-items: center;
  gap: 0.135rem;
  font-size: 0.196rem;
  letter-spacing: 0.005em;
  text-transform: none;
}

.nav__icon {
  width: 0.17rem;
  height: 0.17rem;
  flex: none;
}

/* ---------- hero ---------- */
.hero {
  padding: 2.15rem 0 0 var(--pad);
  display: flow-root;
}

.eyebrow {
  margin: 0;
  font-size: 0.2325rem;
  line-height: 1;
  letter-spacing: 0.112em;
  text-transform: uppercase;
}

.headline {
  margin: 0.105rem 0 0;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 1.083rem;
  line-height: 1.13rem;
  letter-spacing: 0.005em;
  width: 14.8rem;
  max-width: none;
}

.sub {
  margin: 0.395rem 0 0;
  font-size: 0.277rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.004em;
  width: 11rem;
}

.actions {
  margin-top: 0.425rem;
  display: flex;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.42rem;
  height: 0.75rem;
  background: var(--peach);
  color: var(--ink);
  font-size: 0.232rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.btn-link {
  margin-left: 0.46rem;
  margin-top: 0.24rem;
  font-size: 0.232rem;
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 0.04rem solid var(--cream);
  padding-bottom: 0.095rem;
}

/* ---------- footer ---------- */
.foot-rule {
  position: absolute;
  left: 0.63rem;
  right: 0.65rem;
  top: 7.78rem;
  height: 0.01rem;
  background: rgba(250, 244, 230, 0.62);
}

.footer {
  position: static;
  font-size: 0.232rem;
  line-height: 1;
}

.footer__item {
  position: absolute;
  left: var(--x);
  top: 7.98rem;
  white-space: nowrap;
}

.footer__sep {
  position: absolute;
  left: var(--x);
  top: 7.93rem;
  width: 0.01rem;
  height: 0.37rem;
  background: rgba(250, 244, 230, 0.55);
}

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

  body {
    height: auto;
    min-height: 100vh;
    background:
      linear-gradient(180deg, rgba(8, 6, 4, 0.72) 0%, rgba(8, 6, 4, 0.52) 45%, rgba(8, 6, 4, 0.84) 100%),
      #0b0906 url("assets/bg.jpg") center top / cover no-repeat fixed;
  }

  .masthead {
    padding: 22px 20px 0;
    flex-wrap: wrap;
    gap: 14px;
  }

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

  .nav {
    order: 3;
    width: 100%;
    gap: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.08em;
    flex-wrap: wrap;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav__rule { display: none; }
  .nav__search { font-size: 14px; letter-spacing: 0; }
  .nav__icon { width: 14px; height: 14px; }

  .hero {
    padding: 0 20px 40px;
    min-height: 58vh;
  }

  .eyebrow {
    padding-top: 84px;
    max-width: none;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .headline br { display: none; }
  .headline {
    width: auto;
    max-width: none;
    margin-top: 14px;
    font-size: clamp(36px, 9.8vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .sub {
    width: auto;
    max-width: none;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 400;
  }

  .actions {
    margin-top: 28px;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
  }

  .btn {
    width: auto;
    height: auto;
    min-height: 48px;
    padding: 0 26px;
    font-size: 17px;
  }

  .btn-link {
    margin: 0;
    font-size: 16px;
    padding-bottom: 6px;
    border-bottom-width: 2px;
    white-space: nowrap;
  }

  .foot-rule { position: static; margin: 0 20px; height: 1px; }

  .footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 18px 20px 32px;
    font-size: 14px;
  }

  .footer__item, .footer__sep {
    position: static;
    white-space: normal;
  }

  .footer__sep { display: none; }
}
