/* =====================================================================
   MADE TOGETHER — farm shops with a magazine and a website made as one.
   The client scenes themselves come from showcase.css / showcase.js.
   ===================================================================== */

/* ---------- a shorter opening picture, so the work comes sooner ---------- */
.page-hero{ height:62svh; min-height:440px; }

/* ---------- brighter: a warm cream page, each farm shop in its own setting ---------- */
body.mt-page{ background:#f4efe4; }
.mt-page .rv-intro .kicker{ color:#9a7327; }
.mt-page .rv-intro__title{ color:var(--navy-dk); }
.mt-page .rv-intro__title em{ color:#9a7327; }

/* each feature sits over a soft photo of that farm shop; on larger screens the photo stays still while the page moves */
.mt-scene{ position:relative; isolation:isolate; padding:clamp(4rem,12vh,8rem) 0; }
.mt-scene .sc{ padding-top:0; padding-bottom:0; }
.mt-scene__bg{ position:absolute; inset:0; z-index:-2; }
.mt-scene__bg img{ display:block; width:100%; height:100%; object-fit:cover; }
.mt-scene__wash{ position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, #f4efe4 0%, rgba(244,239,228,.3) 16%, rgba(244,239,228,.12) 50%, rgba(244,239,228,.3) 84%, #f4efe4 100%); }
@media (min-width:761px){
  .mt-scene{ clip-path:inset(0); }
  .mt-scene__bg{ position:fixed; inset:0; height:100vh; }
}

/* the features: light frosted panels instead of navy */
.mt-page .sc__card{ border-color:rgba(154,115,39,.4);
  background:linear-gradient(165deg, rgba(251,248,241,.8), rgba(247,242,232,.68));
  backdrop-filter:blur(16px) saturate(1.15); -webkit-backdrop-filter:blur(16px) saturate(1.15);
  box-shadow:0 50px 100px -50px rgba(40,26,8,.55), 0 1px 0 rgba(255,255,255,.6) inset; }
.mt-page .sc__fx{ display:none; }
.mt-page .sc__title{ color:var(--navy-dk); }
.mt-page .sc__title em{ color:#9a7327; }
.mt-page .sc__lede{ color:#3f454c; }
.mt-page .sc__feats li{ color:var(--navy-dk); border-top-color:rgba(20,38,59,.14); }
.mt-page .sc__feats li:last-child{ border-bottom-color:rgba(20,38,59,.14); }
.mt-page .sc__feats li::before{ border-left-color:#9a7327; border-bottom-color:#9a7327; }
.mt-page .sc__badge{ color:#6f5218; border-color:rgba(154,115,39,.5); background:rgba(230,200,127,.22); box-shadow:none; }
.mt-page .sc__more{ color:#8a6620; border-bottom-color:rgba(154,115,39,.45); }
.mt-page .sc__more:hover{ color:var(--navy-dk); border-color:var(--navy-dk); }
.mt-page .sc__card .beat__cta{ background:var(--navy-dk); color:var(--ivory); }
.mt-page .sc__card .beat__cta:hover{ background:#9a7327; color:#fff; }
.mt-page .sc__browser{ box-shadow:0 0 0 1px rgba(20,38,59,.08), 0 50px 90px -40px rgba(30,20,6,.6), 0 18px 40px -22px rgba(30,20,6,.4); }

/* ---------- the work: alternate the scene left and right ---------- */
@media (min-width:901px){
  .sc--flip .sc__card{ grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr); grid-template-areas:"stage head" "stage body"; }
  .sc--flip .sc__stage{ margin-right:0; margin-left:calc(-1 * clamp(.4rem,1.6vw,1.6rem)); }
}

/* Churston's homepage and magazine page have their own lengths */
.sc__shot--churston{ animation-name:sc-scroll-churston; animation-duration:52s; }
@keyframes sc-scroll-churston{
  0%, 7%   { transform:translateY(0); }
  70%, 77% { transform:translateY(-91%); }
  100%     { transform:translateY(0); }
}
.sc__phone-shot--churston{ animation-name:sc-phone-churston; }
@keyframes sc-phone-churston{          /* the heading, then down to the magazine cover */
  0%, 16%  { transform:translateY(0); }
  36%, 82% { transform:translateY(-32%); }
  100%     { transform:translateY(0); }
}
/* the closing kicker and button stay on one line */
.page-close .kicker, .page-close .beat__cta{ white-space:nowrap; }

/* the longer address still fits the bar */
.sc__url{ min-width:0; overflow:hidden; text-overflow:ellipsis; }

