/* Final reviews layout overrides. Keep the page as one composed surface. */
body.reviews main.page {
  padding-top: 24px;
  padding-bottom: 48px;
}


body.reviews .reviews-content-shell {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fffefa;
  box-shadow: 0 24px 70px rgba(27, 20, 14, 0.09);
}


body.reviews .reviews-content-shell > .section {
  padding: 0;
}


body.reviews .reviews-content-shell > .section + .section {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}


body.reviews .reviews-content-shell > .section > .section-frame,
body.reviews .reviews-content-shell > .section > .reviews-focus-shell {
  border: 0;
  box-shadow: none;
  background: transparent;
}


body.reviews .reviews-content-shell > .section:first-child > .section-frame,
body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell {
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 58px);
  background:
    radial-gradient(circle at 88% 4%, rgba(181, 140, 97, 0.14), transparent 25%),
    linear-gradient(110deg, rgba(247, 239, 229, 0.82), rgba(255, 254, 250, 0.2) 64%);
}


body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
  padding: clamp(26px, 3.3vw, 46px) clamp(22px, 4vw, 58px);
}


body.reviews .reviews-content-shell .section-title {
  max-width: 18ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}


body.reviews .reviews-head {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.62fr);
  gap: clamp(24px, 5vw, 72px);
  margin: 0;
}


body.reviews .reviews-head .section-title {
  max-width: 12ch;
}


body.reviews .review-metrics {
  gap: 10px;
}


body.reviews .metric {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  animation: none;
}


body.reviews .reviews-list-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  column-gap: clamp(18px, 4vw, 56px);
  gap: 8px;
  margin-bottom: 22px;
}


body.reviews .reviews-list-head .eyebrow {
  grid-column: 1 / -1;
}


body.reviews .reviews-list-title {
  max-width: none;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 0.92;
}


body.reviews .reviews-list-copy {
  align-self: end;
  max-width: 48rem;
  font-size: 0.94rem;
  line-height: 1.55;
}


body.reviews .review-grid {
  gap: 14px;
}


body.reviews .review-card {
  min-height: 188px;
  padding: 20px;
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(27, 20, 14, 0.035);
}


body.reviews .quote {
  font-size: 1.16rem;
  line-height: 1.12;
}


body.reviews .reviews-actions {
  justify-content: center;
  margin-top: 18px;
}


/* Reviews page redesign: one calm surface with clear internal sections. */
body.reviews main.page {
  padding-top: clamp(18px, 2.5vw, 32px);
  padding-bottom: clamp(28px, 4vw, 54px);
}


body.reviews .reviews-content-shell {
  gap: 0;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background:
    radial-gradient(circle at 88% 4%, rgba(181, 140, 97, 0.12), transparent 24%),
    #fffefa;
  box-shadow: 0 24px 70px rgba(27, 20, 14, 0.09);
}


body.reviews .reviews-content-shell > .section {
  padding: 0;
}


body.reviews .reviews-content-shell > .section + .section {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}


body.reviews .reviews-content-shell > .section > .section-frame,
body.reviews .reviews-content-shell > .section > .reviews-focus-shell {
  border: 0;
  box-shadow: none;
  background: transparent;
}


body.reviews .reviews-content-shell > .section:first-child > .section-frame,
body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell {
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 58px);
  background:
    linear-gradient(110deg, rgba(247, 239, 229, 0.82), rgba(255, 254, 250, 0.18) 62%),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(17, 17, 17, 0.025) 75px 76px);
}


body.reviews .reviews-focus-hero__content {
  max-width: 52rem;
  gap: 10px;
}


body.reviews .reviews-content-shell .section-title {
  max-width: 18ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}


body.reviews .reviews-content-shell .section-copy {
  max-width: 42rem;
  font-size: 1rem;
}


body.reviews .reviews-head {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.62fr);
  gap: clamp(24px, 5vw, 72px);
  margin: 0;
}


