/* LIMBO pre-launch landing page
   Palette: warm cream #f6f1e8, black ink, white cards
   Type: Cormorant Garamond (headlines) + Inter (labels/body) */

:root {
  --cream: #f6f1e8;
  --cream-deep: #efe7d6;
  --ink: #1a1a1a;
  --muted: #6f6759;
  --white: #ffffff;
  --hairline: #ddd2bd;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

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

.honeypot { position: absolute; left: -9999px; }

/* ---------- Micro labels ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05em 2.2em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}
.btn:hover { background: #33302b; }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.45em;
  text-decoration: none;
  color: var(--ink);
  text-indent: 0.45em; /* optically recenter letterspaced text */
}
.wordmark-light { color: var(--cream); }

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-social { display: flex; gap: 1rem; align-items: center; }
.nav-social a { color: var(--ink); display: inline-flex; }
.nav-social svg { width: 20px; height: 20px; }
.nav-social a:hover { opacity: 0.6; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: calc(100vh - 72px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  line-height: 1.02;
  margin: 1.4rem 0 0.6rem;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 2.2rem;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-bottom: 0.9rem;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--hairline);
  background: var(--white);
  padding: 1.05em 1.2em;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.email-form input[type="email"]::placeholder { color: #a39a86; }
.email-form input[type="email"]:focus {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.email-form .btn { white-space: nowrap; }

.microcopy {
  font-size: 13px;
  color: var(--muted);
}

.hero-media { position: relative; overflow: hidden; min-height: 480px; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- The Third Destination ---------- */
.destinations {
  background: var(--white);
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 5rem);
}

.dest-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}

.dest-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
}
.dest-step { text-align: center; flex: 0 1 200px; }
.dest-step img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fafafa;
}
.dest-step figcaption { margin-top: 1rem; }
.dest-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.dest-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}
.dest-arrow {
  font-size: 1.8rem;
  color: var(--ink);
  flex: 0 0 auto;
}

.dest-copy { font-size: 1.05rem; }
.dest-copy p + p { margin-top: 0.4rem; }
.dest-copy .dest-cta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  margin-top: 1.2rem;
}

/* ---------- Survey ---------- */
.survey {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.survey-media { min-height: 420px; position: relative; overflow: hidden; }
.survey-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.survey-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--cream);
}
.survey-question {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin: 1.2rem 0 2rem;
}

.pill-group {
  border: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.pill { cursor: pointer; }
.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid transparent;
  padding: 0.85em 0.5em;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pill span::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  flex: 0 0 auto;
}
.pill:hover span { border-color: var(--hairline); }
.pill:has(input:checked) span {
  background: var(--ink);
  color: var(--cream);
}
.pill:has(input:checked) span::before { border-color: var(--cream); }
.pill:has(input:focus-visible) span { outline: 2px solid var(--ink); outline-offset: 2px; }

.chair-cta { margin-top: 1.1rem; }
.chair-cta a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.chair-cta a:hover { opacity: 0.6; }

/* ---------- Show Us Your Chair ---------- */
.syc {
  background: var(--cream-deep);
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 5rem);
}
.syc-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.syc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  margin: 1.2rem 0 0.8rem;
}
.syc-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}
.syc-rules {
  margin-top: 1.1rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.syc form {
  margin-top: 2.2rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
}
.upload-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  border: 1.5px dashed var(--hairline);
  background: var(--cream);
  padding: 2.2rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.upload-drop:hover { border-color: var(--ink); }
.upload-drop svg { width: 28px; height: 28px; color: var(--ink); }
.upload-drop span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.upload-drop input[type="file"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.file-name {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.6rem;
  min-height: 1.2em;
}
.consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin: 1.2rem 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}
.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--ink);
}
.syc-q {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.syc-q .optional { color: var(--muted); font-weight: 400; }
.syc-text {
  width: 100%;
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 1em 1.2em;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.syc-text::placeholder { color: #a39a86; }
.syc-text:focus { outline: 2px solid var(--ink); outline-offset: -2px; }

/* ---------- Value props ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--cream);
}
.value {
  text-align: center;
  padding: 1rem 2rem;
}
.value + .value { border-left: 1px solid var(--hairline); }
.value svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.1rem;
  color: var(--ink);
}
.value p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 2;
}

/* ---------- Quote ---------- */
.quote {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 7rem) 1.5rem;
  background: url('images/bedding-quote.jpg') center / cover no-repeat;
}
.quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(246, 241, 232, 0.72), rgba(246, 241, 232, 0.55));
}
.quote blockquote {
  position: relative;
  max-width: 760px;
}
.quote blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.35;
}
.quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 3rem 1.5rem;
}
.footer .wordmark { font-size: 1.1rem; margin-bottom: 0.8rem; display: block; }
.copyright { font-size: 13px; color: #b9b0a0; }

/* ---------- Form success state ---------- */
.form-success {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  padding: 1rem 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-social { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
  }
  .nav-social.open { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 60vh; order: 2; }
  .hero-copy { order: 1; }

  .dest-grid { grid-template-columns: 1fr; }
  .dest-steps { flex-direction: column; }
  .dest-step { flex: 0 1 auto; width: min(260px, 80%); }
  .dest-arrow { transform: rotate(90deg); }
  .dest-copy { text-align: center; max-width: 34rem; margin: 0 auto; }

  .survey { grid-template-columns: 1fr; }
  .survey-media { min-height: 50vh; }
  .pill-group { grid-template-columns: repeat(2, 1fr); }

  .values { grid-template-columns: 1fr; gap: 2.5rem; }
  .value + .value { border-left: 0; border-top: 1px solid var(--hairline); padding-top: 2.5rem; }

  .email-form { flex-direction: column; max-width: 100%; }
  .email-form .btn { width: 100%; }
}
