/* ROUND 289 — tasks doc, 16 Nov 2026. See inc/round289.php for the list. Loads last. */

/* ============================================================ 1. Brochure form (plan pages)
   The submit button of the plan brochure form carries a paper-plane icon before its label. */
.sh-r289 .book__submit .sh-r289-ico{order:-1;flex:none;display:block;width:16px;height:16px}

/* ============================================================ 4. Account: View saved items carries the arrow */
.sh-r289 .acc .btn .arrow{width:16px;height:16px;flex:none}

/* ============================================================ 10. Site address field: one ring, not two
   The field's own box already shows the amber focus ring; the input inside it drew a second one. */
.sh-r289 .book__field--icon input:focus,.sh-r289 .book__field--icon input:focus-visible{outline:0!important;box-shadow:none!important}

/* ============================================================ 5. Plan page hero
   a. The roof renders cross-fade (a later rule had replaced the opacity transition with the slow zoom only). */
.sh-r289 .pd--r63 .pd__render{transition-property:opacity,transform!important;transition-duration:.7s,14s!important;transition-timing-function:ease,cubic-bezier(.25,.46,.45,.94)!important;transition-delay:0s!important}
/* phones kept the other renders out of the page (display:none), which cannot fade: they stay stacked instead */
@media (max-width:768px){ .sh-r289.sh-r81-pd .pd--r63 .pd__render:not(.is-current){display:block} }
/* b. The plan name travels down into the white area above the measurements as the page scrolls, and rests
      there. The resting place is the invisible copy of the name in .pd__top (it only holds the space). */
@media (prefers-reduced-motion: no-preference){
  .sh-r63.sh-r77.sh-r289 .pd--r63.is-r289-travel .pd__name--static{display:block;opacity:0!important;visibility:hidden;pointer-events:none;position:relative;left:auto;right:auto;top:auto;bottom:auto;max-width:none;text-align:left}
  .sh-r63.sh-r77.sh-r289 .pd--r63.is-r289-travel .pd__name--travel{transform:translate3d(var(--r289-x,0px),var(--r289-y,0px),0)!important;will-change:transform;opacity:1}
  .sh-r63.sh-r77.sh-r289 .pd--r63.is-r289-travel .pd__top{justify-content:space-between;align-items:flex-end}
}
@media (max-width:768px){
  .sh-r63.sh-r77.sh-r289 .pd--r63.is-r289-travel .pd__top{align-items:stretch}
  .sh-r63.sh-r77.sh-r289 .pd--r63.is-r289-travel .pd__name--static{align-self:flex-start;flex:none}
}
/* c. (doc 11b) desktop: shading towards the foot of the hero, as in the design; the roof thumbnails sit clear
      of the white panel that laps the hero's last 28px. */
@media (min-width:1024px){
  .sh-r289 .pd--r63 .pd__media::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;z-index:1;pointer-events:none;
    background:linear-gradient(to top,rgba(20,20,20,.62) 0%,rgba(20,20,20,.34) 38%,rgba(20,20,20,0) 100%)}
  .sh-r63.sh-r289 .pd--r63 .pd__roofs{bottom:68px}
}

/* ============================================================ 11b. Gallery detail: the amber italic title, phones, +15% */
@media (max-width:768px){
  .sh-r289.sh-r119-gd .gd__deco{font-size:51px;top:-33px;margin-bottom:-33px}
}

/* ============================================================ 6. Cards rise in, one after the other, left to right
   The whole card moves; the text inside it no longer runs its own reveal. r289.js adds is-r289-in to each card
   of a row when the row enters the viewport, then is-r289-done so hover and other transitions are untouched. */
@media (prefers-reduced-motion: no-preference){
  html.js body.sh-r289 .kd-cards__row > .kd-card:not(.is-r289-done),
  html.js body.sh-r289 .ic__inner > .ic-card:not(.is-r289-done){opacity:0;transform:translate3d(0,32px,0);
    transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .9s cubic-bezier(.22,1,.36,1);transition-delay:var(--r289-d,0ms);will-change:opacity,transform}
  html.js body.sh-r289 .kd-cards__row > .kd-card.is-r289-in:not(.is-r289-done),
  html.js body.sh-r289 .ic__inner > .ic-card.is-r289-in:not(.is-r289-done){opacity:1;transform:none}
  /* shown after 4s if the script never runs */
  html.js body.sh-r289:not(.is-r289-cards) .kd-cards__row > .kd-card,
  html.js body.sh-r289:not(.is-r289-cards) .ic__inner > .ic-card{animation:sh-r289-safe 0s linear 4s forwards}
}
@keyframes sh-r289-safe{to{opacity:1;transform:none}}
body.sh-r289 .kd-cards__row > .kd-card .reveal,body.sh-r289 .ic__inner > .ic-card .reveal{opacity:1!important;transform:none!important;transition:none!important}

/* ============================================================ 8. Quote sections: the photo drifts a little slower than the page */
@media (prefers-reduced-motion: no-preference){
  .sh-r289 .sy-quote__bg.is-r289-px{top:-7%;bottom:auto;height:114%;transform:translate3d(0,var(--r289-py,0px),0);will-change:transform}
}

/* ============================================================ 7, 9, 12. House & Land package page */
/* 12.4 the hero keeps its picture's own shape up to 90% of the screen height, then crops */
.sh-r63.sh-r289 .hld__hero{position:relative;height:auto;aspect-ratio:var(--r289-ar,5 / 3);max-height:90vh;overflow:hidden}
/* 12.5 shading at the foot of the hero, under the title that laps it */
.sh-r289 .hld__hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:42%;pointer-events:none;z-index:0;
  background:linear-gradient(to top,rgba(20,20,20,.5) 0%,rgba(20,20,20,.24) 45%,rgba(20,20,20,0) 100%)}
