/* ==========================================================================
   Coming soon page (coming-soon.php, inc/coming-soon.php). Loaded only for
   visitors who see the coming soon version of the site. Same palette, type,
   radius system and arrival as the full site; phone first.
   ========================================================================== */

/* ------------------------------------------------------------- header --- */
.cs .nav { justify-content: space-between; }
.cs .cs-navcta { display: flex !important; margin-left: auto; }
.cs .cs-navcta .pill { transition: opacity 0.3s var(--ease, ease), visibility 0.3s, transform 0.3s var(--ease, ease); }
.cs-at-signup .cs-navcta .pill,
.cs-at-hero .cs-navcta .pill,
.cs-done .cs-navcta .pill { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; }
.cs-done .cs-booknow { display: none !important; }
@media (max-width: 420px) {
  .cs .cs-navcta .pill { padding: 0.55rem 0.95rem; font-size: 0.8125rem; }
  .cs .brand-txt { display: none; }
}

/* --------------------------------------------------------------- hero --- */
.cs-hero { min-height: min(100svh, 980px); }
.cs-hero .hero__inner { gap: 1.25rem; padding-top: calc(var(--nav-h) + 1rem); }
/* 1.66.1: keep the "Four quick taps" line clear of the place / time / weather bar and the scroll cue on short
   phones (iPhone Safari with its toolbars, 375 x 667): the bar sits ~90px above the hero's foot. */
.cs-hero .hero__inner { padding-bottom: max(clamp(5rem, 10vh, 8rem), 7.75rem); }
.cs-hero .hero__line { max-width: 14ch; }
.cs-hero .hero__tag { text-wrap: balance; }
@media (max-width: 560px) {
  .cs-hero .hero__lockup { width: min(150px, 38vw); }
  .cs-hero .hero__line { font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .cs-hero .hero__tag { font-size: 1.0625rem; }
  .cs-hero .hero__cta .pill { width: 100%; justify-content: center; }
  .cs-hero .hero__cta { width: min(100%, 22rem); }
}

/* ------------------------------------------------------------- shared --- */
.cs-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.cs-split .h2 { margin-top: 1rem; }
.cs-split__art { display: flex; justify-content: center; }
.cs-split__art .play { width: clamp(180px, 24vw, 340px); }
.cs-prose { display: grid; gap: 1.1rem; margin-top: 1.75rem; max-width: 60ch; }
@media (max-width: 860px) {
  .cs-split { grid-template-columns: minmax(0, 1fr); }
  .cs-split__art { order: -1; justify-content: flex-start; }
  .cs-split__art .play { width: 150px; }
}

.cs-points {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
@media (max-width: 860px) { .cs-points { grid-template-columns: minmax(0, 1fr); } }
.cs-card {
  background: var(--cream-2); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  box-shadow: inset 0 0 0 1px var(--hair);
  display: grid; gap: 0.6rem; align-content: start;
}
.sec--cream2 .cs-card { background: var(--cream); }
.cs-card h3 {
  font-family: var(--font); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.15rem, 1.6vw, 1.375rem); line-height: 1.1; letter-spacing: 0.01em;
}
.cs-card p { line-height: 1.55; }
/* 1.66.3: a short olive rule above each title (the kicker rule's twin),
   not a tick in a filled circle (the house dislikes icon-in-circle cards). */
.cs-card__tick {
  display: block; width: 2rem; height: 2px; background: var(--olive);
  margin: 0.15rem 0 0.35rem;
}
.cs-card__tick svg { display: none; }
.cs-card__num {
  font-family: var(--font); font-weight: 800; font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1; color: var(--olive-ink); letter-spacing: var(--tr-display); margin-bottom: 0.35rem;
}
.cs-why__cta { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------------------------------------------------------- the build --- */
.cs-build__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.cs-build__grid .h2 { margin-top: 1rem; }
.cs-build__body { margin-top: 1.5rem; }
@media (max-width: 860px) { .cs-build__grid { grid-template-columns: minmax(0, 1fr); } }
.cs-build__panel {
  background: var(--forest); color: var(--cream); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 30px 60px -40px rgba(9, 37, 24, 0.6);
}
.cs-build__panel { width: 100%; max-width: 560px; justify-self: end; }
@media (max-width: 860px) { .cs-build__panel { justify-self: stretch; max-width: none; } }
/* 1.67.0: the panel holds "Where the build is up to" (.tl, in site.css) and an optional photo. */
.cs-build__photo { margin: 0; }
.cs-build__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md, 14px); }
.cs-split__art--photo img { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.cs-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: rgba(254, 246, 231, 0.72);
}
.cs-tag--live { color: var(--olive-lt); }
.cs-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--olive-lt); box-shadow: 0 0 0 0 rgba(143, 166, 97, 0.6); animation: cs-pulse 2.2s var(--ease) infinite; }
@keyframes cs-pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 166, 97, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(143, 166, 97, 0); } }

