/* BNI Heaven Roster – values taken from the Figma file (Desktop 1440 / Mobile 390). */
:root {
	--red: #ce2131;
	--hero-red: #c4242a;
	--dark: #292727;
	--grey: #707070;
	--line: #e5e5e5;
	--bg: #f7f7f7;
	--ff: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ff-inter: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--header-h: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Offset for the sticky header on section jumps (not on <html>: that made the page creep up while typing in the header search) */
main section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--dark); font-family: var(--ff); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Photo frame (15:19, same as admin crop preview) ---------- */
.bni-photo { position: relative; overflow: hidden; aspect-ratio: 15 / 19; background: #d9d9d9; }
.bni-photo img { width: 100%; height: 100%; object-fit: cover; }
.js .bni-photo img { opacity: 0; transition: opacity .35s ease; }
.js .bni-photo img.is-loaded { opacity: 1; }
.bni-photo__initials { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 32px; color: #9ca3af; }

/* ---------- Search box ---------- */
.search-box { display: flex; align-items: center; gap: 12px; width: 371px; height: 46px; padding: 0 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; cursor: text; transition: border-color .2s, box-shadow .2s; }
.search-box svg { flex: 0 0 20px; width: 20px; height: 20px; }
.search-box input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; font: 400 16px/1 var(--ff); color: var(--dark); }
.search-box input::placeholder { color: #6b7280; opacity: 1; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-left: 6px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%23ce2131' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.search-box input::-webkit-search-cancel-button:hover { opacity: .75; }
.search-box:focus-within { border-color: #d4d4d4; box-shadow: 0 0 0 3px rgba(206, 33, 49, .12); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--bg); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-header__logo img { height: 48px; width: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-red) var(--hero-bg) center / cover no-repeat; color: #fff; text-align: center; padding: 94px 0; } /* content centred top-bottom */
.hero__copy { max-width: 896px; margin-inline: auto; }
.hero__eyebrow b, .hero__eyebrow strong { font-weight: 700; }
/* Figma text boxes are trimmed to cap height; matches the design spacing exactly */
.hero__eyebrow, .hero__title, .hero__text { text-box: trim-both cap alphabetic; }
.hero__eyebrow { font-weight: 500; font-size: 24px; line-height: 34px; }
.hero__title { margin-top: 36px; font-weight: 700; font-size: 52px; line-height: 64px; letter-spacing: -.005em; }
.hero__text { max-width: 800px; margin: 72px auto 0; font-weight: 500; font-size: 28px; line-height: 38px; }
.hero__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 64px; margin-top: 116px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat__laurel { height: 96px; width: auto; }
.stat__laurel--r { transform: scaleX(-1); } /* right laurel mirrors the left one: ( ) */
.stat__body { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 160px; }
.stat__num { font-weight: 600; font-size: 48px; line-height: 1; white-space: nowrap; -webkit-text-stroke: .5px #f2f2f2; text-box: trim-both cap alphabetic; }
.stat__text { font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: .02em; text-box: trim-both cap alphabetic; }

/* ---------- Brands marquee ---------- */
.brands { padding: 55px 0; background: var(--bg); overflow: hidden; }
.brands__title { font-weight: 500; font-size: 24px; line-height: 34px; text-align: center; margin-bottom: 42px; color: var(--dark); }
.brands__viewport { overflow: hidden; }
.brands__track { display: flex; width: max-content; animation: bni-marquee 40s linear infinite; }
.brands__viewport:hover .brands__track { animation-play-state: paused; }
.brands__set { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.brands__logo { height: 40px; width: auto; max-width: none; }
@keyframes bni-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brands__track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--leaders { background: #fff; }
.section--crore { background: var(--dark); color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "main text nav"; align-items: center; column-gap: 32px; margin-bottom: 48px; }
.section-head__main { grid-area: main; }
.section-head__text { grid-area: text; }
.section-head .slider__nav { grid-area: nav; }
.section-head__eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red); font-weight: 600; font-size: 14px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.section-head__eyebrow svg { width: 20px; height: 20px; }
.section--crore .section-head__eyebrow { color: #ff4c5c; }
.section-head__title { margin-top: 8px; font-weight: 600; font-size: 32px; line-height: 36px; }
.section-head__text { max-width: 437px; color: var(--grey); font-size: 16px; line-height: 26px; }
.section--crore .section-head__text { max-width: 470px; color: #fff; }

/* ---------- Feature cards (Leadership / Crorepati) ---------- */
/* Featured sections are sliders: 3 (leaders) / 4 (crorepati) visible on desktop, swipe + arrows when there are more. */
.feature-grid { display: flex; gap: 27px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 0 0 32px; margin-bottom: -32px; }
.feature-grid.is-moving { scroll-snap-type: none; }
.feature-grid::-webkit-scrollbar { display: none; }
.feature-grid.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.feature-grid.is-dragging * { pointer-events: none; }
.feature-grid { -webkit-user-select: none; user-select: none; }
.feature-grid img { -webkit-user-drag: none; user-drag: none; }
.feature-grid > :first-child { margin-left: auto; }
.feature-grid > :last-child { margin-right: auto; }
.feature-card { flex: 0 0 calc((100% - 54px) / 3); scroll-snap-align: start; }
.feature-grid--4 .feature-card { flex-basis: calc((100% - 81px) / 4); }
.slider__nav { display: flex; gap: 10px; }
.slider__nav[hidden] { display: none; }
.slider__btn:hover:not(:disabled), .slider__btn:focus-visible { transform: scale(1.08); box-shadow: 0 6px 16px -6px rgba(206, 33, 49, .6); }
.slider__btn:active { transform: scale(.96); }
.slider__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--dark); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.slider__btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; }
.section--crore .slider__btn { background: #3b3b3b; border-color: #4a4a4a; color: #fff; }
.section--crore .slider__btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.feature-card { box-sizing: border-box; padding: 8px; border: 1px solid #efefef; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 28px -10px rgba(16, 24, 40, .14); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(206, 33, 49, .25); box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 22px 40px -14px rgba(16, 24, 40, .22); }
.section--crore .feature-card { border-color: #3b3b3b; background: linear-gradient(180deg, #2d2c2c 0%, #1c1b1b 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 16px 32px -14px rgba(0, 0, 0, .7); }
.section--crore .feature-card:hover { border-color: rgba(255, 76, 92, .45); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 22px 40px -14px rgba(0, 0, 0, .8); }

.section--crore .feature-card__media { box-shadow: none; }
.feature-card__media { position: relative; overflow: hidden; border-radius: 8px; }
.feature-card__media .bni-photo { border-radius: 8px; }
.feature-card__badge { position: absolute; top: 20px; left: 20px; z-index: 2; padding: 6px 12px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 600; font-size: 16px; line-height: 16.5px; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
/* Info panel = Figma "User Info": full width, white 0%->70% gradient + background blur 100, radius 8 */
.feature-card__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; height: 155px; padding: 38px 36px 28px; border-radius: 8px; color: var(--dark); }

.feature-card__info::before, .feature-card__info::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
/* Figma background blur 100 is visible in proportion to the layer's fill opacity (0% top -> 70% bottom) */
.feature-card__info::before { -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 100%); }
.feature-card__info::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 100%); }
/* brand accent line along the bottom of every featured photo */

.feature-card__name { font-weight: 700; font-size: 24px; line-height: 1.2; }
.feature-card__cat { margin-top: 2px; color: var(--red); font-weight: 600; font-size: 12px; line-height: 16px; text-transform: uppercase; }
.feature-card__biz { margin-top: 6px; font-weight: 500; font-size: 14px; line-height: 20px; }
.feature-card--sm .feature-card__info { height: 130px; padding: 20px; }
.feature-card--sm .feature-card__name { font-size: 20px; }
.feature-card__name, .feature-card__cat, .feature-card__biz { overflow-wrap: anywhere; }

/* ---------- Roster ---------- */
.section--roster { background: var(--bg); }
.roster-head { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 68px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.roster-head__title { font-weight: 600; font-size: 32px; line-height: 36px; }
.roster-head__text { margin-top: 8px; color: var(--grey); font-size: 16px; line-height: 26px; }
.roster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 74px 38px; }
.roster-grid.is-filtered { min-height: calc(100vh - var(--header-h) - 120px); align-content: start; }
.roster-empty { padding: 48px 0; text-align: center; color: var(--grey); font-size: 16px; }

.member-card { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "photo head" "photo services" "actions actions"; column-gap: 24px; row-gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 32px rgba(41, 39, 39, .05); }
.member-card[hidden] { display: none; }
.member-card { container-type: inline-size; container-name: card; }
.btn { min-width: 0; }
.btn span { overflow: hidden; text-overflow: ellipsis; }
.member-card__photo { grid-area: photo; align-self: start; width: 150px; margin-top: -43px; border-radius: 4px; }
.member-card__head { grid-area: head; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cat social" "id id"; align-items: start; column-gap: 16px; row-gap: 12px; }
.member-card__cat { line-height: 1.3 !important; word-spacing: .18em; grid-area: cat; justify-self: start; max-width: 100%; margin-top: 1px; overflow-wrap: anywhere; padding: 4px 10px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: .02em; text-transform: uppercase; }
.member-card__social { grid-area: social; justify-self: end; display: flex; gap: 16px; }
.member-card__social a { display: grid; place-items: center; border-radius: 6px; transition: transform .25s ease; }
.member-card__social svg [fill]:not([fill="none"]) { transition: fill .25s ease; }
.member-card__social a:hover, .member-card__social a:focus-visible { transform: translateY(-2px); }
.member-card__social a:hover svg [fill]:not([fill="none"]), .member-card__social a:focus-visible svg [fill]:not([fill="none"]) { fill: var(--red); }
.member-card__social svg { width: 26px; height: 26px; }
.member-card__id { grid-area: id; }
.member-card__name { font-weight: 700; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.member-card__biz { margin-top: 2px; font-weight: 500; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.member-card__services { grid-area: services; font-family: var(--ff-inter); font-size: 14px; line-height: 22px; color: var(--grey); }
.member-card__services strong { font-weight: 600; color: var(--dark); }
.member-card__actions { grid-area: actions; display: flex; gap: 24px; margin-top: 8px; }

.btn { --c: currentColor; flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 4px 8px; border: 1px solid; border-radius: 4px; font-weight: 600; font-size: 14px; line-height: 16px; white-space: nowrap; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn svg [fill]:not([fill="none"]) { fill: currentColor; transition: fill .25s ease; }
.btn svg { transition: transform .25s ease; }
.btn:hover, .btn:focus-visible { background-color: var(--c); border-color: var(--c); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px -6px var(--c); }
.btn:hover svg { transform: scale(1.12); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--wa { --c: #059669; background: #d8feec; border-color: #a7f3d0; color: #047857; }
.btn--mail { --c: #be123c; background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.btn--call { --c: #0369a1; background: #f0f9ff; border-color: #bae6fd; color: #0369a1; }
.btn--save { --c: #1e293b; background: #f1f5f9; border-color: #cbd5e1; color: #1e293b; }
/* Call + Save (vCard) are mobile actions, as in the mobile design. */
.btn--call, .btn--save { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--red); color: #fff; padding: 32px 0; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__logo img { height: 40px; width: auto; }
.site-footer__connect { display: flex; align-items: center; gap: 20px; }
.site-footer__label, .site-footer__link { font-weight: 600; font-size: 16px; line-height: 16px; }
.site-footer__links { display: flex; align-items: center; gap: 20px; }
.site-footer__link { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__link svg { width: 26px; height: 26px; }
.site-footer__link { transition: opacity .25s ease; }
.site-footer__link svg { transition: transform .25s ease; }
.site-footer__link:hover { opacity: .85; }
.site-footer__link:hover svg { transform: translateY(-2px) scale(1.08); }
.site-footer__link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__sep { width: 2px; height: 26px; background: rgba(255, 255, 255, .6); border-radius: 1px; }
.site-footer__line { margin: 20px 0; border: 0; height: 1px; background: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 16px; line-height: 16px; }
.site-footer__credit { font-family: var(--ff-inter); font-weight: 500; }
.site-footer__bottom b, .site-footer__bottom strong { font-weight: 700; }
.site-footer__bottom a { text-decoration: none; transition: opacity .25s ease; }
.site-footer__bottom a:hover { opacity: .8; }
.site-footer__credit a, .site-footer__credit a b, .site-footer__credit a strong { font-weight: 600; }

/* =================================================================
 * Tablet
 * ============================================================== */
@media (max-width: 1199px) {
	.hero__title { font-size: 44px; line-height: 56px; }
	.hero__text { font-size: 24px; line-height: 34px; }
	.stat__num { font-size: 40px; }
	.stat__text { font-size: 20px; }
	.feature-grid--4 .feature-card { flex-basis: calc((100% - 54px) / 3); }
	/* Tablet: 2 columns down to 768px with the compact (mobile design) card */
	.roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
	.member-card { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "photo head" "services services" "actions actions"; column-gap: 26px; row-gap: 16px; padding: 20px 16px; }
	.member-card__photo { width: 110px; margin-top: -36px; }
	.member-card__head { grid-template-columns: 1fr; grid-template-areas: "cat" "id" "social"; row-gap: 4px; align-self: start; }
	.member-card__cat { padding: 2px 8px; }
	.member-card__social { justify-self: start; margin-top: 6px; }
	.member-card__social svg { width: 24px; height: 24px; }
	.member-card__name { font-size: 18px; }
	.member-card__biz { margin-top: 2px; }
	.member-card__services { font-size: 12px; line-height: 20px; }
	.member-card__actions { gap: 6px; margin-top: 0; }
	.btn { flex: 1 1 auto; height: 26px; font-size: 12px; line-height: 14px; }
	.btn svg { width: 16px; height: 16px; }
	.btn--call, .btn--save { display: inline-flex; }
}
@media (max-width: 991px) {
	.section-head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main nav" "text text"; row-gap: 12px; align-items: end; }
	.section-head__text { max-width: 640px; }
	/* Tablet: 2 leaders / 3 crorepati per view, always whole cards */
	.feature-grid { gap: 20px; }
	.feature-card { flex-basis: calc((100% - 20px) / 2); }
	.feature-grid--4 .feature-card { flex-basis: calc((100% - 40px) / 3); }
}

/* =================================================================
 * Mobile (Figma 390)
 * ============================================================== */
@media (max-width: 767px) {
	:root { --header-h: 60px; }
	.container { width: calc(100% - 32px); }

	/* iOS zooms inputs under 16px – render at 16px and scale down to the design size. */
	.search-box input { font-size: 16px; transform: scale(var(--s)); transform-origin: left center; width: calc(100% / var(--s)); flex: none; }

	.site-header__inner { gap: 24px; }
	.site-header__logo img { height: 36px; }
	.search-box--header { --s: .75; flex: 1; max-width: 257px; width: auto; height: 36px; padding: 0 12px; gap: 6px; border-radius: 6px; overflow: hidden; }
	.search-box--header svg { width: 18px; height: 18px; flex-basis: 18px; }
	.search-box--header input { flex: none; }

	.hero { padding: 35px 0; background-image: var(--hero-bg-m); }
	.hero .container { width: calc(100% - 16px); }
	.hero__eyebrow { font-size: 16px; line-height: 26px; }
	.hero__title { margin-top: 24px; font-size: 30px; line-height: 36px; }
	.hero__title br { display: none; }
	.hero__text { margin-top: 42px; font-size: 18px; line-height: 26px; }
	.hero__text br { display: none; }
	.hero__stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 12px 42px; margin: 48px auto 0; }
	.hero__stats .stat:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }
	.stat { gap: 10px; }
	.stat__laurel { height: 64px; }
	.stat__body { min-width: 0; width: min-content; gap: 12px; }
	.stat__num { font-size: 20px; -webkit-text-stroke: .35px #f2f2f2; }
	.stat__text { font-size: 14px; line-height: 16px; }

	.brands { padding: 32px 0; }
	.brands__title { font-size: 16px; line-height: 20px; margin-bottom: 34px; }
	.brands__logo { height: 28px; }
	.brands__track { animation-duration: 30s; }

	.section { padding: 32px 0; }
	.section-head { row-gap: 12px; margin-bottom: 24px; }
	.section-head__eyebrow { gap: 8px; font-size: 12px; }
	.section-head__eyebrow svg { width: 18px; height: 18px; }
	.section-head__title { margin-top: 2px; font-size: 24px; line-height: 34px; }
	.section-head__text { font-size: 14px; line-height: 24px; }

	.feature-grid { gap: 16px; padding-bottom: 24px; margin-bottom: -24px; }
	/* Mobile: one full card + ~20% of the next one, so it reads as a slider */
	.feature-card { flex-basis: calc((100% - 16px) / 1.2); }
	.slider__nav { gap: 8px; }
	.slider__btn { width: 36px; height: 36px; }
	.feature-card__badge { top: 10px; left: 10px; padding: 4px 10px; font-size: 12px; line-height: 16.5px; }
	.feature-card__info { height: 112px; padding: 28px 24px 16px; }
	.feature-card__name { font-size: 18px; }
	.feature-card__cat { margin-top: 0; }
	.feature-card__biz { margin-top: 4px; }
	.feature-grid--4 .feature-card { flex-basis: calc((100% - 16px) / 1.2); padding: 6px; }
	/* Compact one-line info so the photo stays clear */
	.feature-card--sm .feature-card__info { height: 96px; padding: 20px 24px 12px 16px; }

	.feature-card--sm .feature-card__name { font-size: 16px; line-height: 22px; }
	.feature-card--sm .feature-card__cat { margin-top: 2px; font-size: 12px; line-height: 16px; }
	.feature-card--sm .feature-card__biz { margin-top: 2px; font-size: 12px; line-height: 18px; }
	.feature-card--sm .feature-card__name, .feature-card--sm .feature-card__cat, .feature-card--sm .feature-card__biz { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	.roster-head { flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 52px; padding: 16px; }
	.roster-head__title { font-size: 24px; line-height: 34px; }
	.roster-head__text { font-size: 14px; line-height: 24px; }
	.roster-head .search-box { --s: .875; width: 100%; padding: 0 16px; gap: 8px; overflow: hidden; }
	.roster-grid { grid-template-columns: minmax(0, 1fr); row-gap: 42px; }


	.site-footer { padding: 20px 0; }
	.site-footer__top { flex-direction: column; gap: 20px; }
	.site-footer__connect { flex-direction: column; gap: 12px; }
	.site-footer__label, .site-footer__link { font-size: 14px; }
	.site-footer__links { gap: 16px; }
	.site-footer__link svg { width: 20px; height: 20px; }
	.site-footer__sep { height: 24px; }
	.site-footer__line { margin: 16px 0; }
	.site-footer__bottom { flex-direction: column; align-items: center; gap: 10px; font-size: 14px; text-align: center; }
}

/* Keyboard focus */
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.site-footer a:focus-visible { outline-color: #fff; }
/* Hover only where a real pointer exists (no sticky hover on touch) */
@media (hover: none) {
	.btn:hover { transform: none; box-shadow: none; }
	.btn--wa:hover { background-color: #d8feec; border-color: #a7f3d0; color: #047857; }
	.btn--mail:hover { background-color: #fff1f2; border-color: #fecdd3; color: #be123c; }
	.btn--call:hover { background-color: #f0f9ff; border-color: #bae6fd; color: #0369a1; }
	.btn--save:hover { background-color: #f1f5f9; border-color: #cbd5e1; color: #1e293b; }
	.btn:hover svg { transform: none; }
	.btn:active { background-color: var(--c); border-color: var(--c); color: #fff; }
}

/* Narrow cards (small phones): keep the 4 action buttons on one line, just smaller */
@container card (max-width: 312px) {
	.member-card__actions { gap: 4px; }
	.member-card__actions .btn { flex: 1 1 auto; gap: 4px; padding: 0 5px; font-size: 11px; }
	.member-card__actions .btn svg { width: 14px; height: 14px; }
}
@container card (max-width: 270px) {
	.member-card__actions .btn { gap: 3px; padding: 0 4px; font-size: 10.5px; letter-spacing: -.01em; }
	.member-card__actions .btn svg { width: 13px; height: 13px; }
}

