:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #f4f3ed;
  --muted: rgba(244, 243, 237, 0.68);
  --line: rgba(244, 243, 237, 0.2);
  --accent: #c9e7ca;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  background: #0b1512 url("../wp-content/uploads/2014/09/A60A1793-2.jpg") center 43% / cover no-repeat fixed;
  color: var(--ink);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(100deg, rgba(5, 13, 11, 0.94) 0%, rgba(7, 18, 15, 0.83) 43%, rgba(7, 16, 14, 0.3) 100%),
    linear-gradient(0deg, rgba(4, 11, 9, 0.48), transparent 55%);
}

body::after {
  background: radial-gradient(circle at 80% 18%, rgba(201, 231, 202, 0.14), transparent 28%);
  mix-blend-mode: screen;
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 64px) clamp(24px, 6vw, 96px) clamp(24px, 3vw, 48px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

.wordmark-name {
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.wordmark-city {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.status-chip {
  padding: 9px 14px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

main {
  display: flex;
  align-items: center;
  padding: clamp(70px, 12vh, 160px) 0;
}

.hero {
  max-width: 910px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(22px, 3vh, 38px);
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(72px, 11vw, 166px);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-wrap: balance;
}

.intro {
  max-width: 560px;
  margin: clamp(34px, 5vh, 60px) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.subscribe-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(320px, 1.28fr);
  gap: 24px 34px;
  align-items: end;
  max-width: 720px;
  margin-top: clamp(28px, 4vh, 44px);
  padding-top: clamp(24px, 3vh, 34px);
  border-top: 1px solid var(--line);
}

.subscribe-copy p {
  margin: 0;
}

.subscribe-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.subscribe-note {
  margin-top: 7px !important;
  color: rgba(244, 243, 237, 0.5);
  font-size: 11px;
  line-height: 1.45;
}

.subscribe-controls {
  display: flex;
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(244, 243, 237, 0.26);
  border-radius: 999px;
  background: rgba(5, 13, 11, 0.34);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.subscribe-controls:focus-within {
  border-color: rgba(201, 231, 202, 0.75);
  background: rgba(5, 13, 11, 0.52);
}

.subscribe-controls input[type="email"] {
  min-width: 0;
  flex: 1;
  padding: 12px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.subscribe-controls input[type="email"]::placeholder {
  color: rgba(244, 243, 237, 0.48);
}

.subscribe-controls button {
  flex: none;
  padding: 12px 19px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #102018;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.subscribe-controls button:hover {
  background: #e1f2df;
  transform: translateY(-1px);
}

.subscribe-controls button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 0;
  color: rgba(244, 243, 237, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.progress::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(201, 231, 202, 0.1);
  content: "";
}

.site-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: rgba(244, 243, 237, 0.46);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  body {
    background-position: 60% 44%;
    background-attachment: scroll;
  }

  body::before {
    background:
      linear-gradient(105deg, rgba(5, 13, 11, 0.94) 0%, rgba(7, 18, 15, 0.78) 70%, rgba(7, 16, 14, 0.56) 100%),
      linear-gradient(0deg, rgba(4, 11, 9, 0.58), transparent 60%);
  }

  .site-shell {
    padding: 26px 22px 24px;
  }

  .status-chip {
    padding: 8px 11px 7px;
    letter-spacing: 0.12em;
  }

  main {
    padding: 80px 0 90px;
  }

  .eyebrow {
    align-items: flex-start;
    max-width: 24ch;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(66px, 22vw, 104px);
    letter-spacing: -0.07em;
  }

  .intro {
    max-width: 35ch;
    margin-top: 34px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .status-chip {
    display: none;
  }

  h1 {
    font-size: clamp(62px, 22vw, 88px);
  }

  .subscribe-controls {
    align-items: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .subscribe-controls input[type="email"] {
    margin-right: 8px;
    padding: 13px 14px;
    border: 1px solid rgba(244, 243, 237, 0.28);
    border-radius: 999px;
    background: rgba(5, 13, 11, 0.42);
  }

  .subscribe-controls button {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: reveal 700ms both cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .hero > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero > :nth-child(3) {
    animation-delay: 160ms;
  }

  .hero > :nth-child(4) {
    animation-delay: 240ms;
  }

  .hero > :nth-child(5) {
    animation-delay: 320ms;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