/* ------------------------------------------------------------ sign up --- */
section.cs-signup:has(> .bgart), .cs-signup { position: relative; isolation: isolate; overflow: hidden; overflow: clip; } /* clip: a focused field must never scroll the section sideways */
.cs-signup__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cs-signup__head .h2 { margin-top: 1rem; }
.cs-signup__head .lead { margin-top: 1.5rem; }
@media (min-width: 981px) { .cs-signup__head { position: sticky; top: calc(var(--nav-h) + 2rem); } }
@media (max-width: 980px) { .cs-signup__grid { grid-template-columns: minmax(0, 1fr); } }

.cs-quiz {
  background: var(--forest-deep); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
  box-shadow: inset 0 0 0 1px rgba(254, 246, 231, 0.1), 0 30px 60px -36px rgba(0, 0, 0, 0.55);
  scroll-margin-top: calc(var(--nav-h) + 12px);
  overflow-anchor: none;
}
/* No scroll anchoring anywhere on the one page: with the card left out, the
   browser anchored on what sits below it and nudged the page each time a
   question changed height. The script places the card itself (soon.js). */
html:has(> body.cs-page) { overflow-anchor: none; }
.cs-form { display: grid; gap: 2rem; }
.cs-form[hidden], .cs-thanks[hidden] { display: none; }
.cs-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.cs-q {
  padding: 0; font-family: var(--font); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.05; letter-spacing: var(--tr-display);
  color: var(--cream); margin-bottom: 1.25rem;
}
.cs-q__n {
  display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.75rem;
  letter-spacing: var(--tr-eyebrow); color: var(--olive-lt); margin-bottom: 0.75rem;
}
.cs-opts { display: grid; gap: 0.6rem; }
.cs-opt {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding: 0.9rem 1.15rem; border-radius: var(--r-sm);
  background: rgba(254, 246, 231, 0.05); box-shadow: inset 0 0 0 1px rgba(254, 246, 231, 0.16);
  color: var(--cream); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; cursor: pointer;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease-press);
  -webkit-tap-highlight-color: transparent;
}
.cs-opt__hint { display: block; margin-top: 0.15rem; font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; line-height: 1.35; color: rgba(254, 246, 231, 0.62); }
.cs-opt:has(input:checked) .cs-opt__hint { color: rgba(14, 59, 42, 0.72); }
.cs-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cs-opt svg { width: 20px; height: 20px; opacity: 0.35; transition: opacity 0.2s var(--ease), transform 0.25s var(--ease-out); }
@media (hover: hover) {
  .cs-opt:hover { background: rgba(254, 246, 231, 0.09); box-shadow: inset 0 0 0 1px rgba(254, 246, 231, 0.32); }
  .cs-opt:hover svg { opacity: 0.8; transform: translateX(3px); }
}
.cs-opt:active { transform: scale(0.985); }
.cs-opt:has(input:focus-visible) { outline: 3px solid var(--olive-lt); outline-offset: 2px; }
.cs-opt:has(input:checked) { background: var(--cream); color: var(--forest); box-shadow: inset 0 0 0 1px var(--cream); }
.cs-opt:has(input:checked) svg { opacity: 1; color: var(--olive-ink); }

