/* Compact phone layouts; the approved desktop presentation stays intact. */
.home-mobile-copy { display: none; }
.review-dialog-copy[hidden] { display: none; }
.review-dialog-copy { padding: 0 8px 18px; color: #253e30; }
.review-dialog-author { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.review-dialog-copy blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.review-pagination { display: none; }
.reviews-carousel-frame { display: contents; }
.review-carousel-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 900px) {
  .home-desktop-copy { display: none; }
  .home-mobile-copy { display: inline; }
  #services, #collections, #real-work { padding-block: 30px; gap: 20px; }
  #services .page-heading h1,
  #collections .page-heading h1,
  #real-work .reviews-heading h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
  #services .page-heading > p { margin-top: 10px; padding: 0; font-size: 16px; line-height: 1.5; }
  #services .service-list { gap: 8px; }
  #services .service-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    align-items: center;
  }
  #services .service-card-photo { grid-column: auto; grid-row: auto; align-self: start; }
  #services .service-card-body { display: block; min-width: 0; padding: 0; }
  #services .service-item h2 { display: block; min-height: 0; font-size: 18px; line-height: 1.3; }
  #services .service-icon { display: none; }
  #services .service-detail { padding: 0; margin-top: 5px; }
  #services .service-detail p { font-size: 16px; line-height: 1.45; }
  #services .section-end { padding-top: 4px; }
  #services .section-end a { font-size: 16px; }

  #why-us { padding-block: 32px; }
  #why-us .advantages-content { text-align: left; }
  #why-us .advantages-content h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
  #why-us .advantages-rule { display: none; }
  #why-us .advantages-intro { margin-top: 12px; font-size: 16px; line-height: 1.5; }
  #why-us .advantages-list { gap: 12px; margin: 22px 0; }
  #why-us .advantages-list li { gap: 10px; font-size: 17px; line-height: 1.45; }
  #why-us .advantages-list li > svg { width: 18px; height: 18px; margin-top: 3px; }
  #why-us .advantages-cta { width: 100%; min-height: 50px; font-size: 16px; }

  #collections .collection-grid { gap: 12px; }
  #collections .collection-card:not(.collection-custom) { aspect-ratio: 1; }
  #collections [data-collection="bracelets"] .product-picture { background: #c8dfe7; }
  #collections .collection-custom { aspect-ratio: 2.1; }
  #collections .collection-card > span { padding: 12px; gap: 4px; }
  #collections .collection-card strong { font-size: 17px; }
  #collections .collection-card::after {
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(13, 31, 20, .62) 28%, rgba(13, 31, 20, .7));
  }
  #collections .collection-action { font-size: 14px; line-height: 1.4; }
  #collections .collection-action > svg { display: none; }

  #real-work .reviews-heading { align-items: flex-start; text-align: left; }
  #real-work .reviews-grid { gap: 12px; }
  #real-work .review-card { padding: 18px; gap: 12px; box-shadow: none; }
  #real-work .review-stars { font-size: 19px; letter-spacing: 2px; }
  #real-work .review-quote { flex: none; font-size: 16px; line-height: 1.5; overflow-wrap: normal; }
  #real-work .review-quote .review-complete { display: inline; }
  #real-work .review-quote .home-mobile-copy { display: none; }
  #real-work .review-author { min-height: 40px; gap: 10px; }
  #real-work .review-avatar { width: 40px; height: 40px; font-size: 18px; }
  #real-work .review-author strong { font-size: 16px; }
  #real-work .review-author > div > span { margin-top: 0; font-size: 14px; }
  #real-work .review-evidence {
    display: block;
    min-height: 48px;
    padding: 0;
    background: #f2f5ef;
    border-color: #dce3d6;
    border-radius: 3px;
    cursor: zoom-in;
  }
  #real-work .review-evidence > img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
  #real-work .review-evidence > span { min-height: 48px; padding: 10px 38px 10px 13px; background: #284d38; color: #fff; font-size: 16px; }
  #real-work .review-evidence > svg { color: #fff; bottom: 16px; top: auto; transform: none; }
  #real-work .review-evidence:hover > span { background: #386047; }

  #real-work.reviews-carousel .reviews-grid {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    gap: 12px;
    padding: 2px;
    margin: -2px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  #real-work.reviews-carousel .reviews-grid::-webkit-scrollbar { display: none; }
  #real-work.reviews-carousel .review-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  #real-work.reviews-carousel .review-evidence { margin-top: auto; }
  #real-work.reviews-carousel .reviews-carousel-frame { display: block; position: relative; min-width: 0; margin-bottom: 0; }
  #real-work .review-pagination:not([hidden]) {
    display: flex;
    position: absolute;
    inset: 0 calc(2px - var(--gutter));
    z-index: 2;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }
  .review-page-dots { display: none; }
  .review-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #284d38;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
  }
  .review-pagination .review-page-arrow { position: relative; border-radius: 50%; }
  .review-page-arrow::before { content: ''; position: absolute; inset: 6px; background: #f7f8f2; border: 1px solid #a9baac; border-radius: 50%; }
  .review-page-arrow svg { position: relative; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .review-pagination button:disabled { color: #8b9b8e; cursor: default; }
  .review-pagination button:disabled::before { border-color: #d9e1d6; }
  .review-page-dots span { width: 7px; height: 7px; border-radius: 50%; background: #a0b09f; }
  .review-page-dots [aria-current="true"] span { width: 9px; height: 9px; background: #284d38; }
  .review-pagination .review-page-arrow:not(:disabled):hover::before { background: #e6eddf; }
  #real-work .reviews-grid:focus-visible,
  .review-pagination button:focus-visible { outline: 2px solid #284d38; outline-offset: 2px; }
}

@media (max-width: 359px) {
  #services .service-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px; }
  #services .service-item h2 { font-size: 17px; }
  #collections .collection-card > span { padding: 10px; }
  #collections .collection-card strong { font-size: 16px; }
  #real-work .review-card { padding: 16px; }
}