body.reviews .reviews-head .section-title {
  max-width: 12ch;
}


body.reviews .reviews-head .section-copy {
  margin-top: 12px;
}


body.reviews .review-metrics {
  gap: 10px;
}


body.reviews .metric {
  min-width: 0;
  padding: 18px;
  border-color: rgba(181, 140, 97, 0.24);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  animation: none;
}


body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
  padding: clamp(26px, 3.3vw, 46px) clamp(22px, 4vw, 58px);
}


body.reviews .reviews-list-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  column-gap: clamp(18px, 4vw, 56px);
  margin-bottom: 22px;
}


body.reviews .reviews-list-head .eyebrow {
  grid-column: 1 / -1;
}


body.reviews .reviews-list-title {
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 0.92;
}


body.reviews .reviews-list-copy {
  align-self: end;
  font-size: 0.94rem;
  line-height: 1.55;
}


body.reviews .review-grid {
  gap: 14px;
}


body.reviews .review-card {
  min-height: 188px;
  padding: 20px;
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(27, 20, 14, 0.035);
}


body.reviews .review-meta {
  gap: 7px;
}


body.reviews .review-meta strong {
  font-size: 1.08rem;
}


body.reviews .quote {
  font-size: 1.16rem;
  line-height: 1.12;
}


body.reviews .reviews-actions {
  justify-content: center;
  margin-top: 18px;
}


body.reviews .reviews-actions .btn {
  min-width: 0;
}


/* Reviews use a tighter editorial rhythm so the sections read as one page. */
body.reviews .section {
  padding-block: clamp(12px, 1.5vw, 22px);
}


body.reviews .section-frame {
  padding: clamp(18px, 2vw, 26px);
}


body.reviews .reviews-focus-shell {
  gap: 8px;
  padding: clamp(18px, 2vw, 28px);
}


body.reviews .reviews-focus-hero__content {
  gap: 6px;
}


body.reviews .reviews-focus-shell .section-title {
  max-width: none;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}


body.reviews .reviews-list-head {
  gap: 6px;
  margin-bottom: 12px;
}


body.reviews .reviews-list-title {
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 2.85rem);
}


body.reviews .reviews-list-copy {
  max-width: 48rem;
}


body.reviews .review-grid {
  gap: 12px;
}


body.reviews .review-card {
  padding: clamp(16px, 1.6vw, 20px);
}


body.reviews .reviews-actions {
  margin-top: 14px;
}


body.reviews .reviews-content-shell {
  display: grid;
  gap: 0;
  padding: clamp(10px, 1.2vw, 16px);
  overflow: hidden;
}


body.reviews .reviews-content-shell > .section {
  padding: clamp(10px, 1.2vw, 16px);
}


body.reviews .reviews-content-shell > .section + .section {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}


body.reviews .reviews-content-shell > .section > .section-frame {
  border: 0;
  box-shadow: none;
}


/* Reviews final cascade: these rules intentionally come last. */
body.reviews .reviews-content-shell {
  padding: 0;
  gap: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fffefa;
  box-shadow: 0 24px 70px rgba(27, 20, 14, 0.09);
}


body.reviews .reviews-content-shell > .section {
  padding: 0;
}


body.reviews .reviews-content-shell > .section + .section {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}


body.reviews .reviews-content-shell > .section > .section-frame,
body.reviews .reviews-content-shell > .section > .reviews-focus-shell {
  border: 0;
  box-shadow: none;
  background: transparent;
}


body.reviews .reviews-content-shell > .section:first-child > .section-frame,
body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell {
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 58px);
  background:
    radial-gradient(circle at 88% 4%, rgba(181, 140, 97, 0.14), transparent 25%),
    linear-gradient(110deg, rgba(247, 239, 229, 0.82), rgba(255, 254, 250, 0.2) 64%);
}


body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
  padding: clamp(26px, 3.3vw, 46px) clamp(22px, 4vw, 58px);
}


