/* =========================
   Variables
========================= */
:root {
  --bg: #f6f3ee;
  --text: #1a1814;
  --muted: #8a8278;
  --gold: #8a6525;
  --gold-mid: rgba(138,101,37,0.65);
  --border-light: rgba(0,0,0,0.07);
  --border-mid: rgba(0,0,0,0.11);
}

/* =========================
   Reset + Base
========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* =========================
   Header
========================= */
.site-header {
  padding: 28px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.header-logo img { height: 30px; width: auto; display: block; }

.header-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-icon {
  display: flex;
  align-items: center;
  cursor: default;
}

.header-icon img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) opacity(0.4);
}

/* =========================
   Main
========================= */
.page-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 80px 80px;
  text-align: center;
}

/* =========================
   Hero
========================= */
.opening-title {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(52px, 8.5vw, 100px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -1.5px;
  color: var(--text);
}

.opening-title span { color: var(--gold); }

.title-rule {
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.45;
  margin: 28px auto;
}

.opening-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 30px;
  letter-spacing: 0.1px;
}

.opening-hint {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hint-line {
  opacity: 0.35;
  letter-spacing: 0;
}

/* =========================
   Waitlist
========================= */
.waitlist-wrap { width: 100%; max-width: 400px; margin: 0 auto; }

.waitlist-form { display: flex; gap: 8px; }

.waitlist-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 12px 18px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.waitlist-input::placeholder { color: rgba(26,24,20,0.28); }
.waitlist-input:focus { border-color: var(--gold); }

.waitlist-btn {
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  background: #9a7030;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.2px;
}

.waitlist-btn:hover { background: #7f5c28; }
.waitlist-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.waitlist-status {
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
  color: var(--muted);
}

.waitlist-status.ok { color: #4a8c6a; }
.waitlist-status.error { color: #b05050; }

/* =========================
   Footer
========================= */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 120px 28px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.footer-copy { font-size: 13px; color: #aaa; }

.footer-brand-link {
  font-size: 13px;
  color: #aaa;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-brand-link:hover { color: var(--text); }

/* =========================
   Reveal
========================= */
.reveal { opacity: 0; transform: translateY(20px); }

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* =========================
   Mobile
========================= */
@media (max-width: 640px) {
  .site-header { padding: 0 28px; min-height: 64px; align-items: center; }
  .header-logo img { height: 24px; }
  .header-icons { gap: 14px; }
  .header-icon img { width: 18px; height: 18px; }
  .page-wrap { padding: 36px 28px 52px; }
  .opening-title { font-size: 38px; letter-spacing: -0.5px; line-height: 1.05; }
  .title-rule { margin: 18px auto; }
  .opening-sub { font-size: 14px; margin-bottom: 20px; max-width: 100%; }
  .opening-hint { font-size: 9px; letter-spacing: 2.5px; margin-bottom: 24px; }
  .waitlist-wrap { max-width: 100%; }
  .footer-copy, .footer-brand-link { font-size: 12px; }
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 28px 24px;
  }
  .waitlist-form { flex-direction: column; }
  .waitlist-btn { width: 100%; }
}
