/* Home — values from Figma 3:4896 */
.hm { padding-bottom: 8px; }

/* Hero banner (409px, tertiary-200, rounded bottom) */
.hm-hero { position: relative; height: 409px; background: var(--tertiary-200); border-radius: 0 0 32px 32px; overflow: hidden; }
.hm-hero__bgword { position: absolute; left: 13px; top: 290px; font-size: 112px; font-weight: 700; color: var(--tertiary-300); opacity: .35; line-height: 1; letter-spacing: -1px; }
.hm-hero__lion { position: absolute; left: 157.85px; top: 157.28px; width: 264.7px; height: 264.7px; object-fit: cover; }
.hm-hero__foliage { position: absolute; left: 0; bottom: 0; width: 390px; height: 145px; }
.hm-hero__top { position: relative; padding: 34px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.hm-head { display: flex; align-items: center; gap: 8px; height: 32px; }
.hm-logo { margin-right: auto; height: 32px; width: auto; }
.hm-head__btn { width: 32px; height: 32px; display: grid; place-items: center; position: relative; }
.hm-head__btn::before { content: ""; position: absolute; inset: -6px; }
.hm-bell__art { position: relative; width: 24px; height: 24px; display: block; }
.hm-bell__art > span { position: absolute; }
.hm-bell__art img { width: 100%; height: 100%; max-width: none; }
.hm-bell__dot { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--tertiary); border: 1.5px solid var(--tertiary-200); }
.hm-search {
  height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 20px; text-align: left;
  background: rgba(254,254,254,.75); border: 1px solid var(--primary); border-radius: 12px; box-shadow: var(--shadow-1);
}
.hm-search span { flex: 1; font-size: 12px; font-weight: 600; color: var(--muted-2); }
.hm-search__mic { margin-right: 3px; }
.hm-hero__text { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hm-hero__title { width: 220px; font-weight: 600; line-height: .79; }
.hm-hero__title span { font-size: 20px; display: block; margin-bottom: 8px; }
.hm-hero__title b { font-size: 40px; font-weight: 700; color: var(--primary); display: block; }
.hm-adopt img { transform: rotate(57.49deg) scaleY(-1); margin-left: 2px; }
.hm-adopt { gap: 0; padding-right: 4px; }

/* Quick actions */
.hm-quick { display: flex; gap: 38px; overflow-x: auto; padding: 44px 16px 12px; scrollbar-width: none; }
.hm-quick::-webkit-scrollbar { display: none; }
.hm-quick__item { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; transition: transform var(--dur-1) var(--ease-out); }
.hm-quick__item:active { transform: scale(.94); }
.hm-quick__tile { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }

/* Section headers */
.hm-sec { margin-top: 32px; }
.hm-sec__head { padding: 0 16px; margin-bottom: 12px; }
.hm-sec__head button { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; min-height: 32px; }

/* Today's highlights */
.hm-hl { gap: 16px; }
.hm-hl__card { width: 148px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.hm-hl__img { position: relative; width: 148px; height: 144px; margin-bottom: 4px; }
.hm-hl__img > img:first-child { width: 148px; height: 144px; }
.hm-hl__go { position: absolute; left: 114px; top: 112px; }
.hm-hl__t { font-size: 14px; font-weight: 600; letter-spacing: .28px; }
.hm-hl__m { font-size: 12px; color: var(--muted); line-height: 1.33; }

/* Promo carousel */
.hm-promos { margin-top: 32px; gap: 12px; }
.hm-promo { width: 358px; height: 112px; border-radius: 12px; padding: 8px 16px; display: flex; align-items: center; position: relative; overflow: hidden; color: #fff; }
.hm-promo--p1 { background: var(--grad-promo-1); }
.hm-promo--p2 { background: var(--grad-promo-2); }
.hm-promo--p3 { background: var(--grad-promo-3); color: var(--ink); }
.hm-promo__text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; width: 210px; }
.hm-promo--p3 .hm-promo__text { width: 260px; }
.hm-promo h3 { font-size: 16px; font-weight: 700; white-space: nowrap; }
.hm-promo p { font-size: 12px; }
.hm-promo__art { position: absolute; left: 209px; top: 0; width: 140px; height: 112px; }
.hm-promo__art .r1 { position: absolute; left: 0; top: 12px; width: 127px; height: 127px; }
.hm-promo__art .r2 { position: absolute; left: 13px; top: 25px; width: 102px; height: 102px; }
.hm-promo__art .r3 { position: absolute; left: 30px; top: 41px; width: 68px; height: 69px; }
.hm-promo__art .ph { position: absolute; left: 13px; top: 0; width: 92.6px; height: 111px; overflow: hidden; }
.hm-promo__art .ph img { position: absolute; width: 135.18%; height: 157.78%; left: -18.24%; top: -57.78%; max-width: none; }
.hm-promo__bell { position: absolute; right: 30px; top: 18px; width: 68px; height: 77px; transform: rotate(37.83deg); }

/* Things to do — centred card grows (308 → 404) */
.hm-todo {
  display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory; padding: 0 16px; height: 404px;
}
.hm-todo::-webkit-scrollbar { display: none; }
.hm-todo__card {
  flex: none; width: 358px; height: 308px; border-radius: 8px; position: relative; overflow: hidden;
  background: #101026 center / cover no-repeat; scroll-snap-align: center;
  transition: height var(--dur-3) var(--ease-out);
}
.hm-todo__card.is-active { height: 404px; }
.hm-todo__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; height: 126px; padding: 8px 12px 16px;
  background: var(--grad-scrim); backdrop-filter: blur(6.1px); -webkit-backdrop-filter: blur(6.1px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; color: #fff;
}
.hm-todo__overlay h3 { font-size: 16px; font-weight: 600; }
.hm-todo__overlay p { font-size: 14px; width: 317px; }
.hm-todo__overlay .text-link { min-height: 24px; }

/* Alerts */
.hm-alerts { margin-top: 32px; padding-block: 16px; gap: 12px; }
.hm-alert {
  width: 358px; min-height: 84px; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--page); border: 1px solid var(--line); border-left: 8px solid var(--primary); border-radius: 8px;
}
.hm-alert__ico { width: 32px; height: 32px; border-radius: 40px; background: var(--line); display: grid; place-items: center; flex: none; }
.hm-alert h3 { font-size: 14px; font-weight: 500; }
.hm-alert p { font-size: 12px; margin-top: 4px; line-height: 1.33; }

/* Featured */
.hm-feat { margin-top: 32px; background: var(--surface-alt); padding: 16px 0; display: flex; flex-direction: column; gap: 18px; }
.hm-feat > h2 { padding: 0 16px; }
.hm-feat__track { gap: 12px; }
.hm-feat__card { width: 358px; background: var(--page); border: 1px solid var(--tertiary); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.hm-feat__card img { width: 334px; height: 179px; object-fit: cover; border-radius: 12px; }
.hm-feat__card h3 { font-size: 16px; font-weight: 600; margin-top: 16px; }
.hm-feat__card p { font-size: 14px; margin-top: 2px; line-height: 1.35; min-height: 38px; }
.hm-feat__card .pill { margin-top: 16px; }
