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

:root { --ink: #f2f1ee; --panel: #272727; --red: #a70c10; }

body {
  margin: 0;
  display: flow-root;
  height: 8.64rem;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--panel);
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.photo {
  position: absolute;
  left: 8.35rem;
  top: 0;
  width: 7.01rem;
  height: 8.64rem;
  object-fit: cover;
}

.logo {
  position: absolute;
  left: 0.40rem;
  top: 0.28rem;
  font-family: "Libre Caslon Text", serif;
  font-size: 0.29rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  position: absolute;
  left: 2.67rem;
  top: 0.36rem;
  display: flex;
  gap: 0.42rem;
  font-size: 0.235rem;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.nav a { color: var(--ink); text-decoration: none; }

.rule { position: absolute; height: 0.01rem; background: rgba(242, 241, 238, 0.5); }
.rule--head { left: 0.40rem; top: 0.79rem; width: 7.99rem; }
.rule--foot { left: 0.40rem; top: 7.30rem; width: 7.58rem; }

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

.headline {
  position: absolute;
  left: 0.40rem;
  top: 1.70rem;
  margin: 0;
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-size: 0.79rem;
  line-height: 0.885rem;
  letter-spacing: -0.012em;
  width: 7.9rem;
}

.sub {
  position: absolute;
  left: 0.42rem;
  top: 4.91rem;
  margin: 0;
  font-size: 0.285rem;
  line-height: 0.38rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn {
  position: absolute;
  left: 0.38rem;
  top: 6.18rem;
  width: 1.92rem;
  height: 0.51rem;
  background: var(--red);
  color: #f5f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.215rem;
  text-decoration: none;
}

.btn-link {
  position: absolute;
  left: 2.63rem;
  top: 6.30rem;
  font-size: 0.22rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.05rem;
  white-space: nowrap;
}

.foot {
  position: absolute;
  left: 0.41rem;
  top: 7.45rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.176rem;
  line-height: 0.30rem;
  letter-spacing: 0.01em;
}
.foot p { margin: 0; }

@media (max-width: 900px) {
  html { font-size: 16px; }
  body { height: auto; min-height: 100vh; padding-bottom: 32px; }
  .photo {
    position: static;
    width: 100%;
    height: 42vh;
    object-fit: cover;
    order: 3;
  }
  body { display: flex; flex-direction: column; }
  .logo { position: static; padding: 18px 20px 0; font-size: 28px; }
  .nav {
    position: static; padding: 12px 20px 0; gap: 14px; font-size: 14px;
    flex-wrap: wrap; white-space: normal;
  }
  .rule { position: static; width: auto; margin: 14px 20px 0; height: 1px; }
  .eyebrow { position: static; padding: 18px 20px 0; font-size: 11px; letter-spacing: 0.12em; white-space: normal; }
  .headline {
    position: static; margin: 12px 20px 0; width: auto; max-width: none;
    font-size: clamp(32px, 9.6vw, 56px); line-height: 1.05;
  }
  .sub { position: static; margin: 16px 20px 0; font-size: 16px; line-height: 1.45; white-space: normal; }
  .btn {
    position: static; margin: 22px 20px 0; width: fit-content; min-height: 48px;
    padding: 0 22px; font-size: 16px;
  }
  .btn-link { position: static; display: inline-block; margin: 14px 20px 0; font-size: 16px; }
  .foot { position: static; margin: 22px 20px 0; font-size: 12px; line-height: 1.7; }
}
