/* Catalina Edit — holding page (kitchen design)
   Palette: charcoal #2B2926, linen #F4F0EA, greige #CABBAA, muted #5A544E */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #2B2926;
  background: #F4F0EA;
  -webkit-font-smoothing: antialiased;
}

a { color: #2B2926; text-underline-offset: 3px; }
a:hover { color: #5A544E; }

/* Desktop: text panel left, photo right */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
}

.content {
  flex: 0 0 46%;
  min-width: 0;
  padding: 48px 56px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
}

.photo {
  flex: 1 1 auto;
  min-height: 420px;
  background: #DBD4CB url("images/hero.jpg") center / cover no-repeat;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.34em;
}

.hero {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5A544E;
}

h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.08;
  text-wrap: balance;
}

.lede {
  margin: 0;
  text-wrap: pretty;
  font-size: 18px;
  line-height: 1.55;
  color: #47423D;
}

/* Form */
.waitlist {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label { font-size: 15px; font-weight: 600; }

/* Keep a completed form hidden despite its normal flex layout. */
.waitlist[hidden] { display: none; }

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.waitlist input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #CABBAA;
  border-radius: 0;
  background: #FFFFFF;
  color: #2B2926;
  font: inherit;
  font-size: 16px; /* 16px stops iPhones zooming in */
  -webkit-appearance: none;
  appearance: none;
}
.waitlist input[type="email"]::placeholder { color: #8A827A; }
.waitlist input[type="email"]:focus-visible { outline: 2px solid #2B2926; outline-offset: 2px; }
.waitlist input[aria-invalid="true"] { border-color: #9A5B45; }

.waitlist button {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: #2B2926;
  color: #FFFFFF;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.waitlist button:hover { background: #47423D; }
.waitlist button:focus-visible { outline: 2px solid #2B2926; outline-offset: 2px; }
.waitlist button[disabled] { opacity: 0.7; cursor: wait; }
.btn-long { display: none; }

.form-status {
  margin: -6px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.form-status:empty { display: none; }

.notice {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5A544E;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: #5A544E;
}
.site-footer a { color: #5A544E; }
.site-footer a:hover { color: #2B2926; }

/* Spam trap */
.hp { position: absolute; left: -9999px; }

/* Tablet: give the text a little more room */
@media (max-width: 1100px) {
  .content { flex-basis: 52%; padding: 40px 40px 28px; }
  h1 { font-size: 46px; }
}

/* Phone: a clear brand header, then the photo and signup content */
@media (max-width: 760px) {
  .page { flex-direction: column; }
  .photo {
    order: -1;
    flex: 0 0 300px;
    min-height: 300px;
  }
  .content {
    display: contents;
  }
  .logo {
    order: -2;
    flex: 0 0 auto;
    padding: 18px 22px 18px calc(22px + 0.34em);
    background: #F4F0EA;
    color: #2B2926;
    text-align: center;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0.34em;
  }
  .hero { flex: 1 0 auto; max-width: none; gap: 16px; padding: 30px 22px 0; }
  .eyebrow { font-size: 12px; }
  h1 { font-size: 36px; line-height: 1.1; }
  .lede { font-size: 16px; }
  .field-row { flex-direction: column; }
  .waitlist input[type="email"], .waitlist button { flex: none; width: 100%; height: 50px; }
  .btn-long { display: inline; }
  .notice { font-size: 12px; }
  .site-footer { padding: 36px 22px 18px; gap: 8px 22px; font-size: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.8s ease-out both; }
  .hero > *:nth-child(2) { animation-delay: 0.08s; }
  .hero > *:nth-child(3) { animation-delay: 0.16s; }
  .hero > *:nth-child(n+4) { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Legal links: a separate, wrapping footer row on every screen. */
.legal-links { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a:focus-visible { outline: 2px solid #2B2926; outline-offset: 3px; }
