/* Past-customer reactivation: Fernhill Gardens, after Waida's Greencore.
   Full-bleed landscape photo hero with rounded bottom corners, dark glass nav pills, a lime
   pill CTA, a white headline bottom left and a floating photo card bottom right. Then a
   centred mission paragraph with underlined links, a grey rounded band of white icon cards
   and dark photo stat cards, numbered grey solution cards and a big centred quote. */
.demo--customer-reactivation {
  --ink: #1c1c1c; --ink-2: #3a3a3a; --muted: #5d5d5d; --band: #f0f0f0; --card: #fff; --line: #e2e2e2;
  --lime: #9be15d; --lime-2: #86d145; --deep: #141a12; --good: #2f6b1f;
  background: #fff; color: var(--ink); font: 400 16px/1.5 Inter, system-ui, sans-serif; letter-spacing: -.01em;
}
.demo--customer-reactivation .fh-wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 2.1vw, 30px); }
.demo--customer-reactivation :focus-visible { outline: 2px solid #2f6b1f; outline-offset: 3px; }
.demo--customer-reactivation .fh-hero :focus-visible, .demo--customer-reactivation .fh-logcard :focus-visible { outline-color: var(--lime); }
.demo--customer-reactivation img { width: 100%; height: 100%; object-fit: cover; }

/* ---- hero ---- */
.fh-hero { position: relative; min-height: min(900px, 94vh); border-radius: 0 0 clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px); overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.fh-hero__img { position: absolute; inset: 0; z-index: -2; object-position: 50% 60%; }
.fh-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%); }
.fh-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(16px, 2.1vw, 30px); }
.fh-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 600 15px/1 Inter, sans-serif; letter-spacing: -.03em; }
.fh-nav__links { display: flex; gap: 12px; }
.fh-nav__links a { color: #fff; text-decoration: none; font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .01em; padding: 16px 20px; border-radius: 8px;
  background: rgba(80, 84, 70, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.fh-nav__links a:hover { background: rgba(80, 84, 70, .8); }
.fh-join { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: #11200a; border: 0; border-radius: 8px; padding: 15px 20px;
  font: 600 14px/1 Inter, sans-serif; letter-spacing: -.03em; text-decoration: none; transition: background .2s; }
.fh-join:hover { background: var(--lime-2); }
.fh-join:disabled { opacity: .6; cursor: default; }
.fh-hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 427px); align-items: end; gap: 32px; padding: 0 clamp(16px, 2.1vw, 30px) 80px clamp(16px, 4.2vw, 60px); }
.fh-eyebrow { font: 500 14px/1 Inter, sans-serif; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.fh-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.fh-hero h1 { font: 500 clamp(40px, 4.7vw, 68px)/.98 Inter, sans-serif; letter-spacing: -.065em; max-width: 9.5em; text-shadow: 0 2px 24px rgba(0,0,0,.2); }
.fh-hero__lede { margin-top: 18px; max-width: 34em; font: 400 16px/1.3 Inter, sans-serif; letter-spacing: -.02em; }
.fh-float { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 20px; padding: 10px; border-radius: 18px;
  background: rgba(58, 58, 50, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.fh-float img { border-radius: 12px; aspect-ratio: 188 / 176; height: auto; }
.fh-float__txt { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 10px 6px 6px 0; }
.fh-float__txt p { font: 400 15px/1.35 Inter, sans-serif; letter-spacing: -.02em; }
.fh-float__btn { text-decoration: none; align-self: flex-start; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.2); color: #fff; border-radius: 8px; padding: 12px 14px;
  font: 600 12.5px/1 Inter, sans-serif; letter-spacing: 0; text-transform: uppercase; }
.fh-float__btn:hover { background: rgba(0,0,0,.4); }
@media (max-width: 1000px) {
  .fh-nav__links { display: none; }
  .fh-hero__foot { grid-template-columns: 1fr; padding-bottom: 28px; padding-left: clamp(16px, 2.1vw, 30px); }
}
@media (max-width: 520px) {
  .fh-hero { min-height: 0; }
  .fh-hero__foot { padding-top: 220px; }
  .fh-float { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .fh-float img { aspect-ratio: 1; }
  .fh-float__txt p { font-size: 14px; }
  .fh-float__btn { font-size: 11.5px; padding: 10px 12px; }
}

/* ---- mission ---- */
.fh-mission { padding: clamp(72px, 8.5vw, 124px) 16px; }
.fh-narrow { max-width: 650px; margin: 0 auto; display: grid; gap: 22px; }
.fh-mission p { font: 400 clamp(21px, 1.95vw, 28px)/1.17 Inter, sans-serif; letter-spacing: -.055em; color: #232323; }
.fh-mission a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.fh-mission a:hover { color: var(--good); }

/* ---- grey band with bento ---- */
.fh-band { background: var(--band); border-radius: clamp(24px, 3vw, 44px); padding: clamp(64px, 6vw, 88px) 0 clamp(56px, 5.5vw, 80px); }
.fh-h2 { text-align: center; font: 500 clamp(32px, 3.4vw, 48px)/1.1 Inter, sans-serif; letter-spacing: -.06em; }
.fh-sub { text-align: center; margin: 18px auto 0; max-width: 52ch; font-size: 15.5px; color: var(--ink-2); }
.fh-bento { max-width: 1054px; margin: clamp(40px, 5vw, 72px) auto 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; }
.fh-tile { grid-column: span 4; background: var(--card); border-radius: 20px; padding: 25px; min-height: 314px; display: flex; flex-direction: column; }
.fh-tile--wide { grid-column: span 4; }
.fh-tile--wide2 { grid-column: span 5; }
.fh-bento li:nth-child(5), .fh-bento li:nth-child(6) { grid-column: span 3; }
.fh-bento li:nth-child(5) { grid-column: span 4; }
.fh-bento li:nth-child(6) { grid-column: span 3; }
.fh-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--band); display: grid; place-items: center; color: #333; margin-bottom: 16px; }
.fh-tile h3 { font: 500 19px/1.2 Inter, sans-serif; letter-spacing: -.045em; }
.fh-tile p { margin-top: auto; font: 400 15px/1.3 Inter, sans-serif; letter-spacing: -.02em; color: #2b2b2b; }
.fh-tile--photo { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.fh-tile--photo img { position: absolute; inset: 0; z-index: -2; }
.fh-tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.08) 40%, rgba(0,0,0,.7)); }
.fh-tile--photo h3 { font-size: 19px; max-width: 12em; }
.fh-stat { color: #fff !important; font-size: 16px !important; display: flex; align-items: baseline; gap: 10px; }
.fh-stat span { font: 400 40px/1 Inter, sans-serif; letter-spacing: -.04em; }
@media (max-width: 960px) {
  .fh-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .fh-bento li, .fh-bento li:nth-child(5), .fh-bento li:nth-child(6) { grid-column: span 1; min-height: 240px; }
}
@media (max-width: 560px) {
  .fh-bento { grid-template-columns: 1fr; }
  .fh-bento li, .fh-bento li:nth-child(5), .fh-bento li:nth-child(6) { min-height: 0; }
  .fh-tile p { margin-top: 28px; }
  .fh-tile--photo { min-height: 260px !important; }
}

/* ---- demo ---- */
.fh-stage { padding: clamp(80px, 9vw, 130px) 0 clamp(40px, 5vw, 60px); }
.fh-kicker { text-align: center; font: 500 14px/1 Inter, sans-serif; color: var(--good); margin-bottom: 16px; }
.fh-control { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px; margin: 36px auto 30px; }
.fh-months { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: var(--band); padding: 6px; border-radius: 12px; }
.fh-month { border: 0; background: transparent; border-radius: 8px; padding: 9px 11px; font: 500 14px/1 Inter, sans-serif; letter-spacing: -.02em; color: #333; display: grid; gap: 3px; justify-items: center; }
.fh-month small { font-size: 10.5px; color: var(--muted); }
.fh-month:hover { background: #e4e4e4; }
.fh-month[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,.1); }
.fh-month[aria-pressed="true"] small { color: var(--good); }
.fh-join--go { padding: 17px 22px; font-size: 15px; }

.fh-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1180px) { .fh-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); } .fh-logcard { grid-column: 1 / -1; } }
@media (max-width: 760px) { .fh-grid { grid-template-columns: 1fr; } }
.fh-card { background: var(--band); border-radius: 20px; padding: 20px; }
.fh-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.fh-h3 { font: 500 20px/1.2 Inter, sans-serif; letter-spacing: -.045em; }
.fh-pill { font-size: 12.5px; font-weight: 500; background: #fff; border-radius: 999px; padding: 6px 11px; color: #333; }
.fh-cust { display: grid; gap: 10px; }
.fh-none { background: #fff; border-radius: 14px; padding: 16px; font-size: 14.5px; color: var(--ink-2); border-left: 4px solid var(--lime); }
.fh-row { background: #fff; border-radius: 14px; padding: 14px 16px; transition: box-shadow .25s, opacity .25s; }
.fh-row__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fh-row__name { font: 500 16.5px/1.3 Inter, sans-serif; letter-spacing: -.035em; }
.fh-row__area { font-size: 12.5px; color: var(--muted); }
.fh-jobs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.fh-job { font-size: 12px; background: var(--band); border-radius: 6px; padding: 3px 7px; color: #444; }
.fh-job b { font-weight: 600; color: #222; }
.fh-job.is-new { background: #e3f5d2; color: var(--good); }
.fh-status { font-size: 13.5px; margin-top: 8px; color: var(--muted); }
.fh-status:empty { display: none; }
.fh-row.is-checking { box-shadow: 0 0 0 2px #cfd8c8; }
.fh-row.is-due { box-shadow: 0 0 0 2px var(--lime); }
.fh-row.is-due .fh-status { color: var(--good); font-weight: 500; }
.fh-row.is-skip { opacity: .75; }
.fh-row.is-out .fh-status { color: #8a2d1a; }
.fh-row.is-booked { box-shadow: 0 0 0 2px var(--good); }
.fh-row.is-booked .fh-status { color: var(--good); font-weight: 600; }
.fh-draft { margin-top: 12px; background: #f6f8f3; border: 1px solid #dfe6d7; border-radius: 12px; padding: 12px 14px; animation: fh-in .35s ease both; }
.fh-draft__label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--good); }
.fh-draft p { font-size: 14px; line-height: 1.45; margin-top: 6px; color: #2b2b2b; }
.fh-draft__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.fh-send { border: 0; background: var(--ink); color: #fff; border-radius: 8px; padding: 10px 14px; font: 600 13.5px/1 Inter, sans-serif; }
.fh-send:hover:not(:disabled) { background: #000; }
.fh-send:disabled { opacity: .45; cursor: default; }
@keyframes fh-in { from { opacity: 0; transform: translateY(6px); } }

/* phone */
.fh-phonecard { position: sticky; top: 16px; }
.fh-cap { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.fh-cap b { color: var(--ink); font-weight: 600; }
.fh-phone { background: #fff; border-radius: 46px; border: 9px solid #151515; box-shadow: 0 0 0 1px #3a3a3a, 0 24px 50px rgba(20,30,15,.22);
  height: 640px; display: flex; flex-direction: column; overflow: hidden; }
.fh-phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 4px; font: 600 13px/1 Inter, sans-serif; }
.fh-phone__isl { width: 88px; height: 24px; border-radius: 999px; background: #151515; }
.fh-phone__head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0 10px; border-bottom: 1px solid #eee; font-size: 12.5px; font-weight: 500; background: #fafafa; }
.fh-phone__av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #b9e98c, #5e9f33); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.fh-thread { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.fh-thread__empty { margin: auto; text-align: center; font-size: 13.5px; color: var(--muted); max-width: 22ch; }
.fh-msg { max-width: 84%; padding: 8px 12px; border-radius: 18px; font-size: 14px; line-height: 1.38; animation: fh-in .3s ease both; }
.fh-msg--in { align-self: flex-start; background: #e9e9eb; color: #111; border-bottom-left-radius: 6px; }
.fh-msg--out { align-self: flex-end; background: #34a853; color: #fff; border-bottom-right-radius: 6px; }
.fh-msg--sys { align-self: center; background: none; font-size: 11.5px; color: var(--muted); padding: 2px; }
.fh-msg--typing { display: flex; gap: 4px; padding: 12px 14px; }
.fh-msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #999; animation: fh-dot 1s infinite; }
.fh-msg--typing i:nth-child(2) { animation-delay: .15s; } .fh-msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fh-dot { 50% { opacity: .3; } }
.fh-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 16px; border-top: 1px solid #eee; }
.fh-chips:empty { display: none; }
.fh-chips__hint { width: 100%; font-size: 11.5px; color: var(--muted); }
.fh-chip { border: 1px solid #cfd8c8; background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 500; text-align: left; }
.fh-chip:hover { background: #eef7e6; border-color: var(--good); }
@media (max-width: 760px) { .fh-phonecard { position: static; max-width: 360px; width: 100%; margin: 0 auto; } .fh-phone { height: 580px; } }

/* log: a dark photo card with big stats, like Greencore's stat tiles */
.fh-logcard { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; background: var(--deep); color: #fff; padding: 22px; display: flex; flex-direction: column; min-height: 560px; }
.fh-logcard__bg { position: absolute; inset: 0; z-index: -2; opacity: .5; }
.fh-logcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,16,10,.88), rgba(12,16,10,.93) 60%, rgba(12,16,10,.75)); }
.fh-ghost { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; border-radius: 8px; padding: 9px 13px; font: 600 12.5px/1 Inter, sans-serif; }
.fh-ghost:hover:not(:disabled) { background: rgba(255,255,255,.16); }
.fh-ghost:disabled { opacity: .45; cursor: default; }
.fh-logbody { flex: 1; max-height: 440px; overflow-y: auto; margin-bottom: 16px; }
.demo--customer-reactivation .rf-log { display: grid; }
.demo--customer-reactivation .rf-log__empty { color: rgba(255,255,255,.72); font-size: 14.5px; }
.demo--customer-reactivation .rf-log__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 14px; line-height: 1.42; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.demo--customer-reactivation .rf-log__item.is-in { opacity: 1; transform: none; }
.demo--customer-reactivation .rf-log__time { font-size: 12.5px; color: rgba(255,255,255,.62); font-variant-numeric: tabular-nums; }
.demo--customer-reactivation .rf-log__text { color: rgba(255,255,255,.9); }
.demo--customer-reactivation .rf-log__tag { grid-column: 2; justify-self: start; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 3px 7px; background: rgba(255,255,255,.12); color: #fff; }
.demo--customer-reactivation .rf-log__item.is-done .rf-log__text::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; }
.demo--customer-reactivation .rf-log__item.is-done .rf-log__tag { background: var(--lime); color: #11200a; }
.demo--customer-reactivation .rf-log__item.is-hot .rf-log__tag { background: #f6c9b8; color: #4a1506; }
.fh-stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; margin: 0; }
.fh-stats dt { font-size: 13px; color: rgba(255,255,255,.75); }
.fh-stats dd { margin: 6px 0 0; font: 400 clamp(30px, 2.8vw, 40px)/1 Inter, sans-serif; letter-spacing: -.04em; }

/* ---- how it works: numbered grey solution cards ---- */
.fh-how { padding: clamp(64px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); }
.fh-steps { max-width: 1260px; margin: clamp(40px, 5vw, 72px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.fh-step { position: relative; background: var(--band); border-radius: 20px; padding: 40px; min-height: 300px; display: flex; flex-direction: column; }
.fh-step__n { font: 400 26px/1 Inter, sans-serif; letter-spacing: -.04em; }
.fh-step__arrow { position: absolute; top: 36px; right: 40px; font-size: 24px; }
.fh-step h3 { margin-top: auto; padding-top: 60px; font: 500 clamp(26px, 2.4vw, 34px)/1.02 Inter, sans-serif; letter-spacing: -.06em; }
.fh-step p { margin-top: 14px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 960px) { .fh-steps { grid-template-columns: 1fr; max-width: 600px; gap: 16px; } .fh-step { padding: 28px; min-height: 0; } .fh-step__arrow { top: 26px; right: 28px; } .fh-step h3 { padding-top: 40px; } }

/* ---- quote ---- */
.fh-quote { padding: clamp(56px, 6vw, 90px) 0 clamp(80px, 9vw, 140px); text-align: center; }
.fh-quote blockquote { max-width: 18.5em; margin: 0 auto; font: 500 clamp(28px, 3.7vw, 52px)/1.06 Inter, sans-serif; letter-spacing: -.065em; color: #232323; }
.fh-quote__who { margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); text-align: left; }
.fh-quote__who img { width: 48px; height: 48px; border-radius: 50%; }
.fh-quote__who b { display: block; color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .demo--customer-reactivation *, .demo--customer-reactivation *::before { animation: none !important; transition: none !important; }
  .demo--customer-reactivation .rf-log__item { opacity: 1; transform: none; }
}