/* Top line: back, "2 of 5", progress. Only with the script running. */
.cs-top { display: none; }
.cs-js .cs-top { display: grid; grid-template-columns: 40px auto minmax(0, 1fr); align-items: center; gap: 0.9rem; margin-bottom: -0.5rem; }
.cs-back {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(254, 246, 231, 0.08); color: var(--cream); transition: background-color 0.2s var(--ease), opacity 0.2s;
}
.cs-back:hover { background: rgba(254, 246, 231, 0.16); }
.cs-back[disabled] { opacity: 0.3; cursor: default; }
.cs-back svg { width: 18px; height: 18px; }
.cs-count { font-size: 0.75rem; font-weight: 700; letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--olive-lt); white-space: nowrap; }
.cs-bar { display: block; height: 4px; border-radius: 2px; background: rgba(254, 246, 231, 0.12); overflow: hidden; }
.cs-bar span { display: block; height: 100%; width: 0; background: var(--olive-lt); border-radius: inherit; transition: width 0.5s var(--ease-out); }

/* With the script: one step at a time. Without: every step, in order. */
.cs-js .cs-step { display: none; }
.cs-js .cs-step.is-on { display: block; animation: cs-in 0.45s var(--ease-out) both; }
.cs-js .cs-step.is-on.is-back { animation-name: cs-in-back; }
.cs-js .cs-q__n { display: none; }
@keyframes cs-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes cs-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cs-js .cs-step.is-on { animation: none; } .cs-tag i { animation: none; } }

