/* -------------------------------------------------------
   The Cha Center — waitlist landing page
   Palette and type pulled directly from The Cha Foundation's
   site so the two feel like one family: white, navy, gold,
   sage, blush. Same fonts, same header/hero shape.
   ------------------------------------------------------- */

:root {
  --color-white: #ffffff;
  --color-bg-soft: #f7f7f5;
  --color-navy-tint: #e8ecf2;

  --color-navy: #1c2b47;
  --color-navy-dark: #12203a;

  --color-gold: #c69a4e;
  --color-gold-dark: #a17d38;
  --color-gold-tint: #f6ecd8;

  --color-sage: #8ca487;
  --color-sage-dark: #6d8869;
  --color-sage-tint: #edf2ec;

  --color-blush: #dba9a3;
  --color-blush-dark: #c48981;
  --color-blush-tint: #faf0ee;

  --color-text: #1f2530;
  --color-text-light: #5b6270;
  --color-border: #e2e5eb;

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --max-width: 1160px;

  --shadow-sm: 0 3px 10px rgba(28, 43, 71, 0.08);
  --shadow-md: 0 12px 32px -6px rgba(28, 43, 71, 0.16);
  --shadow-lg: 0 24px 55px -18px rgba(28, 43, 71, 0.26);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.55em;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
p { margin: 0 0 1em; }

a { color: var(--color-navy); }

img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-gold {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 1px 2px rgba(161, 125, 56, 0.15);
}
.btn-gold:hover {
  background: var(--color-gold-dark);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(161, 125, 56, 0.55);
}

.btn-block { display: block; width: 100%; }

/* -------------------- Header -------------------- */

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 46px;
  min-height: 0;
  object-fit: contain;
  border-radius: 0;
  background: none;
}

.header-actions .btn {
  padding: 0.65rem 1.3rem;
  font-size: 0.88rem;
}

/* -------------------- Hero -------------------- */

.hero {
  background: var(--color-bg-soft);
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .hero { padding: 1.25rem 0 2rem; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 0.6rem;
  background: var(--color-gold);
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.hero-photo { position: relative; }

.hero-photo::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 60%;
  height: 60%;
  background: var(--color-blush-tint);
  border-radius: var(--radius);
  z-index: 0;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  min-height: 0;
}

/* -------------------- Waitlist form -------------------- */

.waitlist-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.3rem;
}

.field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: var(--font-body);
  background: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-tint);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.76rem;
  color: var(--color-text-light);
  margin: 0.3rem 0 0;
}

.status-message {
  margin-top: 0.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.status-message.success {
  display: block;
  background: var(--color-sage-tint);
  color: var(--color-sage-dark);
}

.status-message.error {
  display: block;
  background: var(--color-blush-tint);
  color: var(--color-blush-dark);
}

/* -------------------- Footer -------------------- */

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.site-footer a { color: var(--color-text-light); }