body.reviews .reviews-content-shell .section-title {
  max-width: 18ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}


body.reviews .reviews-list-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  column-gap: clamp(18px, 4vw, 56px);
  gap: 8px;
  margin-bottom: 22px;
}


body.reviews .reviews-list-head .eyebrow {
  grid-column: 1 / -1;
}


body.reviews .reviews-list-title {
  max-width: none;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 0.92;
}


body.reviews .reviews-list-copy {
  align-self: end;
  max-width: 48rem;
  font-size: 0.94rem;
  line-height: 1.55;
}


body.reviews .review-grid {
  gap: 14px;
}


body.reviews .review-card {
  min-height: 188px;
  padding: 20px;
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(27, 20, 14, 0.035);
}


body.reviews .reviews-actions {
  justify-content: flex-start;
  margin-top: 18px;
}


body.reviews .reviews-actions {
  justify-content: center;
}


body.reviews .reviews-actions[hidden],
body.reviews .reviews-actions .btn[hidden] {
  display: none !important;
}


/* Align reviews with the homepage visual language. */
body.reviews main.page {
  padding-top: 8px;
  padding-bottom: 34px;
}


body.reviews .reviews-content-shell {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 18px 56px rgba(27, 20, 14, 0.07);
}


body.reviews .reviews-content-shell > .section:first-child > .section-frame,
body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(17, 17, 17, 0.025) 75px 76px);
}


body.reviews .reviews-content-shell > .section:first-child > .section-frame::before,
body.reviews .reviews-content-shell > .section:first-child > .section-frame::after,
body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell::before,
body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell::after {
  display: none;
}


body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
  background: rgba(255, 255, 255, 0.48);
}


body.reviews .reviews-content-shell .section-title,
body.reviews .reviews-list-title {
  color: var(--ink);
}


body.reviews .review-card {
  border-color: rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}


body.reviews .review-card:hover,
body.reviews .review-card:focus-within {
  box-shadow: 0 14px 30px rgba(27, 20, 14, 0.07);
}


/* Compact the reviews composition without changing its content. */
body.reviews main.page {
  padding-top: 16px;
  padding-bottom: 28px;
}


body.reviews .reviews-content-shell > .section:first-child > .section-frame,
body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell {
  padding: 28px 36px;
}


body.reviews .reviews-content-shell .section-title {
  font-size: clamp(2rem, 4vw, 3.7rem);
}


body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
  padding: 26px 36px 32px;
}


body.reviews .reviews-list-head {
  margin-bottom: 16px;
}


body.reviews .reviews-list-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}


/* Keep every review page title and supporting copy in one vertical flow. */
body.reviews .reviews-list-head {
  grid-template-columns: 1fr;
  align-items: start;
}


body.reviews .reviews-list-copy {
  align-self: start;
  margin-top: 2px;
}

/* Employee filter: keep it white and quiet like the homepage controls. */
body.reviews-focus--employee .review-filter {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 430px);
  margin-top: 10px;
  padding: 10px 0 0 14px;
  border: 0;
  border-left: 1px solid var(--accent);
  background: transparent;
}

body.reviews-focus--employee .review-filter label {
  color: var(--accent);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.reviews-focus--employee .review-filter select {
  border-color: rgba(17, 17, 17, 0.14);
  background-color: #ffffff;
  box-shadow: 0 5px 14px rgba(27, 20, 14, 0.04);
}

body.reviews-focus--service .reviews-list-head {
  gap: 12px;
}

body.reviews-focus--service .review-filter {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 430px);
  margin-top: 10px;
  padding: 10px 0 0 14px;
  border: 0;
  border-left: 1px solid var(--accent);
  background: transparent;
}