.sh-r289 .hld__hero .hld__more{z-index:2}
/* 12.6 */
.sh-r289 .hl-more .hlc{max-width:610px}
/* 9.1 the other photos, all of them, under the map (tablet and desktop); the old teaser above the plan is gone */
.sh-r289 .hld__teaser{display:none!important}
.sh-r289 .hld__photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0}
.sh-r289 .hld__photo{position:relative;display:block;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--cream,#f7f3ea);cursor:zoom-in;aspect-ratio:4 / 3}
.sh-r289 .hld__photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s var(--ease-soft,ease)}
.sh-r289 .hld__photo:hover img,.sh-r289 .hld__photo:focus-visible img{transform:scale(1.04)}
.sh-r289 .hld__photo:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
@media (max-width:1023px){ .sh-r289 .hld__photos{grid-template-columns:repeat(2,minmax(0,1fr))} }
/* 7 phones: every photo runs in the hero instead, so the grid is not shown */
@media (max-width:767px){
  .sh-r289 .hld__photos{display:none}
  .sh-r289 .hld__hero .hld__slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s ease}
  .sh-r289 .hld__hero .hld__slide.is-on{opacity:1}
}
@media (min-width:768px){ .sh-r289 .hld__hero .hld__slide:not(.is-on){display:none} }
@media (prefers-reduced-motion: reduce){ .sh-r289 .hld__hero .hld__slide{transition:none} }

/* ============================================================ 11. Home page, phones only */
@media (max-width:768px){
  /* 11.1 Build vs Buy: the two buttons */
  .sh-r289.sh-r63-home .image-section__actions{gap:16px}
  /* 11.2 Build with Confidence: the blue above the photo is the photo's own top row of sky, a shade deeper at the top, and the
          photo's first pixels fade in, so there is no line where the two meet. The photo is square and sits
          on the foot of the band, so its top edge is at (100% - 100vw). */
  .sh-r289.sh-r63-home .section-image .section-image__bg{
    background:linear-gradient(to bottom,rgb(4,78,160) 0,rgb(12,96,178) calc(100% - 100vw + 8px),rgb(12,96,178) 100%)}
  .sh-r289.sh-r63-home .section-image .section-image__bg::after{background:none}
  .sh-r289.sh-r63-home .section-image .section-image__bg > img{
    -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0,#000 72px);mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0,#000 72px)}
  /* 11.3 Our Process: the white disc is a true circle centred on the numeral's own shape (r289.js measures
          each numeral; the base centring used the text box, which the 200px numeral overflows) */
  .sh-r289.sh-r63-home .process__steps::before{width:279px;height:279px;aspect-ratio:1 / 1;border-radius:50%;
    transform:translate(calc(var(--sh-proc-x,0px) + var(--r289-dx,0px)),calc(var(--sh-proc-y,0px) + var(--r289-dy,0px)))}
  /* 11.4 more room between the numeral and its text; the text keeps its right edge */
  .sh-r289.sh-r63-home .step__body{gap:32px}
  .sh-r289.sh-r63-home .step__text{flex-basis:calc(100vw * 175 / 402 - 12px)}
}

/* ============================================================ 12.1, 12.2 Accessible Living, Knockdown & Rebuild, Subdivide & Build: phones
   Section copy is left aligned; the Book a free site check heading wraps by itself and its copy has a measure. */
@media (max-width:768px){
  .sh-r289-left .kd__head--c,.sh-r289-left .ac-what,.sh-r289-left .ac-what__head,.sh-r289-left .ac-plans__head,.sh-r289-left .kd-cards__text,
  .sh-r289-left .sf__text,.sh-r289-left .sd-stories__text,.sh-r289-left .sd-vids__head,.sh-r289-left .sd-plans__head{align-items:flex-start;text-align:left}
  .sh-r289-left .kd__head--c > *,.sh-r289-left .ac-what__head > *,.sh-r289-left .ac-what > .ac-what__copy,.sh-r289-left .kd-cards__text > *,
  .sh-r289-left .sf__text > *,.sh-r289-left .sd-stories__text > *,.sh-r289-left .ac-plans__copy{text-align:left;align-self:flex-start;margin-left:0;margin-right:0}
  .sh-r289-left .ac-what > .ac-what__copy,.sh-r289-left .ac-plans .ac-plans__copy{align-self:stretch}
  .sh-r289-left .sd-vids__text,.sh-r289-left .sd-plans__head,.sh-r289-left .sd-plans__head .kd__head{text-align:left;align-items:flex-start}
  .sh-r289-left .sd-vids__text .kd__head,.sh-r289-left .sd-plans__head .kd__head{margin-left:0;margin-right:auto}
  .sh-r289-left .sd-vids__text{padding-left:0}
  .sh-r289-left .sd-plans__head > *,.sh-r289-left .sd-plans__head .kd__head > *{text-align:left;align-self:flex-start}
  .sh-r289-left .sf__text{align-self:stretch;width:100%}
  .sh-r289-left .sf__text .kd__title br{display:none}
  .sh-r289-left .sf__text .kd__title{width:auto;max-width:100%}
  .sh-r289-left .sf__text .sf__body,.sh-r289-left .kd-cards__text .kd__copy,.sh-r289-left .ac-what__copy{max-width:34em}
}

/* ============================================================ 12.3 The consent tick lines up with the first line of its text (phones) */
@media (max-width:768px){
  .sh-r289 .book__consent{align-items:flex-start}
  .sh-r289 .book__consent .book__check{margin-top:1px}
}
