:root {
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.28);
  --field: rgba(0, 0, 0, 0.45);
  --warn: #ffc9b8;
  --accent: #c8a96a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html { overflow-x: hidden; }

body {
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

body.waitlist {
  position: relative;
  background: #0a0a0a;
}

.photo {
  position: fixed;
  inset: 0;
  background: url("friends-bg.jpg") center 35% / cover no-repeat;
  z-index: 0;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.28) 40%,
      rgba(0, 0, 0, 0.55) 100%
    );
}

body.waitlist .nav,
body.waitlist .hero {
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 28px 0;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.nav-link:hover { color: var(--ink); }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100svh - 56px);
  padding: 12px 24px 48px;
}

.mark {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 14px 18px;
  width: min(1100px, 96vw);
  margin: 0 0 28px;
}

.mark img {
  display: block;
  width: min(820px, 78vw);
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.5));
}

.club,
.brand .club {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.6vw, 36px);
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}

.tagline {
  width: min(28em, 92%);
  margin: 0 auto 32px;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.45;
  color: var(--muted);
}

.fields {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fields .field,
.join {
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fields .field {
  width: 100%;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  color: var(--ink);
  background-color: rgba(12, 12, 12, 0.55);
}

.fields .field::placeholder,
.join input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.fields .field:focus {
  outline: 1px solid rgba(255, 255, 255, 0.55);
}

/* Chrome/Safari autofill paints yellow/blue — force dark glass look */
.fields .field:-webkit-autofill,
.fields .field:-webkit-autofill:hover,
.fields .field:-webkit-autofill:focus,
.fields .field:-webkit-autofill:active,
.join input:-webkit-autofill,
.join input:-webkit-autofill:hover,
.join input:-webkit-autofill:focus,
.join input:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  border-radius: 999px;
  transition: background-color 99999s ease-out 0s !important;
  box-shadow: 0 0 0 1000px rgba(12, 12, 12, 0.92) inset !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(12, 12, 12, 0.92) inset !important;
}

.join {
  display: flex;
  width: 100%;
  gap: 8px;
  border-radius: 999px;
  padding: 6px;
}

.join input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  font: inherit;
  color: var(--ink);
  min-width: 0;
  border-radius: 999px;
}

.join input:focus { outline: none; }

.join button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.join button:disabled {
  opacity: 0.55;
  cursor: default;
}

.hidden { display: none !important; }

.note {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.banner {
  margin-top: 14px;
  font-size: 14px;
  color: var(--warn);
  min-height: 1.2em;
}

.success {
  width: min(480px, 100%);
}

.success h2 {
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(18px, 3.5vw, 26px);
  margin: 0 0 12px;
}

.success p,
.share-lead {
  margin: 0 0 1em;
  color: var(--muted);
}

.share-lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--ink);
  line-height: 1.4;
}

.share-box {
  display: flex;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--field);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 12px;
}

.share-box input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  padding: 10px 14px;
  min-width: 0;
}

.share-box input:focus { outline: none; }

.share-box button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cta {
  display: inline-block;
  margin-top: 0;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* About */
body.interior {
  background: #0a0a0a;
}

body.interior .nav {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 28px 24px 0;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 20px;
  width: auto;
  display: block;
}

.brand .club {
  font-size: 16px;
  margin: 0;
}

.about {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.about h1,
.about h2 {
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.about h1 {
  font-size: clamp(20px, 3.5vw, 28px);
}

.about h2 {
  font-size: 13px;
  margin: 2.4em 0 0.7em;
  color: var(--accent);
}

.about .lede {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 1.6em;
  color: var(--ink);
}

.about p {
  margin: 0 0 1em;
  color: var(--muted);
}

@media (max-width: 640px) {
  .nav { padding: 18px 18px 0; }
  .mark {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .mark img { width: min(92vw, 420px); }
  .club { font-size: 20px; }
  .join,
  .share-box {
    flex-direction: column;
    border-radius: 22px;
    padding: 10px;
  }
  .join button,
  .share-box button { width: 100%; }
}
