/* SPUR — deal-led landing (EatClub-style structure, Spur editorial voice) */

/* ---------- Hero ---------- */
.dh-hero {
  position: relative;
  /* The site uses html { zoom: .9 }, so an unadjusted 100vh leaves the
     next section visible at the foot of a desktop viewport. */
  min-height: calc(100svh / 0.9);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: calc(96px + 4vw) var(--gutter) clamp(48px, 6vw, 96px);
  text-align: left;
}
@media (max-width: 900px) {
  .dh-hero { min-height: 0; }
}
.dh-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.dh-hero__headline {
  font-size: clamp(48px, 6.4vw, 104px);
  margin: 22px 0 0;
}
.dh-hero__headline em {
  font-family: var(--font-statement);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.dh-hero__sub {
  max-width: 520px;
  margin: 26px 0 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-70);
  text-wrap: pretty;
}

/* Search pill */
.dh-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin: 38px 0 0;
}
.dh-search__pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: 0 12px 32px rgba(17,17,17,0.06);
}
.dh-search__pill select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 26px 10px 8px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.dh-search__divider { width: 1px; height: 22px; background: var(--rule-strong); }
.dh-search__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta);
  color: #fff;
  border-radius: 999px;
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.dh-search__cta:hover { background: var(--cta-strong); transform: translateY(-1px); }

/* Hero illustration (right column) */
.dh-hero__art {
  /* Match the artwork's own ratio so `contain` leaves no letterbox bands —
     the slot's internal frame fill is a cool grey and reads as blue streaks. */
  aspect-ratio: 1948 / 1328;
  max-width: 620px;
  width: 100%;
  justify-self: end;
}
/* Match the letterbox bands to the page — the generic image-slot grey is a
   cooler blue than the bone paper and reads as a panel edge. */
.dh-hero__art image-slot { width: 100%; height: 100%; background: var(--paper) !important; }

/* ---------- Deal ticker ---------- */
.dh-ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #fff;
  padding: 34px 0;
  overflow: hidden;
}
.dh-ticker__head {
  text-align: center;
  margin: 0 0 26px;
}
.dh-ticker__rows { display: grid; gap: 14px; }
.dh-ticker__row {
  display: flex;
  gap: 14px;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
}
.dh-ticker__row--a, .dh-ticker__row--b { animation: none; }
@keyframes dh-marquee { to { transform: translateX(-50%); } }
.dh-ticker__row:hover { animation-play-state: paused; }
.dh-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 12px 8px 12px 20px;
  font-size: 15px;
  background: var(--paper);
  transition: border-color 0.2s var(--ease-out);
}
.dh-chip:hover { border-color: var(--ink); }
.dh-chip__off {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: var(--violet-soft);
  color: var(--violet);
  border-radius: 999px;
  padding: 5px 12px;
}
.dh-ticker__suburbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 30px var(--gutter) 0;
}
.dh-ticker__suburbs a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.dh-ticker__suburbs a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Steps ---------- */
.dh-steps__title {
  font-size: clamp(34px, 4.6vw, 68px);
  max-width: 18ch;
  margin: 18px 0 0;
}
.dh-steps__lede {
  font-family: var(--font-statement);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.4;
  font-weight: 400;
  max-width: 34ch;
  margin: 22px 0 0;
  color: var(--ink-70);
  text-wrap: pretty;
}
.dh-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.dh-step__phone {
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--champagne);
  margin-bottom: 24px;
}
.dh-step__phone image-slot { width: 100%; height: 100%; }
.dh-step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  margin: 0 0 10px;
}
.dh-step__body { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-70); text-wrap: pretty; }

/* ---------- Win-win ---------- */
.dh-win { background: var(--blush); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dh-win__lede {
  font-family: var(--font-statement);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.25;
  font-weight: 400;
  max-width: 24ch;
  margin: 18px 0 0;
  text-wrap: balance;
}
.dh-win__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.dh-win__card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 34px 30px 30px;
}
.dh-win__card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 21px;
  margin: 14px 0 10px;
}
.dh-win__card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-70); }

