/* FLOWR HAUS v5 · Clear Offer + Waitlist. One light palette by design: the machine's blush, gold and cocoa. */
:root {
  --blush-50: #fbf6f3;
  --blush-100: #f6ece6;
  --blush-200: #f3e4dc;
  --blush-300: #ead8cd;
  --line: #e6d3c8;
  --gold: #a8865a;
  --gold-soft: #c9a46b;
  --rose: #e07a98;
  --cocoa: #3a2a25;
  --cocoa-2: #4a3731;
  --ink-2: #5e4c45;
  --muted: #6b5750;
  --soft: #8d7a72;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pad-x: max(24px, env(safe-area-inset-left, 0px));
  --pad-x-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--blush-50); color: var(--cocoa); font: 300 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; color: var(--gold); font-weight: 300; }
strong { font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 18px 32px;
  background: var(--cocoa); color: var(--blush-50); border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font: 400 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: background-color .4s ease;
}
.btn:hover { background: var(--gold); color: var(--blush-50); }
.btn-sm { min-height: 44px; padding: 12px 22px; font-size: 12px; }
.text-link { font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--gold); padding: 6px 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--pad-x-r) 16px var(--pad-x);
  background: rgba(251, 246, 243, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .4s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: .4em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 28px; font-size: 14px; margin-left: auto; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--gold); }
