@font-face {
  font-family: Jost;
  src: url("assets/fonts/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --onyx: #0B0B0C;
  --graphite: #1C1C1E;
  --champagne: #C8A96A;
  --pewter: #7A7A7A;
  --ivory: #F5F5F2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--onyx);
  color: var(--ivory);
  font: 400 16px/1.7 Jost, system-ui, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ivory); text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Nav */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(11,11,12,.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

nav .logo svg {
  display: block;
  height: 48px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav ul a {
  color: var(--ivory);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

nav ul a:hover { color: var(--champagne); }

/* Hero: fixed px height so full-page screenshots are not stretched by 100vh */
.hero {
  position: relative;
  height: 860px;
  overflow: hidden;
  background: var(--onyx);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 56%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11,11,12,.78) 0%, rgba(11,11,12,.2) 40%, rgba(11,11,12,.12) 100%),
    linear-gradient(to right, rgba(11,11,12,.58) 0%, rgba(11,11,12,.2) 38%, rgba(11,11,12,0) 62%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 88px;
}

.hero h1 {
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px);
  letter-spacing: .02em;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 11ch;
}

.hero p {
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ivory);
  max-width: 24em;
  opacity: .92;
}

.nowrap { white-space: nowrap; }

/* Sections */
section {
  padding: 100px 0;
  border-top: 1px solid var(--graphite);
}

.eyebrow {
  color: var(--pewter);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2 {
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: .01em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.lead {
  max-width: 36em;
  font-weight: 300;
  font-size: 18px;
  color: #c8c8c4;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
}

.item {
  border-top: 1px solid #2a2a2c;
  padding-top: 22px;
}

.item h3 {
  font-weight: 400;
  font-size: 18px;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.item p {
  font-weight: 300;
  font-size: 16px;
  color: #b3b3b0;
}

.soon {
  margin-top: 48px;
  color: var(--pewter);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

figure { margin: 0; }

figure img {
  width: 100%;
  height: auto;
}

figcaption {
  margin-top: 16px;
  color: var(--pewter);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .04em;
}

/* Form: the champagne button is the single accent in this section */
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  max-width: 640px;
  margin-top: 36px;
}

input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #3a3a3c;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-weight: 300;
  border-radius: 0;
}

input::placeholder { color: var(--pewter); }

input:focus {
  outline: none;
  border-bottom-color: var(--ivory);
}

.btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 12px;
  background: var(--champagne);
  color: var(--onyx);
  border: 0;
  padding: 14px 32px;
  font: 400 13px/1 Jost, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.06); }

.btn:focus-visible {
  outline: 1px solid var(--ivory);
  outline-offset: 3px;
}

/* Footer */
footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--graphite);
  color: var(--pewter);
  font-size: 14px;
  font-weight: 400;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.socials a {
  color: var(--pewter);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.socials a:hover { color: var(--ivory); }

.foot-meta { text-align: right; }

.foot-meta a {
  color: var(--pewter);
}

.foot-meta a:hover { color: var(--ivory); }

.foot-meta p { margin-top: 8px; }

@media (max-width: 800px) {
  .wrap { padding: 0 22px; }

  nav .wrap {
    height: auto;
    padding-top: 8px;
    padding-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  nav .logo svg { height: 36px; }

  nav ul { width: 100%; gap: 18px; }

  nav ul a { font-size: 10px; letter-spacing: .12em; }

  .hero { height: 620px; }

  .hero-photo { object-position: 68% 62%; }

  .hero-copy { padding-bottom: 48px; padding-top: 96px; }

  .hero h1 { max-width: 10ch; }

  section { padding: 72px 0; }

  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  form { grid-template-columns: 1fr; }

  .btn { width: 100%; justify-self: stretch; }

  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-meta { text-align: left; }
}

@media (max-width: 420px) {
  .hero { height: 560px; }
  .wrap { padding: 0 20px; }
}