body.reviews-focus--service .review-filter label {
  color: var(--accent);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.reviews-focus--service .review-filter select {
  border-color: rgba(17, 17, 17, 0.14);
  background-color: #ffffff;
  box-shadow: 0 5px 14px rgba(27, 20, 14, 0.04);
}

/* Focused review pages use the list heading as their only page heading. */
body.reviews-focus main.page {
  padding-top: 8px;
}

body.reviews-focus .reviews-content-shell > .section:first-child > .section-frame {
  padding: clamp(26px, 3.3vw, 46px) clamp(22px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.48);
}

body.reviews-focus .reviews-content-shell > .section:first-child > .section-frame::before,
body.reviews-focus .reviews-content-shell > .section:first-child > .section-frame::after {
  display: none;
}

body.reviews-focus .reviews-list-head {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
}

body.reviews-focus .reviews-list-copy {
  align-self: start;
  margin-top: 2px;
  max-width: 46rem;
}

body.reviews-focus--employee .reviews-list-head {
  gap: 12px;
}

@media (max-width: 760px) {
body.reviews .reviews-head,
  body.reviews .reviews-list-head {
    grid-template-columns: 1fr;
  }

body.reviews .reviews-head {
    gap: 22px;
  }

body.reviews .reviews-list-head {
    gap: 8px;
  }

body.reviews .reviews-head,
  body.reviews .reviews-list-head {
    grid-template-columns: 1fr;
  }

body.reviews .reviews-head {
    gap: 22px;
  }

body.reviews .reviews-list-head {
    gap: 8px;
  }

body.reviews .reviews-content-shell .section-title,
  body.reviews .reviews-list-title {
    max-width: none;
  }

body.reviews .reviews-head,
  body.reviews .reviews-list-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
body.reviews main.page {
    padding-top: 14px;
    padding-bottom: 28px;
  }

body.reviews .reviews-content-shell > .section:first-child > .section-frame,
  body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell,
  body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
    padding: 22px 16px;
  }

body.reviews .reviews-content-shell .section-title,
  body.reviews .reviews-list-title {
    max-width: none;
  }

body.reviews .review-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

body.reviews .metric,
  body.reviews .review-card {
    padding: 15px;
  }

body.reviews .review-card {
    min-height: 0;
  }

body.reviews .reviews-content-shell > .section:first-child > .section-frame,
  body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell,
  body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
    padding: 22px 16px;
  }

body.reviews .review-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

body.reviews .metric {
    padding: 14px;
  }

body.reviews .review-card {
    min-height: 0;
    padding: 16px;
  }

body.reviews .section {
    padding-block: 10px;
  }

body.reviews .section-frame,
  body.reviews .reviews-focus-shell {
    padding: 16px;
  }

body.reviews .review-grid {
    gap: 10px;
  }

body.reviews .review-card {
    padding: 15px;
  }

body.reviews .reviews-content-shell {
    padding: 6px;
  }

body.reviews .reviews-content-shell > .section {
    padding: 10px;
  }

body.reviews .reviews-content-shell > .section:first-child > .section-frame,
  body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell,
  body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
    padding: 22px 16px;
  }

body.reviews .reviews-content-shell .section-title,
  body.reviews .reviews-list-title {
    max-width: none;
  }

body.reviews .review-card {
    min-height: 0;
    padding: 15px;
  }

body.reviews main.page {
    padding-top: 4px;
    padding-bottom: 24px;
  }

body.reviews .reviews-content-shell > .section:first-child > .section-frame,
  body.reviews .reviews-content-shell > .section:first-child > .reviews-focus-shell,
  body.reviews .reviews-content-shell > .section:not(:first-child) > .section-frame {
    padding: 20px 16px;
  }
}

@media (max-width: 640px) {
body.reviews-focus--employee .review-filter {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-left: 12px;
  }
}

@media (max-width: 640px) {
body.reviews-focus--service .review-filter {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-left: 12px;
  }
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.reviews-actions .btn {
  min-width: 240px;
}

.reviews-head {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  margin-bottom: 18px;
}

.reviews-head .section-title {
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  line-height: 1.02;
  max-width: 16ch;
  margin: 0;
}

.reviews-head .section-copy {
  margin-top: 8px;
}

.review-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  justify-self: end;
  align-self: center;
}