/* ---------- FAQ ---------- */
.dh-faq {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.dh-faq__title { font-size: clamp(34px, 4vw, 56px); margin: 18px 0 0; }
.dh-faq details {
  border-bottom: 1px solid var(--rule);
}
.dh-faq details:first-of-type { border-top: 1px solid var(--rule); }
.dh-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(18px, 2vw, 23px);
}
.dh-faq summary::-webkit-details-marker { display: none; }
.dh-faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink-55);
  flex: none;
}
.dh-faq details[open] summary::after { content: "\2212"; }
.dh-faq details p {
  margin: 0;
  padding: 0 4px 28px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-70);
}

/* ---------- App CTA panel ---------- */
.dh-app {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.dh-app .overline { color: rgba(246,246,244,0.6); }
.dh-app__title { font-size: clamp(38px, 4.6vw, 64px); margin: 16px 0 0; color: var(--paper); }
.dh-app__title em { font-family: var(--font-statement); font-style: italic; font-weight: 400; }
.dh-app__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.dh-app__list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 16px;
  color: rgba(246,246,244,0.85);
}
.dh-app__list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.dh-app__badges { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.dh-app__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(246,246,244,0.35);
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.dh-app__badge:hover { border-color: var(--paper); background: rgba(246,246,244,0.08); }
.dh-app__phone {
  aspect-ratio: 9 / 17;
  max-width: 300px;
  justify-self: center;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(246,246,244,0.25);
  background: rgba(246,246,244,0.06);
}
.dh-app__phone image-slot { width: 100%; height: 100%; }

/* ---------- Stats strip ---------- */
.dh-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  padding: clamp(48px, 5vw, 72px) var(--gutter);
}
.dh-stats__num {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3vw, 44px);
  margin: 0 0 8px;
}

/* ---------- Studios band ---------- */
.dh-studios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}
.dh-studios__title { font-size: clamp(34px, 4.2vw, 60px); margin: 18px 0 0; }
.dh-studios__right p { margin: 0 0 26px; max-width: 46ch; color: var(--ink-70); font-size: 16px; line-height: 1.65; text-wrap: pretty; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dh-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .dh-app { grid-template-columns: 1fr; }
  .dh-app__phone { display: none; }
}
@media (max-width: 900px) {
  .dh-hero__inner { grid-template-columns: 1fr; }
  .dh-hero__art { justify-self: center; max-width: 420px; }
}
@media (max-width: 900px) {
  .dh-faq { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .dh-win__cards { grid-template-columns: 1fr; }
  .dh-studios { grid-template-columns: 1fr; gap: 28px; }
  .dh-stats { grid-template-columns: 1fr; gap: 24px; }
  .dh-search__pill { width: 100%; justify-content: center; }
}


/* ---------- Pre-launch waitlist band (temporary until launch) ----------
   Sits directly under the hero search. Reuses the .waitlist form primitives
   so it inherits the site's field, submit pill and success-message styling. */
.dh-wait { padding-top: clamp(24px, 3.4vw, 44px); padding-bottom: clamp(24px, 3.4vw, 44px); }
.dh-wait__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 3.6vw, 60px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 52px);
  border: 1px solid var(--rule-strong);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(206,220,242,0.34), rgba(225,217,240,0.34));
}
.dh-wait__title { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.04; margin: 12px 0 0; color: var(--ink); text-wrap: balance; }
.dh-wait__body { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-70); max-width: 42ch; text-wrap: pretty; }
.dh-wait__form {
  margin: 0;
  max-width: none;
  width: 100%;
  padding: 7px 7px 7px 22px;
  align-items: center;
  gap: 12px;
}
.dh-wait__form input { font-size: 15px; padding: 14px 0; }
.dh-wait__form .waitlist__submit { padding: 12px 18px; letter-spacing: 0.06em; }
.dh-wait__note { margin: 14px 0 0; }
.dh-wait .waitlist__success { margin: 0; }

