:root {
  --black: #0a0a0a;
  --bone: #ece6d8;      /* Pantone 12-0105 Bone White — the brand print colour */
  --fg: #ffffff;
  --muted: #b9b6ad;
  --error: #ff6b60;
  --success: #b9e6b0;
  --field-bg: rgba(10, 10, 10, 0.55);
  --field-line: rgba(236, 230, 216, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--black);
  color: var(--fg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 44px);
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: 65% center;
  overflow: hidden;
}

/* Darkening + vignette for text legibility */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 100%),
    linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

/* ---- Top bar ------------------------------------------------------------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mark {
  height: clamp(46px, 7vw, 66px);
  width: auto;
  display: block;
}

.est {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--bone);
  text-transform: uppercase;
}

/* ---- Content ------------------------------------------------------------- */
.content {
  margin-top: auto;
  max-width: 540px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0 0 18px;
}

.wordmark {
  width: min(360px, 78vw);
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.lede {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 440px;
}

/* ---- Form ---------------------------------------------------------------- */
.field {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  background: var(--field-bg);
  border: 1px solid var(--field-line);
  color: var(--fg);
  padding: 15px 16px;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 2px;
  outline: none;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s ease;
}

input[type="email"]::placeholder { color: #8f8c84; }
input[type="email"]:focus { border-color: var(--bone); }

button {
  flex: 0 0 auto;
  background: var(--bone);
  color: #0a0a0a;
  border: none;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

button:hover { opacity: 0.9; }
button:active { transform: translateY(1px); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.message {
  min-height: 18px;
  font-size: 14px;
  margin: 14px 0 0;
}
.message.error { color: var(--error); }
.message.success { color: var(--success); }

.microcopy {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6f6d66;
  margin: 16px 0 0;
}

/* ---- Footer -------------------------------------------------------------- */
.footpad {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f6d66;
}
.footpad .tm { color: var(--bone); opacity: 0.7; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 600px) {
  .hero { background-position: 72% center; }
  .field { flex-direction: column; align-items: stretch; }
  input[type="email"] { flex: 0 0 auto; width: 100%; }
  button { width: 100%; }
  .footpad { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (min-width: 900px) {
  .content { margin-bottom: 6vh; }
}
