/* Original Brightbird layout, with calmer typography and refined cards.
   Loaded on every page (build.py puts .home-refined on every <main>) so the type matches site-wide.
   Section order, grids and staggered layouts stay in style.css. */
.home-refined h1, .home-refined h2, .home-refined h3 {
  font-family: var(--text);
  font-weight: 600;
}
.home-refined .h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.home-refined .hero__title {
  font-size: clamp(52px, 6.05vw, 84px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.home-refined .hero__title em { color: #9BCBFB; animation: none; }
.home-refined .hero__title .ln { overflow: visible; padding: 0; }
.home-refined .hero__title .ln > span,
.home-refined .hero__sub,
.home-refined .hero__btn { animation: none; }
.home-refined .eyebrow {
  font-family: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}
.home-refined .btn, .hdr .btn, .ftr .btn {
  font-family: var(--text);
  font-weight: 700;
}
.home-refined .card h3, .home-refined .why__list h3,
.home-refined .feats h3 { letter-spacing: -.025em; line-height: 1.25; }
.home-refined .faq__q { font: 500 18px/1.4 var(--text); letter-spacing: -.01em; }
.home-refined .stat b, .home-refined .city__txt b,
.home-refined .tst__who b, .home-refined .tst__badge b,
.home-refined .split__badge b, .home-refined .owner .sig, .home-refined .owner__photo b,
.home-refined .roles__closed b, .home-refined .roles__open b {
  font-family: var(--text);
  font-weight: 600;
}
.home-refined .phero__title { line-height: 1.08; letter-spacing: -.05em; }
.home-refined .marq span { font-family: var(--text); font-weight: 600; }
.ftr__h { font-family: var(--text); font-weight: 600; line-height: 1.12; }
.mbar a { font-family: var(--text); font-weight: 700; }
.review-draft-note {
  padding: 8px 12px;
  margin-bottom: 20px;
  width: fit-content;
  border-radius: 6px;
  background: #FFF4D2;
  color: var(--navy);
  font-size: 12px;
}

/* Keep the familiar cards, with a more considered frame and lighter depth. */
.home-refined .card {
  padding: 10px 10px 28px;
  border: 1px solid rgba(18, 38, 74, .075);
  border-radius: 24px;
  box-shadow: 0 2px 4px rgba(18, 38, 74, .025), 0 18px 36px -24px rgba(18, 38, 74, .26);
  transition: transform .45s var(--ease), box-shadow .35s, border-color .35s;
}
.home-refined .card__img { margin-bottom: 30px; }
.home-refined .card__img img { border-radius: 16px; }
.home-refined .card__go, .home-refined .card__num {
  width: 46px;
  height: 46px;
  right: 16px;
  bottom: -23px;
  color: var(--sun);
  background: var(--navy);
  box-shadow: 0 0 0 5px #fff, 0 5px 12px -5px rgba(18, 38, 74, .25);
}
.home-refined .card__go .ic { width: 18px; height: 18px; }
.home-refined .card__go:hover { background: var(--sky); color: #fff; }
.home-refined .card__go:focus-visible { outline-offset: 7px; }
.home-refined .feat .card h3 {
  margin: 0 18px 16px;
  padding: 0 0 16px;
  border-bottom-color: rgba(18, 38, 74, .09);
  font-size: 22px;
  line-height: 1.3;
}
.home-refined .card p { padding: 0 18px; line-height: 1.7; }
.home-refined .card:hover { transform: none; }
.home-refined .card:hover .card__img img { filter: none; }
.home-refined .card:focus-within {
  border-color: rgba(31, 111, 209, .4);
  box-shadow: 0 4px 10px rgba(18, 38, 74, .03), 0 22px 40px -24px rgba(18, 38, 74, .3);
}
.home-refined .card--cta {
  padding: 32px 28px;
  border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(145deg, #1B345B, var(--navy-deep));
}
.home-refined .feat .card--cta h3 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 28px;
  line-height: 1.18;
}
.home-refined .card--cta p { padding: 0; margin: 16px 0 28px; color: #D0DAE8; }
.home-refined .card--cta .btn { box-shadow: none; }
.home-refined .card__spark { fill: rgba(92, 168, 245, .09); }
.home-refined .card--step h3 { padding: 0 18px; font-size: 20px; line-height: 1.3; }
.home-refined .card__num { font: 600 14px/1 var(--text); }

/* Matching, restrained arrow controls on the existing city photo cards. */
.home-refined .city { border-radius: 24px; box-shadow: 0 16px 30px -22px rgba(18, 38, 74, .35); }
.home-refined .city::before { background: linear-gradient(180deg, transparent 38%, rgba(13, 28, 56, .16) 58%, rgba(13, 28, 56, .88)); }
.home-refined .city__txt { left: 24px; right: 82px; bottom: 24px; }
.home-refined .city__txt b { font-size: clamp(26px, 2.4vw, 30px); line-height: 1.15; }
.home-refined .city__go {
  right: 20px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
}
.home-refined .city__go .ic {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--navy);
}
@media (hover: hover) and (pointer: fine) {
  .home-refined .card:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 38, 74, .15);
    box-shadow: 0 4px 8px rgba(18, 38, 74, .035), 0 26px 42px -24px rgba(18, 38, 74, .3);
  }
}
@media (max-width: 900px) {
  .home-refined .hero__title { font-size: clamp(48px, 7vw, 64px); }
}
@media (max-width: 640px) {
  .home-refined .hero__title {
    font-size: clamp(36px, 10.8vw, 54px);
    line-height: 1.12;
    letter-spacing: -.05em;
  }
  .home-refined .faq__q { font-size: 17px; }
}

/* Approved photo framing, checked from 320px through desktop. */
.home-refined .about__img { background-position: 60% 12%; }
@media (max-width: 900px) {
  .home-refined .about__img { background-position: 60% 8%; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .home-refined .about__img { height: clamp(380px, 70vw, 600px); background-position: 60% top; }
}
@media (max-width: 640px) {
  .home-refined .hero__bg { object-position: 76% center; }
}
