.place-reviews { margin-top: 24px; max-width: 34rem; }
.about-layout .experience { min-width: 0; }
.place-reviews .link-button, .project-reviews-panel .link-button {
  display: flex; width: fit-content; align-items: center; min-height: 44px;
  border-bottom: 0; color: var(--wood, #785528); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .22em;
  font-size: .92rem; font-weight: 600; text-align: left;
}
.place-reviews:has(.review-card:not([hidden])) > [data-reviews-listing] { display: none; }
.review-rating { display: flex; gap: .4rem .65rem; align-items: center; flex-wrap: wrap; margin: 0 0 12px; font-size: .94rem; }
.review-rating > span:last-child { color: #526059; }
.review-stars { display: block; position: relative; width: max-content; color: #d9d4c9; letter-spacing: .06em; line-height: 1.15; font-size: 1rem; white-space: nowrap; }
.review-stars::before { position: absolute; inset: 0; content: '★★★★★'; color: var(--review-star-color,#986915); clip-path: inset(0 calc(100% - var(--review-fill,100%)) 0 0); }
.hero-reviews-group:not([hidden]) {
  display: grid; justify-items: center; gap: 4px; align-self: flex-start; max-width: 100%; margin: 0 0 16px;
}
.hero-reviews-pill:not([hidden]) {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%;
  min-height: 44px; margin: 0; padding: 6px 13px; border: 1px solid #dedfd8; border-radius: 999px;
  background: white; color: var(--ink,#253a31); box-shadow: 0 2px 6px #17261f15; font: inherit; text-align: left; cursor: pointer;
}
.hero-reviews-pill:hover { border-color: #9aa99c; box-shadow: 0 3px 8px #17261f21; }
.hero-reviews-pill:focus-visible { outline: 3px solid var(--wood,#895d33); outline-offset: 3px; }
.hero-reviews-mark:not([hidden]) { display: flex; align-items: center; flex: none; padding-right: 10px; min-height: 28px; border-right: 1px solid #dedfd8; }
.hero-reviews-mark img { width: 22px; height: 22px; }
.hero-reviews-date { color: #525955; font-size: .6875rem; line-height: 1.25; font-weight: 400; }
.hero-reviews-label { display: grid; gap: 1px; font-size: .8125rem; line-height: 1.25; font-weight: 550; }
.hero-reviews-score:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.hero-reviews-score strong { font-size: 1rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-reviews-score .review-stars { --review-star-color: #c88b13; font-size: .9rem; letter-spacing: .02em; }
.hero-reviews-pill::after { content: ''; flex: none; width: 7px; height: 7px; margin: 0 2px 0 0; border: solid #294c3c; border-width: 2px 2px 0 0; transform: rotate(45deg); }
@media (max-width: 540px) {
  .hero-reviews-group:not([hidden]) { align-self: center; margin-block: -12px 13px; }
}
.review-rating .review-stars { font-size: 1.18rem; }
.review-card { position: relative; isolation: isolate; margin: 0 12px; padding: 20px 26px;
  border: 1px solid #d8d4ca; border-radius: 12px; background: white; color: #253a31; touch-action: pan-y pinch-zoom; }
.review-card[hidden] { display: none; }
.review-preview { --review-lines: 3; padding: 18px 27px 8px; }
.review-deck { position: relative; min-width: 0; }
.review-slide { overflow-wrap: anywhere; background: white; }
.review-outgoing { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.review-person { display: flex; gap: 10px; align-items: center; min-height: 42px; margin-bottom: 8px; }
.review-person img { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; }
.review-person > div { min-width: 0; }
.review-person :is(a,strong) { display: block; color: var(--ink,#253a31); font-size: .9375rem; line-height: 1.35; font-weight: 650; }
.review-preview .review-person :is(a,strong) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.review-slide blockquote { margin: 0 0 8px; font: inherit; font-size: 1rem; line-height: 1.45; white-space: pre-line; }
.review-preview blockquote { display: -webkit-box; -webkit-line-clamp: var(--review-lines); -webkit-box-orient: vertical;
  min-block-size: calc(var(--review-lines) * 1lh); margin-bottom: 4px; overflow: hidden; }
.review-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.review-slide > a, .review-footer > a { font-size: .78rem; color: #43574b; text-decoration: underline; text-underline-offset: .16em; }
.review-arrow, .review-rotation, .project-reviews-panel header button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink,#253a31);
  border: 0; background: transparent; cursor: pointer; line-height: 1;
}
.review-arrow { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); font: 1.6rem Arial,sans-serif; }
.review-arrow::before, .review-rotation::before { content: ''; position: absolute; z-index: -1; inset: 5px; border-radius: 50%; border: 1px solid #d8d4ca; background: white; box-shadow: 0 2px 5px #342e221a; }
.review-prev { left: -22px; } .review-next { right: -22px; }
.review-rotation { position: relative; isolation: isolate; flex: none; margin-left: auto; border-radius: 50%; }
.review-rotation img { display: block; width: 20px; height: 20px; }
.review-credit { margin: 8px 12px 0; font: normal 400 12px/1.5 Arial,sans-serif; letter-spacing: normal; color: #5e5e5e; }
.review-credit span { white-space: nowrap; }
.project-reviews-open { overflow: hidden; }
dialog.project-reviews-panel { box-sizing: border-box; inset: 0 0 0 auto; position: fixed; margin: 0; width: min(100%, 32rem);
  max-width: 100%; height: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; background: #fcfaf6;
  padding: 0 24px max(24px,env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; color: var(--ink,#253a31); }
.project-reviews-panel::backdrop { background: #17261fd1; }
.project-reviews-panel header { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: sticky; top: 0; z-index: 2;
  margin: 0 -24px; padding: 14px 16px 14px 24px; background: #fcfaf6; border-bottom: 1px solid #ddd8cc; }
.project-reviews-panel header h2 { margin: 0; font-size: clamp(1.35rem,4vw,1.9rem); }
.project-reviews-panel header button { flex: none; font-size: 1.8rem; }
.project-reviews-panel section { padding: 22px 0 12px; }
.project-reviews-panel section + section { border-top: 1px solid #d8d4ca; }
.project-reviews-panel h3 { margin: 0 0 14px; font-size: 1.4rem; }
.review-projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.review-projects :is(a,button) { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 0;
  border: 0; background: transparent; color: inherit; font: inherit; font-size: .94rem; line-height: 1.35;
  font-weight: 600; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.review-projects :is(a,button):hover span { text-decoration: underline; text-underline-offset: .2em; }
.review-projects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
:is(.project-reviews-panel,.place-reviews) :focus-visible { outline: 3px solid #9c6935; outline-offset: 2px; }
@media (max-width: 780px) {
  .review-preview { --review-lines: 4; }
  dialog.project-reviews-panel { width: 100%; }
}
@media (max-width: 600px) {
  #home-about.about-layout { display: flex; flex-direction: column; align-items: stretch; }
  #home-about .experience { border: 0; border-bottom: 1px solid #d8d4ca; padding: 0 0 20px; }
  .project-reviews-panel header { padding-top: max(10px,env(safe-area-inset-top)); }
}