.reviews-list-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.reviews-list-title {
  margin: 0;
  max-width: 12ch;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.reviews-list-copy {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.reviews-focus-shell {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at top left, rgba(181, 140, 97, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8));
}

.reviews-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  padding: 8px 0;
  transition: transform 180ms ease, color 180ms ease;
}

.reviews-back:hover {
  transform: translateX(-4px);
  color: var(--ink);
}

.reviews-back span:first-child {
  font-size: 1.2rem;
  line-height: 1;
}

.reviews-focus-hero__content {
  display: grid;
  gap: 10px;
}

.reviews-focus .reviews-list-head {
  margin-top: 2px;
}

.review-image-modal {
  position: fixed;
  inset: 0;
  z-index: 91;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.review-image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.review-image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.52);
  backdrop-filter: blur(10px);
}

.review-image-modal__dialog {
  position: relative;
  width: min(94vw, 1040px);
  max-height: min(90vh, 900px);
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.98)),
    linear-gradient(135deg, rgba(181, 140, 97, 0.06), transparent 26%);
  box-shadow: 0 28px 90px rgba(18, 14, 10, 0.24);
}

.review-image-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.86);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.review-image-modal__figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  min-height: min(80vh, 760px);
  padding-right: 54px;
}

.review-image-modal--no-image .review-image-modal__figure {
  gap: 12px;
  min-height: auto;
  padding-right: 0;
}

.review-image-modal--no-image .review-image-modal__dialog {
  width: min(88vw, 520px);
  max-height: none;
  padding: 18px;
  border-color: rgba(181, 140, 97, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 241, 0.98)),
    radial-gradient(circle at top left, rgba(181, 140, 97, 0.1), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(125, 139, 134, 0.08), transparent 24%);
  box-shadow: 0 24px 70px rgba(18, 14, 10, 0.18);
}

.review-image-modal__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(40vh, 360px);
  margin: 0;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.review-image-modal--no-image .review-image-modal__image {
  display: none;
}

.review-image-modal__meta {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 18px 16px;
  text-align: left;
  min-width: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(181, 140, 97, 0.04), transparent 35%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.review-image-modal__meta strong {
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.review-image-modal__meta span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.review-image-modal__date {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-image-modal__meta .review-meta-stars {
  display: inline-flex;
  gap: 0.16em;
  align-items: center;
  color: rgba(181, 140, 97, 0.24);
  font-size: 0.88rem;
  margin-top: -4px;
}

.review-image-modal__meta .review-meta-stars span.is-active {
  color: var(--accent);
}

.review-image-modal__meta .review-image-modal__text {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.review-image-modal--no-image .review-image-modal__meta strong {
  margin-bottom: 2px;
}

.review-image-modal--no-image .review-image-modal__meta span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.review-image-modal--no-image .review-image-modal__date {
  margin-top: -4px;
}

.review-image-button {
  width: fit-content;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid rgba(181, 140, 97, 0.2);
  background: rgba(181, 140, 97, 0.08);
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.review-image-button:hover,
.review-image-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(181, 140, 97, 0.12);
  border-color: rgba(181, 140, 97, 0.28);
}

.review-image-button--modal {
  margin-top: 6px;
}

.review-image-only-modal {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.review-image-only-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.review-image-only-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(12px);
}

.review-image-only-modal__dialog {
  position: relative;
  width: min(92vw, 940px);
  max-height: min(92vh, 920px);
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.98)),
    linear-gradient(135deg, rgba(181, 140, 97, 0.06), transparent 26%);
  box-shadow: 0 28px 90px rgba(18, 14, 10, 0.24);
}

.review-image-only-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.86);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.review-image-only-modal__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 48px);
  object-fit: contain;
}