/* ---- Waitlist follow-up steps (email → suburb + consent → confirmation) ----
   All three steps share the one footprint inside .dh-wait__col; only one is
   ever un-hidden. The fade is a 300ms opacity swap, no layout movement. */
.dh-wait__steps { transition: opacity 300ms var(--ease-out); }
.dh-wait__steps.is-fading { opacity: 0; }

.dh-wait__error {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.dh-wait__step-title {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  outline: none;
}
.dh-wait__step-body {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #6E6862;
  max-width: 40ch;
  text-wrap: pretty;
}

.dh-wait__field { margin: 22px 0 0; }
.dh-wait__label {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
/* Same pill as the hero filter control. */
.dh-wait__select-pill {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  max-width: 380px;
}
.dh-wait__select-pill select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 30px 12px 12px;
  cursor: pointer;
  border-radius: 999px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231A1714' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Consent sits in its own compartment, separated by a rule. */
.dh-wait__consent {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
}
.dh-wait__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.dh-wait__check input {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
}
.dh-wait__check-box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: #fff;
  position: relative;
}
.dh-wait__check-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 8px;
  height: 4px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}
.dh-wait__check input:checked + .dh-wait__check-box { background: var(--ink); border-color: var(--ink); }
.dh-wait__check input:checked + .dh-wait__check-box::after { opacity: 1; }
.dh-wait__check-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.dh-wait__fine {
  margin: 10px 0 0 32px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #6E6862;
}
.dh-wait__fine a { color: #6E6862; text-decoration: underline; text-underline-offset: 2px; }
.dh-wait__fine a:hover { color: var(--ink); }

.dh-wait__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 26px 0 0;
}
/* Full pill treatment — this button sits outside the .waitlist form, so it
   can't inherit that form's .waitlist__submit shaping. */
.dh-wait__done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.dh-wait__done:hover { background: transparent; color: var(--ink); }
.dh-wait__done[disabled] { opacity: 0.6; cursor: default; }
.dh-wait__skip {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #6E6862;
  cursor: pointer;
}
.dh-wait__skip:hover { color: var(--ink); }

/* Visible focus in clay, everywhere in the flow. */
.dh-wait__steps :is(input, select, button, a):focus-visible,
.dh-wait__check input:focus-visible + .dh-wait__check-box {
  outline: 2px solid #C4B2A4;
  outline-offset: 3px;
  border-radius: 4px;
}
.dh-wait__select-pill:focus-within { box-shadow: 0 0 0 2px #C4B2A4; }

@media (max-width: 420px) {
  .dh-wait__select-pill { max-width: none; }
  .dh-wait__actions { gap: 14px; }
  .dh-wait__done { width: 100%; justify-content: center; }
  .dh-wait__skip { width: 100%; text-align: center; padding: 6px 0; }
}

@media (max-width: 860px) {
  .dh-wait__panel { grid-template-columns: 1fr; gap: 26px; }
  .dh-wait__body { max-width: none; }
}
@media (max-width: 480px) {
  .dh-wait__panel { padding: 22px 18px; border-radius: 18px; }
  .dh-wait__form { flex-wrap: wrap; border-radius: 18px; padding: 12px; gap: 10px; }
  .dh-wait__form input { flex: 1 1 100%; padding: 8px 10px; }
  .dh-wait__form .waitlist__submit { width: 100%; justify-content: center; padding: 14px 18px; }
}


/* Hero scroll cue → the waitlist band directly below. */
.dh-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 9px 16px 9px 18px;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-70);
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.dh-scroll:hover { color: var(--ink); border-color: var(--ink); }
.dh-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dh-scroll__arrow { display: inline-block; font-size: 14px; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .dh-scroll__arrow { animation: dhScrollNudge 1800ms var(--ease-out) infinite; }
  @keyframes dhScrollNudge {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(4px); }
  }
}
@media (max-width: 480px) { .dh-scroll { width: 100%; justify-content: center; } }


/* Production images replace the design canvas image slots. */
.dh-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dh-step__phone > img,
.dh-app__phone > img { display: block; width: 100%; height: 100%; object-fit: cover; }