@media (max-width: 860px) { .nav-links { display: none; } .wordmark { font-size: 20px; letter-spacing: .32em; } }
@media (max-width: 480px) { .nav .btn-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: 1240px; margin: 0 auto; padding: 48px var(--pad-x-r) 96px var(--pad-x); display: flex; flex-wrap: wrap; align-items: center; gap: 72px; }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-copy { position: relative; z-index: 1; flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.chip { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); background: var(--blush-200); padding: 8px 14px; }
.hero h1 { font-size: clamp(46px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.01em; }
.lede { margin: 0; font-size: 20px; color: var(--ink-2); max-width: 30em; }
.lede strong { color: var(--cocoa); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.proof { list-style: none; margin: 0; padding: 10px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.proof li::before { content: "✓ "; color: var(--gold); }
.hero-photo { position: relative; z-index: 1; flex: 0 1 440px; min-width: 0; margin: 0; padding: 18px; }

.frame { aspect-ratio: 531 / 644; overflow: hidden; outline: 1px solid rgba(168, 134, 90, .6); outline-offset: 17px; box-shadow: 0 40px 80px -48px rgba(58, 42, 37, .5); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; left: -28px; bottom: 64px; max-width: 230px; background: var(--white); padding: 14px 18px;
  box-shadow: 0 18px 40px -18px rgba(58, 42, 37, .4); display: flex; flex-direction: column; gap: 2px; font-size: 15px;
  animation: float 5s ease-in-out infinite;
}
.float-card span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 720px) {
  .hero { padding-top: 28px; gap: 40px; }
  .lede { font-size: 18px; }
  .float-card { left: 8px; bottom: 28px; }
}

/* ---------- Offer band ---------- */
.band { background: var(--cocoa); color: #f6ebe5; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding: 80px max(32px, calc((100vw - 1100px) / 2)); text-align: center; }
.band-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.band-big { font-family: var(--serif); font-size: 40px; line-height: 1.05; }
.band-big em { color: #e4c9b4; }
.band p { margin: 0; font-size: 15px; color: #cdb8ae; }

/* ---------- Waitlist ---------- */
.waitlist { max-width: 1240px; margin: 0 auto; padding: 120px var(--pad-x-r) 100px var(--pad-x); display: flex; flex-direction: column; gap: 40px; }
.waitlist-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.waitlist-head h2 { font-size: clamp(52px, 6vw, 92px); line-height: .98; }
.waitlist-head > p { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 32em; }
.city-check { width: 100%; max-width: 620px; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.city-check input { flex: 1 1 280px; min-width: 0; border: 1px solid #d8c2b6; background: var(--white); padding: 16px 20px; min-height: 58px; font: 300 17px/1.4 var(--sans); color: var(--cocoa); border-radius: 0; }
.city-check .btn { min-height: 58px; flex: 0 0 auto; }
.city-result { margin: 0; width: 100%; max-width: 620px; background: var(--white); border: 1px solid var(--blush-300); padding: 16px 22px; font-size: 17px; text-align: left; }
.city-result a { font-weight: 500; }
.map-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.map-canvas { position: relative; flex: 999 1 640px; min-width: 0; }
.map-canvas.is-unavailable #us-map { display: none; }
#us-map { width: 100%; height: auto; display: block; overflow: visible; }
#us-map .states path { fill: var(--blush-100); }
#us-map .borders { fill: none; stroke: #dcc3b6; stroke-width: .7; }
#us-map .nation { fill: none; stroke: var(--gold); stroke-width: 1.1; }
#us-map .dot { cursor: pointer; outline: none; }
#us-map .dot-core { fill: var(--rose); stroke: #fff8f5; stroke-width: 1.2; transition: fill .3s ease; }
#us-map .dot:hover .dot-core, #us-map .dot:focus .dot-core, #us-map .dot.is-mine .dot-core { fill: var(--gold); }
#us-map .dot-pulse { fill: none; stroke: var(--rose); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: dotpulse 3.2s ease-out infinite; }
#us-map .dot:focus-visible .dot-core { stroke: var(--cocoa); stroke-width: 2; }
@keyframes dotpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
.map-tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); pointer-events: none; white-space: nowrap; background: var(--cocoa); color: var(--blush-50); font-size: 13px; padding: 8px 14px; z-index: 2; }
.map-note { position: absolute; left: 4px; bottom: -6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.stats-panel { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.big-count { font-family: var(--serif); font-size: 88px; line-height: 1; font-variant-numeric: tabular-nums; }
.count-sub { margin: -6px 0 6px; font-size: 15px; color: var(--muted); }
.count-sub strong { color: var(--cocoa); }
.stats-panel h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.leaders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.leaders li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; font-size: 15px; }
.leader-n { font-family: var(--serif); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.leader-bar { grid-column: 1 / -1; height: 2px; background: #f1e1d9; }
.leader-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--rose), var(--gold)); }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding-top: 16px; }
.door { text-decoration: none; background: var(--white); border: 1px solid var(--blush-300); padding: 30px 32px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s ease, box-shadow .35s ease; }
.door:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(58, 42, 37, .45); }
.door span { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.door strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.door-dark { background: var(--cocoa); color: #f6ebe5; border-color: var(--cocoa); }
.door-dark span { color: var(--gold-soft); }
.door-dark:hover { color: #f6ebe5; }

/* ---------- Gives / brings ---------- */
.split { background: var(--blush-100); }
.split-inner { max-width: 1240px; margin: 0 auto; padding: 110px var(--pad-x-r) 110px var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.card { padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.card h2 { font-size: 38px; }
.card-white { background: var(--white); box-shadow: 0 30px 60px -48px rgba(58, 42, 37, .5); }
.card-line { border: 1px solid var(--line); }
.icon-list, .num-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.icon-list li { display: flex; gap: 16px; align-items: flex-start; }
.icon-list svg { flex: none; width: 26px; height: 26px; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.icon-list div, .num-list li { display: flex; flex-direction: column; }
.icon-list span, .num-list span { color: var(--muted); }
.num-list { counter-reset: n; }
.num-list li { position: relative; padding-left: 40px; counter-increment: n; }
.num-list li::before { content: "0" counter(n); position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 500; }
@media (max-width: 720px) { .card { padding: 30px 24px; } }

/* ---------- How it works ---------- */
.how { max-width: 1240px; margin: 0 auto; padding: 110px var(--pad-x-r) 110px var(--pad-x); display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.05; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--gold); }
.step-n { width: 40px; height: 40px; border-radius: 999px; background: var(--blush-200); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 14px; }
.steps li:first-child .step-n { background: var(--cocoa); color: var(--blush-50); }
.steps h3 { font-weight: 500; font-size: 26px; line-height: 1.1; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--blush-200); }
.faq-inner { max-width: 1000px; margin: 0 auto; padding: 110px var(--pad-x-r) 110px var(--pad-x); display: flex; flex-direction: column; gap: 36px; }
.faq h2 { text-align: center; font-size: clamp(40px, 4.4vw, 60px); }
.faq dl { margin: 0; }
.faq dl > div { padding: 24px 0; border-top: 1px solid #dfc9bd; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 40px; }
.faq dt { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.faq dd { margin: 0; color: var(--ink-2); }

/* ---------- Founder ---------- */
.founder { max-width: 1240px; margin: 0 auto; padding: 110px var(--pad-x-r) 40px var(--pad-x); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.founder-photo { flex: 0 1 300px; min-width: 0; margin: 0; padding: 18px; }
.founder-photo .frame { aspect-ratio: 528 / 648; box-shadow: none; }
.founder blockquote { flex: 1 1 480px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.founder blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.18; }
.founder cite { font-style: normal; font-size: 14px; color: var(--muted); }

/* Instagram strip */
.ig { max-width: 1240px; margin: 0 auto; padding: 72px var(--pad-x-r) 40px var(--pad-x); }
.ig-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ig-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ig-grid a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush-200); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.ig-grid a:hover img, .ig-grid a:focus-visible img { transform: scale(1.04); filter: brightness(1.04); }
.ig-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(58, 42, 37, .7)); }
@media (max-width: 860px) {
  .ig-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--pad-x-r)); padding-right: var(--pad-x-r); scrollbar-width: none; }
  .ig-grid::-webkit-scrollbar { display: none; }
  .ig-grid li { scroll-snap-align: start; }
}
@media (max-width: 480px) { .ig-grid { grid-auto-columns: 64%; } }

/* ---------- Join ---------- */
.join { max-width: 1240px; margin: 0 auto; padding: 100px var(--pad-x-r) 120px var(--pad-x); }
.join-card { background: var(--white); padding: 56px; box-shadow: 0 40px 80px -56px rgba(58, 42, 37, .5); display: flex; flex-direction: column; gap: 36px; }
.join-head { display: flex; flex-direction: column; gap: 16px; }
.join-head h2 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.02; }
.join-head p { margin: 0; color: var(--ink-2); max-width: 40em; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.tab { font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: var(--blush-100); border: 0; padding: 16px 22px; min-height: 48px; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.tab.is-active { background: var(--cocoa); color: var(--blush-50); }
.join-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 28px; }
.join-form[hidden] { display: none; }
.join-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.join-form input, .join-form select, .join-form textarea {
  border: 1px solid #dcc8bd; background: var(--blush-50); padding: 12px 14px; min-height: 48px; border-radius: 0;
  font: 300 16px/1.4 var(--sans); color: var(--cocoa);
}
.join-form textarea { resize: vertical; }
.join-form .is-missing { border-color: #b3401f; }
.join-form .full { grid-column: 1 / -1; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 6px; }
.form-status { margin: 0; flex: 1 1 260px; font-size: 15px; color: var(--muted); }
@media (max-width: 720px) {
  .join-card { padding: 32px 22px; }
  .tabs { flex-direction: column; }
  .tab { text-align: left; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 32px var(--pad-x-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--pad-x); font-size: 14px; color: var(--soft); }
.footer .wordmark { font-size: 20px; color: var(--cocoa); }

/* ---------- Phone: always-visible sign-up ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: flex; position: fixed; z-index: 50;
    left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 16px 40px -14px rgba(58, 42, 37, .6); transition: transform .4s ease, opacity .4s ease;
  }
  .mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; }
  .mobile-cta { transition: transform .4s ease, opacity .4s ease, background-color .35s ease, color .35s ease; }
  .mobile-cta.on-dark { background: var(--blush-50); color: var(--cocoa); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .float-card, #us-map .dot-pulse { animation: none; }
  .door, .btn { transition: none; }
}

/* Nothing may ever push the page sideways on a phone. */
html, body { overflow-x: clip; }