.review-filter {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 470px);
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(181, 140, 97, 0.24);
  background:
    linear-gradient(135deg, rgba(247, 239, 229, 0.62), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.7);
}

.review-filter label {
  color: var(--muted);
  font-family: "Fraunces", serif;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.review-filter select {
  width: 100%;
  min-width: 0;
  appearance: none;
  padding: 11px 38px 11px 13px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 0;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%) calc(100% - 17px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--accent) 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.82rem;
}

.review-filter select:focus-visible {
  outline: 2px solid rgba(181, 140, 97, 0.55);
  outline-offset: 2px;
}

@media (max-width: 860px) {
.review-image-modal__dialog {
    width: min(94vw, 760px);
  }

.review-image-modal__figure {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-right: 0;
    align-items: start;
  }

.review-image-modal--no-image .review-image-modal__figure {
    min-height: auto;
  }

.review-image-modal--no-image .review-image-modal__dialog {
    width: min(94vw, 420px);
  }

.review-image-modal__meta {
    padding: 14px 14px 12px;
  }

.review-image-only-modal__dialog {
    width: min(94vw, 760px);
  }

.hero-stats,
  .grid-3,
  .grid-4,
  .review-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

.review-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1160px) {
.review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.review-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
.review-grid{
    grid-template-columns: 1fr;
    min-width: 0;
  }

.review-grid .review-card{
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

.review-filter {
    flex-direction: column;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
  }

.review-filter select {
    width: 100%;
  }
}

/* Page-specific rules moved out of style.css. */
.review-grid{
  display: grid;
  gap: 16px;
}

.review-card{
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.review-card{
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  overflow: hidden;
  align-content: start;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.reviews .review-card:hover,
.reviews .review-card:focus-within{
  transform: translateY(-4px);
  border-color: rgba(181, 140, 97, 0.28);
  box-shadow: 0 18px 40px rgba(27, 20, 14, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.reviews .review-card--has-image{
  cursor: zoom-in;
}

.reviews .review-card--has-image:hover,
.reviews .review-card--has-image:focus-within{
  border-color: rgba(181, 140, 97, 0.4);
  box-shadow: 0 22px 44px rgba(27, 20, 14, 0.1);
}

.review-meta{
  display: grid;
  gap: 4px;
}

.review-meta__top{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.review-meta strong{
  font-family: "Fraunces", serif;
  font-size: 1rem;
  line-height: 1;
}

.review-meta__top{
  transition: transform 240ms ease;
}

.reviews .review-card:hover .review-meta__top{
  transform: translateX(2px);
}

.review-note{
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.reviews-focus .page{
  padding-top: 8px;
}

.reviews-focus .section-frame{
  position: relative;
  overflow: hidden;
}

.reviews-back--standalone{
  margin: 0 0 10px 18px;
}

.reviews-focus-hero{
  display: grid;
  align-items: end;
  gap: 10px;
}

.reviews-focus-hero .section-title{
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.75rem);
  line-height: 0.98;
  max-width: 12ch;
}

.reviews-focus-hero .section-copy{
  margin: 0;
  max-width: 42rem;
}

.review-card .stars{
  display: inline-flex;
  gap: 0.12em;
  color: rgba(181, 140, 97, 0.24);
  font-size: 0.92rem;
  justify-self: end;
  white-space: nowrap;
}

.review-card .stars span.is-active{
  color: var(--accent);
  animation: star-pop 420ms ease both;
}

.review-card[hidden]{
  display: none;
}

.reviews .review-card:hover .quote{
  transform: translateY(-1px);
  color: var(--ink);
}

.review-date{
  margin-top: auto;
  color: rgba(103, 96, 90, 0.56);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1160px) {
  .reviews-head{
    grid-template-columns: 1fr;
  }}

.review-grid{
  gap: var(--content-gap);
}

body.reviews .reviews-unified-filter{
  border-color: rgba(17,17,17,.12);
  background: rgba(255,255,255,.72);
}
