/* Lawyer / law firm profile (/lawyers/{slug}) */

/* ---------- Hero ---------- */
.ph { position: relative; padding: 26px 0 0; color: #fff; }
.ph__cover {
    position: absolute; inset: 0 0 64px 0; z-index: -1;
    background:
        radial-gradient(640px 320px at 88% -10%, rgba(226, 194, 126, .30), transparent 65%),
        radial-gradient(520px 280px at 10% 120%, rgba(95, 168, 138, .30), transparent 70%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
        linear-gradient(160deg, #1D463D 0%, #12302A 70%);
}
.ph .crumbs { margin-bottom: 22px; }
.ph__cover--photo { background: linear-gradient(180deg, rgba(10, 25, 21, .25), rgba(10, 25, 21, .7)), var(--cover) center / cover no-repeat; }
.ph:has(.ph__cover--photo) .crumbs { margin-bottom: 170px; }
@media (max-width: 760px) { .ph:has(.ph__cover--photo) .crumbs { margin-bottom: 90px; } }
.ph__card {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
    background: #fff; color: var(--ink); border-radius: 22px; padding: 28px 30px;
    box-shadow: 0 1px 2px rgba(24, 58, 51, .06), 0 30px 60px -36px rgba(14, 38, 33, .65);
    animation: ph-in .7s cubic-bezier(.22, .8, .3, 1) both;
}
@keyframes ph-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ph__photo { position: relative; }
.ph__photo .avatar { width: 148px; height: 148px; box-shadow: 0 0 0 5px #fff, 0 0 0 7px #E2C27E, 0 18px 30px -18px rgba(0, 0, 0, .5); font-size: 50px; }
.ph__seal { position: absolute; right: 4px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--action); font-size: 30px; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.ph__kind { margin: 0 0 6px; font: 600 13px var(--sans); color: #8A5F17; letter-spacing: .01em; }
.ph h1 { font: 600 clamp(32px, 3.6vw, 46px)/1.08 var(--heading); letter-spacing: -.02em; margin: 0 0 6px; color: var(--ink); }
.ph__role { margin: 0 0 14px; font-size: 17px; color: var(--slate); }
.ph__facts { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #3D4642; }
.ph__facts li { display: inline-flex; align-items: center; gap: 7px; line-height: 1.2; }
.ph__facts i { font-size: 18px; color: var(--action); display: block; }
.ph__stars { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.ph__starrow { display: inline-flex; gap: 1px; }
.ph__starrow { font-size: 17px; }
.ph__stars strong { font-weight: 700; color: var(--ink); }
.ph__count { color: var(--slate); text-decoration: underline; text-decoration-color: #C9D0CC; text-underline-offset: 3px; }
.ph__stars:hover .ph__count { color: var(--action); text-decoration-color: currentColor; }
.ph__open { font-weight: 600; color: #A3402A; }
.ph__open.is-open { color: var(--action); }
.ph__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: inline-block; }
.is-open .ph__dot { box-shadow: 0 0 0 0 rgba(30, 107, 82, .5); animation: ph-pulse 2s infinite; }
@keyframes ph-pulse { 70% { box-shadow: 0 0 0 8px rgba(30, 107, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 107, 82, 0); } }
.ph__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ph__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #F2F4F1; font-size: 13px; font-weight: 600; color: #3D4642; }
.ph__badge i { font-size: 16px; color: var(--slate); }
.ph__badge--green { background: #E3F2EA; color: #165340; }
.ph__badge--green i { color: var(--action); }
.ph__badge--gold { background: var(--brass-soft); color: #6B4B12; }
.ph__badge--firm { background: #1E4A40; }
.ph__badge--firm a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.ph__badge--firm i { color: #E9D7A8; }
.ph__badge--firm:hover { background: var(--action); }
.ph__badge--gold i { color: #8A5F17; }
.ph__actions { display: flex; flex-direction: column; gap: 10px; min-width: 230px; }
.ph__actions .btn { justify-content: center; }
.btn--light { background: #EEF5F1; color: var(--action); border: 1.5px solid #CFE2D8; }
.btn--light:hover { background: #E1EFE7; border-color: var(--action); color: var(--action); }
.ph__share { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; color: var(--slate); font: 600 14px var(--sans); cursor: pointer; padding: 6px; }
.ph__share i { font-size: 18px; }
.ph__share:hover { color: var(--action); }

.claim-note { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--brass-soft); color: #4A3A16; border: 1px solid #E6D6B2; }
.claim-note p { margin: 0; display: flex; align-items: center; gap: 8px; }
.claim-note i { font-size: 20px; color: #8A5F17; }

/* ---------- Stats strip ---------- */
.pstats { padding: 22px 0 6px; }
.pstats__list { list-style: none; margin: 0; padding: 0; display: flex; background: #fff; border: 1px solid var(--rule); border-radius: 18px; box-shadow: 0 10px 30px -24px rgba(24, 58, 51, .5); }
.pstats__list li { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.pstats__list li + li { border-left: 1px solid var(--rule); }
.pstats__icon { width: 44px; height: 44px; border-radius: 12px; background: #E6F1EB; color: var(--action); display: grid; place-items: center; flex-shrink: 0; }
.pstats__icon i { font-size: 22px; display: block; }
.pstats__list li:first-child .pstats__icon { background: #FEF3DC; }
.pstats__icon .star { font-size: 22px; }
.pcard__icon--gold { background: #FEF3DC; }
.pcard__icon .star { font-size: 22px; }
.pstats__text { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.pstats__text strong { font: 600 22px/1 var(--heading); color: var(--ink); white-space: nowrap; }
.pstats__text span { font-size: 13px; line-height: 1.3; color: var(--slate); }

/* ---------- Layout ---------- */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-top: 22px; padding-bottom: 88px; }
.profile-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.profile-aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }

/* Sticky section nav */
.pnav { position: sticky; top: 0; z-index: 5; background: rgba(247, 248, 245, .92); backdrop-filter: blur(8px); margin: 0 -4px; padding: 6px 4px; }
.pnav ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 4px; overflow-x: auto; background: #fff; border: 1px solid var(--rule); border-radius: 14px; scrollbar-width: none; }
.pnav ul::-webkit-scrollbar { display: none; }
.pnav a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--slate); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.pnav a:hover { color: var(--ink); background: #F2F4F1; }
.pnav a.is-active { background: var(--binding); color: #fff; }

/* Section cards */
.pcard { background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: clamp(20px, 2.6vw, 30px); scroll-margin-top: 76px; }
.pcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pcard__head h2 { font: 600 22px/1.2 var(--heading); margin: 0; color: var(--ink); flex: 1; }
.pcard__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #E6F1EB; color: var(--action); font-size: 22px; flex-shrink: 0; }
.pcard__action { min-height: 40px; }
.muted { color: var(--slate); }

.profile-prose { font-size: 16.5px; line-height: 1.75; color: #2E3633; max-width: 72ch; position: relative; }
.profile-prose.is-clamped { max-height: 230px; overflow: hidden; }
.profile-prose.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #fff); }
.prose-toggle { margin-top: 8px; font-weight: 700; }

.highlights { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #F7F9F7; border: 1px solid #EDF0EE; }
.highlights i { font-size: 26px; color: var(--action); flex-shrink: 0; }
.highlights strong { display: block; font-size: 15px; }
.highlights small { color: var(--slate); font-size: 13px; }

.area-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.area-tiles a { height: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--rule); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.area-tiles a:hover { border-color: var(--action); transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(24, 58, 51, .7); }
.area-tiles a.is-main { background: linear-gradient(135deg, #F2F8F5, #fff 70%); border-color: #BFD9CC; }
.area-tiles__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #E6F1EB; color: var(--action); flex-shrink: 0; }
.area-tiles__icon i { font-size: 24px; }
.area-tiles a.is-main .area-tiles__icon { background: var(--binding); color: #E9D7A8; }
.area-tiles__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.area-tiles__text strong { font: 650 16.5px/1.25 var(--heading); }
.area-tiles__text small { font-size: 12.5px; font-weight: 600; color: var(--slate); }
.area-tiles a.is-main small { color: #8A5F17; }
.area-tiles__go { font-size: 18px; color: #A3ADA9; transition: color .15s, transform .15s; }
.area-tiles a:hover .area-tiles__go { color: var(--action); transform: translate(2px, -2px); }
.area-tiles__note { margin: 12px 0 0; font-size: 13px; color: var(--slate); }

/* Background: work history and education in the style of a social profile */
.bg-label { margin: 22px 0 10px; font: 650 13px var(--heading); color: var(--slate); letter-spacing: .01em; }
.xp { border: 1px solid var(--rule); border-radius: 18px; padding: 4px 18px 6px; }
.xp + .xp, .xp--plain { margin-top: 14px; }
.xp--plain { border: 0; padding: 0; }
.xp--plain .bg-label { margin-top: 18px; }
.xp__summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; border-bottom: 1px solid #EDF1EE; margin-bottom: 6px; }
.xp__summary::-webkit-details-marker { display: none; }
.xp:not([open]) .xp__summary { border-bottom: 0; margin-bottom: 0; }
.xp__stack { display: inline-flex; flex-shrink: 0; }
.xp__mini { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 700 10.5px var(--heading); color: #fff; box-shadow: 0 0 0 2px #fff; }
.xp__mini + .xp__mini { margin-left: -6px; }
.xp__headline { flex: 1; min-width: 0; font-size: 14.5px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp__more { font-size: 14px; font-weight: 700; color: var(--slate); }
.xp__caret { font-size: 16px; color: var(--slate); transition: transform .2s; }
.xp[open] .xp__caret { transform: rotate(180deg); }
.xp__list { list-style: none; margin: 0; padding: 0; }
.xp__item { position: relative; display: flex; gap: 16px; padding: 12px 0; }
.xp__item:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 66px; bottom: -8px; width: 3px; border-radius: 3px; background: #E3E8E5; }
.xp__logo { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; color: #fff; font: 750 17px var(--heading); letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.xp__logo--school { background: var(--brass-soft); color: #8A5F17; font-size: 16px; }
.xp__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.xp__title { font: 650 16.5px/1.3 var(--heading); color: var(--ink); }
.xp__org { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: #3D4642; }
.xp__now { padding: 2px 8px; border-radius: 999px; background: #E3F2EA; color: #165340; font-size: 11.5px; font-weight: 700; }
.xp__dates { font-size: 14px; color: var(--slate); font-variant-numeric: tabular-nums; }
.xp__desc { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: #3D4642; max-width: 64ch; }
.tone-0 { background: #1E6B52; } .tone-1 { background: #2F5D8A; } .tone-2 { background: #8A5F17; }
.tone-3 { background: #6B4A8A; } .tone-4 { background: #A3402A; } .tone-5 { background: #2E6F75; }
.bg-box { margin-top: 14px; padding: 6px 18px 14px; }
.bg-box__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 0; border-bottom: 1px solid #EDF1EE; margin-bottom: 6px; font: 650 15px var(--heading); color: var(--ink); }
.bg-box__title i { width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 8px; background: #E6F1EB; color: var(--action); font-size: 16px; vertical-align: 0; }
.bg-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bg-pair .bg-box { margin-top: 14px; }
.bg-rows { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; }
.bg-rows li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.bg-rows li + li { border-top: 1px dashed #E6ECE8; }
.bg-rows small { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: #F2F5F3; font-size: 12px; font-weight: 600; color: var(--slate); }
.bg-rows__dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #F3F6F4; color: var(--action); flex-shrink: 0; }
.bg-rows__dot i { font-size: 16px; }
.awards { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-direction: column; gap: 8px; }
.awards li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #FBF4E4, #FFFBF2); border: 1px solid #F0E2C2; color: #4A3A16; font-weight: 600; font-size: 14.5px; }
.awards__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: #B07A1E; flex-shrink: 0; box-shadow: 0 4px 10px -6px rgba(138, 95, 23, .5); }
.awards__icon i { font-size: 20px; }

/* Team */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 14px; border: 1px solid var(--rule); border-radius: 16px; text-decoration: none; color: var(--ink); }
.team-card:hover { border-color: var(--action); }
.team-card strong { font: 600 17px var(--heading); }
.team-card > span:not(.avatar) { font-size: 13px; color: var(--slate); }

/* Office */
.office-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.office-stack { display: flex; flex-direction: column; gap: 14px; }
.office { padding: 16px; border-radius: 16px; background: #F7F9F8; border: 1px solid #EDF1EE; }
.office h3 { display: flex; align-items: center; gap: 10px; font: 650 16px var(--heading); margin: 0 0 10px; }
.office__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--action); box-shadow: 0 4px 10px -6px rgba(24, 58, 51, .45); }
.office__icon i { font-size: 18px; }
.office address { font-style: normal; display: flex; gap: 8px; font-size: 15px; line-height: 1.5; color: #3D4642; }
.office address i { font-size: 19px; color: var(--action); flex-shrink: 0; margin-top: 2px; }
.office__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.office__links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #E1E7E3; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.office__links a:hover { border-color: var(--action); color: var(--action); }
.office__links i { font-size: 17px; color: var(--action); }
.office-map { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); height: 380px; background: #EEF2EF; }
.office-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.hours { border: 1px solid var(--rule); border-radius: 16px; padding: 6px 6px 8px; }
.hours__status { margin: 0; padding: 10px 10px 8px; display: flex; align-items: center; gap: 8px; font: 650 15px var(--heading); color: #A3402A; }
.hours__status.is-open { color: var(--action); }
.hours__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.hours__table th, .hours__table td { padding: 7px 10px; }
.hours__table th { text-align: left; font-weight: 500; color: var(--slate); }
.hours__table td { text-align: right; font-variant-numeric: tabular-nums; color: #3D4642; }
.hours__table tr.is-today th, .hours__table tr.is-today td { background: #EEF6F1; color: var(--ink); font-weight: 700; }
.hours__table tr.is-today th { border-radius: 10px 0 0 10px; }
.hours__table tr.is-today td { border-radius: 0 10px 10px 0; }
.hours__today { margin-left: 8px; font-size: 11px; background: var(--action); color: #fff; padding: 2px 7px; border-radius: 6px; vertical-align: 1px; }
.hours__closed { color: #A3ADA9; }

/* Photos */
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }

/* ---------- Reviews ---------- */
.reviews-summary { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #FBF7EE, #F7F9F7); border: 1px solid #EEE4CE; }
.reviews-summary__score { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.reviews-summary__number { font: 600 56px/1 var(--heading); color: var(--ink); }
.reviews-summary__score .rating__value { display: none; }
.reviews-bars { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.reviews-bars div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 10px; }
.reviews-bars dt { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.reviews-bars dt .star { color: var(--star); font-size: 13px; }
.reviews-bars dd { margin: 0; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 10px; }
.reviews-bars__bar { height: 9px; border-radius: 999px; background: #ECE6D6; overflow: hidden; }
.reviews-bars__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #E3A42B, #F2C66B); transition: width 1s cubic-bezier(.22, .8, .3, 1); }
.reviews-bars__n { font-size: 13px; color: var(--slate); text-align: right; font-variant-numeric: tabular-nums; }
.reviews-sort { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; }
.reviews-sort .field__input { width: auto; height: 40px; }
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.review { padding: 18px 20px 14px; border: 1px solid var(--rule); border-radius: 18px; background: #fff; transition: border-color .15s; }
.review:hover { border-color: #C9D3CE; }
.review__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 16px var(--heading); flex-shrink: 0; }
.review__by { display: flex; flex-direction: column; margin-right: auto; }
.review__by strong { font: 650 15px var(--heading); }
.review__date { font-size: 13px; color: var(--slate); }
.review__stars .rating__stars { font-size: 15px; }
.review__text { margin: 0 0 8px; font-size: 15.5px; line-height: 1.65; color: #2E3633; }
.review__response { margin: 8px 0 6px; padding: 12px 16px; border-left: 3px solid var(--action); background: #F7F9F7; border-radius: 0 12px 12px 0; }
.review__response p { margin: 0; }
.review__response-by { font-weight: 700; font-size: 14px; color: var(--action); margin-bottom: 4px !important; }
.review__report { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; margin-left: -8px; border: 0; border-radius: 8px; background: none; color: #8A9590; font: 600 12.5px var(--sans); cursor: pointer; }
.review__report:hover { background: #F3F5F4; color: #A3402A; }
.review__report i { font-size: 14px; }
.reviews-empty { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: #F7F9F7; }
.reviews-empty i { font-size: 36px; color: #A9C9BB; }
.reviews-empty p { margin: 0; }
.review-form { margin-top: 16px; border-radius: 18px; background: #F7F9F7; border: 1px solid #EDF0EE; }
.review-form__toggle { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.review-form__toggle::-webkit-details-marker { display: none; }
.review-form__toggle > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.review-form__toggle strong { font: 650 16px var(--heading); }
.review-form__toggle small { font-size: 13px; color: var(--slate); }
.review-form__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--action); }
.review-form__icon i { font-size: 21px; }
.review-form[open] .review-form__btn { display: none; }
.review-form form { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 4px 18px 20px; }
.review-form .form-grid, .review-form .field { width: 100%; }
.star-input { border: 0; margin: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.star-input legend { width: 100%; margin-bottom: 6px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; font-size: 34px; line-height: 1; display: inline-flex; transition: transform .1s, color .1s; }
.star-input label .star { color: var(--star-empty); transition: color .12s; }
.star-input input:checked ~ label .star, .star-input label:hover .star, .star-input label:hover ~ label .star { color: var(--star); }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
.star-input .field__error { width: 100%; order: -1; }

/* ---------- Sidebar ---------- */
.ccard { background: #fff; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(24, 58, 51, .5); scroll-margin-top: 20px; }
.ccard__top { padding: 20px 22px; background: radial-gradient(260px 120px at 100% 0, rgba(226, 194, 126, .22), transparent 70%), linear-gradient(160deg, #1E4A40, #163A32); color: #fff; }
.ccard__top h2 { font: 700 21px/1.2 var(--heading); margin: 0; color: #fff; letter-spacing: -.01em; }
.ccard__top p { margin: 10px 0 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; color: #E3EEE8; }
.ccard__top i { color: #E2C27E; font-size: 17px; }
.ccard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.cterms { display: flex; flex-direction: column; gap: 10px; }
.cterms__label { display: block; font-size: 12px; font-weight: 600; color: var(--slate); letter-spacing: .01em; }
.cterms__rate { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #FBF6EA, #F6EEDA); border: 1px solid #EEDFBD; }
.cterms__rate-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #B4882F; font-size: 24px; box-shadow: 0 1px 2px rgba(120, 90, 30, .12); flex-shrink: 0; }
.cterms__price { display: block; font: 800 26px/1.1 var(--heading); color: #1F2A26; letter-spacing: -.02em; margin-top: 2px; }
.cterms__price small { font: 600 13px var(--sans); color: var(--slate); letter-spacing: 0; margin-left: 4px; }
.cterms__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cterms__grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
.cterms__grid > li:last-child:nth-child(odd) .cterm__ico { margin: 0; }
.cterm { --tone: #1F6B55; --tint: #EAF4EF; display: flex; flex-direction: column; gap: 2px; padding: 12px 13px; border-radius: 14px; background: #fff; border: 1px solid #E8ECEA; transition: border-color .15s; }
.cterm:hover { border-color: color-mix(in srgb, var(--tone) 35%, #fff); }
.cterm__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--tone); font-size: 19px; margin-bottom: 8px; }
.cterm strong { display: block; font-size: 14.5px; font-weight: 700; color: #1F2A26; line-height: 1.3; }
.cterm--green { --tone: #1F7A55; --tint: #E6F4EC; }
.cterm--sky { --tone: #2C6FAE; --tint: #E8F1FA; }
.cterm--brass { --tone: #A87A22; --tint: #FBF2DE; }
.cterm--plum { --tone: #7A4A8C; --tint: #F3ECF6; }
.ccard__actions { display: flex; flex-direction: column; gap: 8px; }
.ccard__list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.ccard__list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; min-width: 0; padding: 4px 0; }
.ccard__list i { width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 9px; background: #F2F5F3; font-size: 17px; color: var(--action); flex-shrink: 0; vertical-align: 0; }
.ccard__list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard__list a:hover { color: var(--action); }
.ccard__disclaimer { margin: 0; padding-top: 12px; border-top: 1px dashed var(--rule); display: flex; gap: 8px; font-size: 12.5px; line-height: 1.5; color: var(--slate); }
.ccard__disclaimer i { font-size: 18px; flex-shrink: 0; }
.contact-card__note { font-size: 14px; padding: 12px; background: var(--brass-soft); border-radius: 10px; }
.inline-form { display: inline; }
.link-button { background: none; border: 0; padding: 0; color: var(--action); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.similar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.similar-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--rule); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.similar-item:hover { border-color: var(--action); box-shadow: 0 12px 24px -20px rgba(24, 58, 51, .7); }
.similar-item__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.similar-item__text strong { font: 650 15px var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-item__text span { font-size: 12.5px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-item__rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; }
.similar-item__rating .star { font-size: 14px; }

/* Phone action bar */
.pbar { display: none; }

@media (max-width: 1080px) {
    .pstats__list li { padding: 16px; gap: 10px; }
    .pstats__text strong { font-size: 19px; }
    .ph__card { grid-template-columns: auto minmax(0, 1fr); }
    .ph__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .ph__actions .btn { flex: 1 1 200px; }
    .profile-layout { grid-template-columns: minmax(0, 1fr); }
    .profile-aside { position: static; }
}
@media (max-width: 760px) {
    .ph__card { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; padding: 24px 20px; }
    .ph__photo .avatar { width: 116px; height: 116px; font-size: 40px; }
    .ph__facts, .ph__badges { justify-content: center; }
    .ph__actions { flex-direction: column; width: 100%; }
    .ph__actions .btn { flex: none; width: 100%; }
    .pstats__list { display: grid; grid-template-columns: 1fr 1fr; }
    .pstats__list li { padding: 14px; gap: 10px; border-top: 1px solid var(--rule); }
    .pstats__list li + li { border-left: 0; }
    .pstats__list li:nth-child(-n+2) { border-top: 0; }
    .pstats__list li:nth-child(even) { border-left: 1px solid var(--rule); }
    .pstats__list li:last-child:nth-child(odd) { grid-column: span 2; }
    .pstats__icon { width: 38px; height: 38px; }
    .pstats__icon i { font-size: 19px; }
    .pstats__text strong { font-size: 19px; }
    .office-grid, .bg-pair, .reviews-summary { grid-template-columns: minmax(0, 1fr); }
    .office-map { height: 280px; }
    .pbar {
        display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--rule);
    }
    .pbar a, .pbar button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 12px; background: #F2F4F1; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
    .pbar a i, .pbar button i { font-size: 20px; color: var(--action); }
    .pbar .pbar__primary { background: var(--action); color: #fff; }
    .pbar .pbar__primary i { color: #fff; }
    .profile-layout { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
    .ph__card, .is-open .ph__dot { animation: none; }
    .reviews-bars__bar span { transition: none; }
}

/* ---------- Contact card states ---------- */
.ccard__done { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: #E6F4EC; color: #14432F; }
.ccard__done-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--action); flex-shrink: 0; }
.ccard__done-icon i { font-size: 20px; }
.ccard__done strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.ccard__done p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; }
.ccard__done a { color: var(--action); font-weight: 700; }
.ccard__own { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--brass-soft); color: #4A3A16; font-size: 13.5px; line-height: 1.4; }
.ccard__own i { font-size: 22px; color: #8A5F17; }
button.btn { font-family: inherit; cursor: pointer; }
.pbar button { border: 0; font: inherit; cursor: pointer; }

/* ---------- Booking dialog ---------- */
html.has-dialog { overflow: hidden; }
.book { position: fixed; inset: 0; margin: auto; width: min(680px, calc(100vw - 24px)); height: fit-content; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(10, 25, 21, .6); overflow: hidden; }
.book[open] { display: flex; animation: book-in .22s ease-out; }
.book::backdrop { background: rgba(12, 26, 22, .55); backdrop-filter: blur(3px); }
@keyframes book-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.book__form { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.book__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(150deg, #1F4A40, #143029); color: #fff; }
.book__head .avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.book__head div { flex: 1; min-width: 0; }
.book__head h2 { margin: 0; font: 650 20px/1.2 var(--heading); color: #fff; letter-spacing: -.01em; }
.book__head p { margin: 3px 0 0; font-size: 13.5px; color: #C9DCD3; }
.book__close { width: 38px; height: 38px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.book__close:hover { background: rgba(255, 255, 255, .2); }
.book__close i { font-size: 18px; }
.book__body { padding: 8px 22px 4px; overflow-y: auto; flex: 1; }
.book__error { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FCEDEA; color: #8A2E1D; font-size: 14px; font-weight: 600; }
.book__step { border: 0; margin: 0; padding: 16px 0 14px; border-bottom: 1px solid #EDF1EE; min-width: 0; }
.book__step:last-child { border-bottom: 0; }
.book__step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font: 650 15.5px var(--heading); }
.book__num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--binding); color: #E9D7A8; font-size: 12.5px; }
.book__types { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.book__type input, .book__day input, .book__slot input { position: absolute; opacity: 0; pointer-events: none; }
.book__type span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid #D7DEDA; border-radius: 14px; cursor: pointer; transition: all .15s; }
.book__type i { font-size: 22px; color: #7E8A85; margin-bottom: 4px; }
.book__type strong { font-size: 14.5px; }
.book__type small { font-size: 12.5px; color: var(--slate); }
.book__type:hover span { border-color: var(--action); }
.book__type input:checked + span { border-color: var(--action); background: #F1F8F4; box-shadow: inset 0 0 0 1px var(--action); }
.book__type input:checked + span i { color: var(--action); }
.book__days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.book__day { flex: 0 0 auto; scroll-snap-align: start; }
.book__day span { width: 62px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 0; border: 1.5px solid #D7DEDA; border-radius: 14px; cursor: pointer; transition: all .15s; }
.book__day small { font-size: 11.5px; color: var(--slate); font-weight: 600; }
.book__day strong { font: 700 20px/1.15 var(--heading); }
.book__day:hover span { border-color: var(--action); }
.book__day input:checked + span { background: var(--binding); border-color: var(--binding); color: #fff; }
.book__day input:checked + span small { color: #BCD3C9; }
.book__day.is-closed span { opacity: .4; cursor: not-allowed; background: repeating-linear-gradient(135deg, #F4F6F4 0 4px, #fff 4px 8px); }
.book__times { min-height: 52px; border-radius: 14px; transition: box-shadow .2s; }
.book__times.is-missing { box-shadow: 0 0 0 3px rgba(178, 58, 36, .35); }
.book__slotgroup + .book__slotgroup { margin-top: 10px; }
.book__slotgroup > p { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--slate); }
.book__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.book__slot span { display: block; padding: 9px 0; text-align: center; border: 1.5px solid #D7DEDA; border-radius: 11px; font-weight: 650; font-size: 14px; cursor: pointer; transition: all .15s; font-variant-numeric: tabular-nums; }
.book__slot:hover span { border-color: var(--action); color: var(--action); }
.book__slot input:checked + span { background: var(--action); border-color: var(--action); color: #fff; }
.book__type input:focus-visible + span, .book__day input:focus-visible + span, .book__slot input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.book__empty { margin: 0; padding: 14px; border-radius: 12px; background: #F5F8F6; color: var(--slate); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.book__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book__field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; }
.book__field small { font-weight: 500; color: #8A9590; }
.book__field--wide { grid-column: 1 / -1; }
.book__input { position: relative; display: flex; align-items: center; }
.book__input i { position: absolute; left: 13px; font-size: 18px; color: #7E8A85; pointer-events: none; }
.book__input input, .book__field textarea { width: 100%; box-sizing: border-box; border: 1.5px solid #D7DEDA; border-radius: 12px; font: 500 15px var(--sans); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.book__input input { height: 46px; padding: 0 12px 0 40px; }
.book__field textarea { padding: 11px 13px; font-weight: 400; line-height: 1.5; resize: vertical; }
.book__input input:focus, .book__field textarea:focus { border-color: var(--action); box-shadow: 0 0 0 4px rgba(30, 107, 82, .12); }
.book__input:focus-within i { color: var(--action); }
.book__foot { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid #EDF1EE; background: #FAFBFA; }
.book__summary { flex: 1; margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); min-width: 0; }
.book__summary.is-ready { color: var(--ink); }
.book__summary i { font-size: 20px; color: var(--action); }
@media (max-width: 600px) {
    .book { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; max-width: none; }
    .book__fields { grid-template-columns: 1fr; }
    .book__foot { flex-direction: column; align-items: stretch; }
    .book__foot .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .book[open] { animation: none; } }

/* Profile pages run wider than the standard 1200px content column. */
.ph .site-container, .pstats .site-container, .site-container.profile-layout { max-width: 1360px; }

.ccard__report { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 0; background: none; color: var(--slate); font: 600 13px var(--sans); cursor: pointer; border-radius: 8px; }
.ccard__report:hover { color: #A3402A; background: #FCEDEA; }
.ccard__reported { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #165340; }

.profile-prose p{margin:0 0 .85em}.profile-prose p:last-child{margin-bottom:0}.profile-prose ul,.profile-prose ol{margin:0 0 .85em 1.2em}.profile-prose h2,.profile-prose h3,.profile-prose h4{font-size:1.05em;margin:1em 0 .4em}

/* Paid consultation price and payment notes */
.cterms__consult { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px; border-radius: 14px; background: linear-gradient(135deg, #1F4A40, #173A32); color: #fff; }
.cterms__consult .cterms__rate-ico { background: #E9D7A8; color: #1F4A40; box-shadow: none; }
.cterms__consult .cterms__label { color: #C9DCD3; }
.cterms__consult .cterms__price { color: #fff; }
.cterms__consult .cterms__price small { color: #C9DCD3; }
.ccard__done--warn { background: #FBF3E2; color: #5E4310; }
.ccard__done--warn .ccard__done-icon { color: #A57A1E; }
.book__pay { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: #F2F7F4; color: #1F3D35; font-size: 14px; line-height: 1.5; }
.book__pay i { font-size: 20px; color: var(--action); flex-shrink: 0; margin-top: 1px; }

/* ---------- About → bento of practical facts ---------- */
.bento {
    --tile-r: 20px;
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: minmax(148px, auto);
    gap: 12px;
}
.bento--no-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
.bento--no-feature > .bento__tile:last-child:nth-child(odd) { grid-column: span 2; }
.bento--no-feature .bento__tile { min-height: 128px; }
.bento__tile {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px 20px; border-radius: var(--tile-r);
    background: #F6F8F6; border: 1px solid #E8EDEA;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bento__tile:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(18, 48, 40, .45); }
/* The last small tile stretches when there's an odd number. */
.bento:not(.bento--no-feature) > .bento__tile:not(.bento__tile--feature):last-child:nth-child(even) { grid-column: span 2; }

.bento__label { font-size: 12.5px; font-weight: 700; color: var(--slate); letter-spacing: .01em; }
.bento__tile small { font-size: 13px; color: var(--slate); line-height: 1.4; }

/* Feature: first meeting */
.bento__tile--feature {
    grid-row: span 2; justify-content: flex-end; gap: 8px; padding: 22px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(233, 215, 168, .22) 0%, transparent 55%),
        linear-gradient(160deg, #24524A 0%, #163A32 100%);
    border-color: transparent; color: #fff;
}
.bento__eyebrow { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(233, 215, 168, .3); color: #E9D7A8; font-size: 12.5px; font-weight: 700; }
.bento__big { font: 800 clamp(44px, 5vw, 60px)/.95 var(--heading); letter-spacing: -.035em; color: #fff; margin-top: auto; }
.bento__tile--feature p { margin: 0; color: #C9DCD3; font-size: 14px; line-height: 1.45; max-width: 24ch; }
.bento__cta {
    align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 14px; border: 0; border-radius: 11px; background: #E9D7A8; color: #173A32;
    font: 700 14px var(--sans); cursor: pointer; transition: background-color .15s;
}
.bento__cta:hover { background: #F4E7C4; }
.bento__cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.bento__seal { position: absolute; z-index: -1; top: -26px; right: -26px; width: 150px; color: rgba(233, 215, 168, .35); }

/* Ways to meet */
.bento__modes { list-style: none; margin: 4px 0 2px; padding: 0; display: flex; gap: 8px; }
.bento__modes li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.bento__modes span { width: 100%; aspect-ratio: 1.25; max-height: 54px; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 1px solid #E2E8E4; color: var(--action); font-size: 22px; }
.bento__modes li.is-off { color: #A3ADA8; }
.bento__modes li.is-off span { background: transparent; border-style: dashed; color: #C3CBC7; }
.bento__tile--meet small { margin-top: auto; }

/* Fees */
.bento__tile--fees { background: linear-gradient(160deg, #FBF6E8, #F6EEDA); border-color: #EFE2BF; }
.bento__num { font: 800 32px/1.05 var(--heading); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bento__num small { font: 600 14px var(--sans); color: var(--slate); margin-left: 3px; letter-spacing: 0; }
.bento__num--text { font-size: 26px; }
.bento__tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bento__tags li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #6B4B12; font-size: 12.5px; font-weight: 650; }
.bento__tags i { color: var(--brass); }

/* Languages */
.bento__langs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bento__langs li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid #E2E8E4; font-size: 13.5px; font-weight: 650; color: var(--ink); }
.bento__langs li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #1F4A40; color: #E9D7A8; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.bento__langs li:nth-child(2) span { background: #8A6A1F; color: #FBF6E8; }
.bento__langs li:nth-child(3) span { background: #3E6E8E; color: #EAF3F8; }
.bento__langs li:nth-child(n+4) span { background: #6E5A8A; color: #F2EEF8; }

/* Founded */
.bento__tile--founded { padding-right: 96px; }
.bento__ring {
    --p: 50;
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 66px; height: 66px; border-radius: 50%;
    display: grid; place-content: center; text-align: center;
    background: conic-gradient(var(--action) calc(var(--p) * 1%), #E2E8E4 0);
}
.bento__ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #F6F8F6; }
.bento__ring b, .bento__ring i { position: relative; line-height: 1; }
.bento__ring b { font: 800 18px var(--heading); color: var(--ink); }
.bento__ring i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--slate); margin-top: 2px; }

@media (max-width: 1100px) {
    .bento:not(.bento--no-feature) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento__tile--feature { grid-row: auto; grid-column: 1 / -1; min-height: 200px; }
    .bento:not(.bento--no-feature) > .bento__tile:not(.bento__tile--feature):last-child:nth-child(even) { grid-column: 1 / -1; }
    .bento:not(.bento--no-feature) > .bento__tile:not(.bento__tile--feature):last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 600px) {
    .bento:not(.bento--no-feature), .bento.bento--no-feature { grid-template-columns: 1fr; }
    .bento > .bento__tile { grid-column: auto !important; }
}
@media (prefers-reduced-motion: reduce) { .bento__tile { transition: none; } .bento__tile:hover { transform: none; } }