/* Details screen */
.cs-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 1.5rem; }
.cs-fields--phone { margin-top: 1.5rem; }
@media (max-width: 560px) { .cs-fields { grid-template-columns: minmax(0, 1fr); } }
.cs-fields .field input { font-size: 1.0625rem; }
.cs-opt-note { font-weight: 500; color: rgba(254, 246, 231, 0.6); }
.cs-opt-note[hidden] { display: none; }
.cs-field-bad input { border-bottom-color: #e8a87c !important; box-shadow: 0 1px 0 0 #e8a87c !important; }

.cs-channel { margin-top: 2rem; }
.cs-channel__t { font-family: var(--font); font-weight: 800; text-transform: uppercase; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.1; }
.cs-channel__i { margin-top: 0.4rem; color: var(--ink-soft-dark); font-size: var(--fs-sm); }
.cs-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.cs-chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cs-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cs-chip span {
  display: grid; place-items: center; min-height: 3.25rem; padding: 0.6rem 0.5rem; text-align: center;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9375rem;
  box-shadow: inset 0 0 0 1.5px rgba(254, 246, 231, 0.35); color: var(--cream);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
/* The smallest phones (320): three across leaves 75 px a button, so
   "WhatsApp" gets a touch smaller and the gaps tighter. */
@media (max-width: 359px) {
  .cs-chips { gap: 0.375rem; }
  .cs-chip span { padding-inline: 0.25rem; font-size: 0.875rem; }
}
.cs-chip:hover span { box-shadow: inset 0 0 0 1.5px rgba(254, 246, 231, 0.7); }
.cs-chip input:checked + span { background: var(--cream); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--cream); }
.cs-chip input:focus-visible + span { outline: 3px solid var(--olive-lt); outline-offset: 2px; }

.cs-consents { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.cs-consent {
  padding: 0.95rem 1.05rem; border-radius: var(--r-sm); line-height: 1.5;
  background: rgba(254, 246, 231, 0.05); box-shadow: inset 0 0 0 1px rgba(254, 246, 231, 0.14);
  color: var(--cream); cursor: pointer;
}
.cs-consent input { accent-color: var(--olive-lt); width: 22px; height: 22px; margin-top: 0; }
.cs-consent--extra { background: transparent; box-shadow: none; padding-block: 0.25rem; color: var(--ink-soft-dark); }
.cs-js .cs-consent[data-for] { display: none; }
.cs-js .cs-consent[data-for].is-on { display: grid; animation: cs-in 0.35s var(--ease-out) both; }
.cs-consent.cs-field-bad { box-shadow: inset 0 0 0 1.5px #e8a87c; }

.cs-small { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-soft-dark); margin-top: 1.25rem; }
.cs-small a { color: var(--cream); text-underline-offset: 3px; }
.cs-submit { display: grid; gap: 0.9rem; margin-top: 1.5rem; justify-items: start; }
.cs-submit .form-msg { margin: 0; color: #f3c9a8; font-weight: 600; min-height: 1.5em; }
.cs-submit .form-msg.is-ok { color: var(--olive-lt); }
.cs-submit .pill[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 560px) { .cs-submit, .cs-submit .pill { width: 100%; } .cs-submit .pill { justify-content: center; } }

/* Thank you */
.cs-thanks { display: grid; gap: 1.1rem; justify-items: start; outline: none; animation: cs-in 0.5s var(--ease-out) both; }
.cs-thanks__tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--olive-lt); color: var(--forest-deep); }
.cs-thanks__tick svg { width: 26px; height: 26px; }
.cs-thanks__t { font-family: var(--font); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.02; letter-spacing: var(--tr-display); color: var(--cream); }
.cs-thanks__wa { display: grid; gap: 0.25rem; justify-items: start; margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hair-dark); width: 100%; }
.cs-thanks__wa[hidden], .cs-thanks__later[hidden] { display: none; }
.cs-thanks { min-width: 0; }
.cs-thanks__wa .pill { gap: 0.6rem; max-width: 100%; white-space: normal; text-align: center; }
.cs-wa-ico { flex: none; display: block; }
@media (max-width: 560px) { .cs-thanks__wa .pill { width: 100%; justify-content: center; padding-inline: 1rem; } }
.cs-wa-ico { width: 20px; height: 20px; }
.cs-thanks__follow { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--hair-dark); width: 100%; }
.cs-thanks__follow > span { font-size: 0.75rem; font-weight: 700; letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--olive-lt); }
.cs-thanks__follow .socials { margin-top: 0; }
.cs-thanks__share { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cs-thanks__share .cs-small { margin: 0; }

/* ------------------------------------------------- follow the build --- */
.cs-follow { padding-block: clamp(3rem, 6vw, 5rem); }
.cs-follow__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cs-follow .lead { margin-top: 0.6rem; }
.cs-follow .socials { margin-top: 0; }
.cs-follow .socials a { color: var(--forest); border-color: var(--cream-line-2); }

/* ------------------------------------------------------------- footer --- */
.cs-footer { padding-top: clamp(3rem, 6vw, 4.5rem); }
.cs-footer__row { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--hair-dark); }
.cs-footer__lockup { width: 110px; height: auto; }
.cs-footer__words { display: grid; gap: 0.35rem; }
.cs-footer__line { font-family: var(--font); font-weight: 700; text-transform: uppercase; font-size: 1.125rem; line-height: 1.25; letter-spacing: 0.02em; text-wrap: balance; }
.cs-footer__words a { color: var(--cream); text-underline-offset: 3px; }
.cs-footer__words .socials { margin-top: 0.75rem; }
.cs-footer__legal { grid-template-columns: minmax(0, 1fr) auto; }
.cs-footer__legal .legal__links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
.cs-footer__legal .legal__links a { color: inherit; }
@media (max-width: 700px) {
  .cs-footer__legal { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .cs-footer__legal .legal__links { justify-content: flex-start; }
}

/* The floating button goes away once the sign-up is on screen. */
.cs-booknow { font-weight: 700; }
.cs-booknow.is-near { opacity: 0 !important; visibility: hidden !important; transform: translateY(18px) scale(0.94) !important; }

/* Polish 1: the thank you reads as one card with even rhythm, no stray gap
   under the lead line; the WhatsApp line and share sit under hairlines. */
.cs-thanks > * { margin: 0; }
.cs-thanks__later,
.cs-thanks__share { padding-top: 1.1rem; border-top: 1px solid var(--hair-dark); width: 100%; }
.cs-thanks__later + .cs-thanks__share,
.cs-thanks__wa + .cs-thanks__share { border-top: 0; padding-top: 0; }

/* 1.66.0: follow the build (Holly, 20 Nov: sign up, then follow along on
   Instagram). One button, the other networks as small marks beside it. */
.cs-followlinks { display: flex; align-items: center; gap: 0.75rem 1.25rem; flex-wrap: wrap; }
.cs-followlinks__main { gap: 0.6rem; max-width: 100%; white-space: normal; text-align: center; }
.cs-followlinks__main svg, .cs-followlinks__more svg { width: 20px; height: 20px; flex: none; display: block; }
.cs-followlinks__more { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; font-weight: 700; font-size: var(--fs-sm); color: inherit; text-underline-offset: 3px; }
.cs-followlinks__more:hover span { text-decoration: underline; }
.cs-thanks__follow { display: grid; gap: 0.85rem; justify-items: start; }
.cs-thanks__follow .cs-small { margin: 0; }
.cs-thanks__follow + .cs-thanks__share { border-top: 0; padding-top: 0; }
.cs-follow__words { max-width: 36rem; }
.cs-follow .cs-followlinks__more { color: var(--forest); }
@media (max-width: 560px) {
  .cs-followlinks { width: 100%; }
  .cs-followlinks__main { width: 100%; justify-content: center; padding-inline: 1rem; }
}

/* The barn beside Who we are is drawn inline now (so its doors can swing,
   as on About): size it like the picture it replaces. */
.cs-split__art svg.play { height: auto; }
/* On a phone the label takes two lines: keep the mark beside the words, not
   pushed to the edge, and the two lines close together. */
.cs-followlinks__main span { flex: 0 1 auto; line-height: 1.25; }
@media (max-width: 560px) { .cs-followlinks__main { padding-block: 0.85rem; letter-spacing: 0.1em; } }
/* 1.66.2: on a phone the thank you card is narrower than the strip; a
   touch less tracking keeps "Follow the build on Instagram" on one line
   down to 375 px (it still wraps neatly on the smallest phones). */
@media (max-width: 430px) { .cs-followlinks__main { padding-inline: 0.8rem; letter-spacing: 0.06em; gap: 0.5rem; } }
/* Once they are on the list the thank you carries the follow button; the
   strip under it would only say it twice. */
.cs-done .cs-follow { display: none; }

/* ---------------------------------------------------------- Manor Wood --- */
/* 1.68.0: the Manor Wood residents' page (page-templates/manor-wood.php) is
   built from this page's parts; these are its only extras (1.69.0: it is the
   whole coming soon page now, with its own form in the sign-up block). The
   address takes the whole row, the postcode sits under it at half width. */
.mw-fields__address { grid-column: 1 / -1; }
.mw-card { color: var(--cream); } /* The dark card on the cream section: its words stay cream. */
.mw-signup .cs-thanks__follow { margin-top: 0.25rem; }
.mw-signup { scroll-margin-top: var(--nav-h); }

/* The three Playtomic steps under the offer (1.68.1): numbered in olive, as
   the site's step lists, a size smaller to sit in the offer column. */
.mw-steps { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: step; display: grid; gap: 1.1rem; max-width: 34rem; }
.mw-steps > li { counter-increment: step; position: relative; padding-left: 3rem; font-size: var(--fs-body); line-height: 1.5; }
.mw-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -0.15em;
  font-size: 2rem; font-weight: 800; line-height: 1; color: var(--olive);
}
/* 1.69.0: the offer now sits in the dark sign-up block, as the coming soon
   page's quiz heading does: the lighter olive for the numbers, the offer
   text a step under the first line. */
.on-dark .mw-steps > li::before { color: var(--olive-lt); }
.cs-signup__head .mw-offer { margin-top: 1rem; }
