/* Accessibility, WCAG AA contrast, tap targets, card action fix & Home-synced Header CSS */
:focus-visible {
  outline: 3px solid #1e5838 !important;
  outline-offset: 3px !important;
}

.skip:focus {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 999;
  background: #123d29;
  color: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
}

/* Sync Showcase Header CSS completely with Home Page Header CSS */
body>header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 3px solid #0b2b1c;
  background: #f5f6f5;
  border-bottom: 1px solid #dce2de;
  box-shadow: 0 10px 24px rgba(13, 42, 28, .09);
}

.utility {
  background: linear-gradient(90deg, #0d3321 0%, #164830 50%, #0d3321 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.utility .wrap {
  min-height: 44px;
  gap: 14px;
}

.utility a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  color: #eaf4ec;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: .01em;
  opacity: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.utility a:hover {
  background: rgba(255, 255, 255, .11);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.utility a .icon {
  width: 15px;
  height: 15px;
  color: #9cd491;
  flex: 0 0 auto;
}

.utility .utility-phone {
  margin-left: auto;
  gap: 9px;
  height: 34px;
  min-height: 34px;
  padding: 0 14px 0 6px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-size: 15.5px;
  font-weight: 750;
  letter-spacing: .03em;
}

.utility .utility-phone:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .32);
}

.utility .utility-phone .icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
  color: #123d29;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.utility .utility-login {
  gap: 7px;
  height: 34px;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(156, 212, 145, .55);
  border-radius: 999px;
  background: rgba(156, 212, 145, .18);
  color: #fff;
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: .02em;
  white-space: nowrap;
}

.utility .utility-login:hover {
  background: #fff;
  border-color: #fff;
  color: #0d3321;
}

.utility .utility-login:hover .icon {
  color: #0d3321;
}

.masthead {
  background: transparent;
}

.masthead>.quote {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #a6c9a1;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef7ec 0%, #dcecd8 100%);
  color: #133d27;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 0 3px 10px rgba(18, 59, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), box-shadow .26s ease, background .26s ease, border-color .26s ease, color .26s ease;
}

.masthead>.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .6) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.masthead>.quote:hover {
  background: linear-gradient(135deg, #e2f2df 0%, #cbe3c5 100%);
  border-color: #74a46f;
  color: #0d301e;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 68, 41, .16), inset 0 1px 0 rgba(255, 255, 255, .92);
}

.masthead>.quote:hover::before {
  transform: translateX(120%);
}

.masthead>.quote span {
  font-size: 17px;
  line-height: 1;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}

.masthead>.quote:hover span {
  transform: translateX(4px);
}

@media (min-width: 1141px) {
  body>header .wrap {
    width: min(1680px, calc(100% - 160px));
  }

  .masthead {
    height: 116px;
    min-height: 116px;
    gap: 24px;
    padding-block: 0;
    max-width: none;
  }

  .brand {
    width: 215px;
    height: 100%;
    padding-right: 18px;
    border-right: 1px solid #dfe7dc;
    display: grid;
    place-items: center;
  }

  .brand::after {
    display: none;
  }

  .brand img {
    width: 100%;
    max-width: 195px;
    height: 106px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: brightness(1.03) contrast(1.04);
    transition: transform .22s ease;
  }

  .brand:hover img {
    transform: scale(1.035);
  }

  .main-nav {
    justify-content: center;
    gap: 30px;
    font-size: 17px;
    color: #173324;
  }

  .nav-home {
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 38px;
    width: 38px;
    height: 48px;
    margin-right: 3px;
    padding: 7px;
    border-radius: 9px;
    transition: background-color .2s ease, transform .2s ease;
  }

  .nav-home:hover {
    background: #e2eadf;
    transform: translateY(-2px);
  }

  .nav-home img {
    width: 24px;
    height: 24px;
    max-width: none;
    transform: translateY(-2.5px) scale(1.42);
    object-fit: cover;
    object-position: center;
    filter: contrast(1.4);
    mix-blend-mode: multiply;
  }

  .nav-group summary,
  .main-nav>.current {
    padding: 15px 11px;
    color: #173324;
    font-weight: 700;
    border-radius: 9px;
    transition: background-color .2s ease, color .2s ease;
  }

  .nav-group summary::after {
    width: 5px;
    height: 5px;
    margin-left: 2px;
    border-color: #527361;
  }

  .nav-group summary:hover,
  .nav-group[open] summary {
    background: #e2eadf;
    color: #245138;
    border-radius: 9px 9px 0 0;
  }

  .main-nav>.current {
    background: #e2eadf;
    color: #17462d;
    box-shadow: none;
  }

  .nav-links {
    top: calc(100% - 1px);
    left: 0;
    min-width: 205px;
    padding: 7px;
    border: 1px solid #d1dcd0;
    border-top: 3px solid #668b64;
    border-radius: 0 0 9px 9px;
    background: #f7f8f7;
    box-shadow: 0 11px 24px rgba(16, 52, 33, .17);
  }

  .nav-links a,
  .nav-links a:first-child {
    padding: 11px 12px;
    margin-bottom: 0;
    border-radius: 6px;
    background: transparent;
    color: #263f30;
    font-size: 14.5px;
    font-weight: 650;
  }

  .nav-links a:first-child::after {
    content: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: #e1e9de;
    color: #17462d;
  }
}

@media (min-width: 1141px) and (max-width: 1650px) {
  body>header .wrap {
    width: calc(100% - 80px);
  }

  .masthead {
    gap: 16px;
  }

  .brand {
    width: 200px;
    padding-right: 14px;
  }

  .brand img {
    max-width: 184px;
    height: 104px;
  }

  .main-nav {
    gap: 18px;
    font-size: 16px;
  }

  .nav-group summary,
  .main-nav>.current {
    padding-inline: 8px;
  }
}

@media (min-width: 1141px) and (max-width: 1320px) {
  .main-nav {
    gap: 10px;
    font-size: 15px;
  }

  .nav-group summary,
  .main-nav>.current {
    padding-inline: 6px;
  }
}

@media (max-width: 1140px) {
  .utility .wrap {
    width: calc(100% - 24px);
    min-height: 38px;
    gap: 6px;
  }

  .utility a {
    height: 28px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 12px;
    gap: 5px;
  }

  .utility .utility-phone {
    height: 28px;
    min-height: 28px;
    padding: 0 10px 0 4px;
    font-size: 13px;
    gap: 6px;
  }

  .utility .utility-phone .icon {
    width: 20px;
    height: 20px;
    padding: 4px;
  }

  .utility .utility-login {
    display: none;
  }

  .masthead {
    width: calc(100% - 24px);
    height: 68px;
    min-height: 68px;
    padding-block: 0;
    gap: 10px;
  }

  .brand {
    border-right: 0;
    padding-right: 0;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .brand::after {
    display: none;
  }

  .brand img {
    width: auto;
    max-width: 142px;
    height: 56px;
    mix-blend-mode: multiply;
    filter: brightness(1.03) contrast(1.04);
  }

  .masthead>.quote {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12.5px;
  }
}

.drawer-nav .nav-home {
  display: none;
}

/* Readable metadata & WCAG AA contrast (>= 4.5:1) */
.hero p {
  color: #36453c;
}

.section-head p,
.missing-photo,
.feed-more {
  color: #405246;
}

.project-card .category {
  font-size: 12px;
  color: #1c4c2e;
  letter-spacing: .08em;
}

.project-card .photo-count {
  font-size: 12px;
  color: #163d26;
  background: #e6f0e2;
}

.project-facts dt {
  font-size: 12px;
  color: #3d5240;
}

.project-description {
  color: #27392e;
  font-size: 13.5px;
}

.category-directory a {
  color: #2a4734;
}

.hero-note {
  border-left-color: #1d4931;
  color: #183a27;
}

.hero-note strong {
  color: #1a4b2d;
}

/* Fix View Project vs Read More button overlap & upgrade Card Action CSS */
.card-actions {
  padding: 12px var(--card-gutter);
}

.card-actions .view-link {
  position: absolute;
  top: 12px;
  left: var(--card-gutter);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 13px;
  border: 1px solid #c9dec7;
  border-radius: 10px;
  background: linear-gradient(135deg, #f3faf1 0%, #e4f1e1 100%);
  color: #123d28;
  font-size: 13.5px;
  font-weight: 750;
  transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.card-actions .view-link:hover {
  background: linear-gradient(135deg, #e5f3e2 0%, #d1e8cc 100%);
  border-color: #7ea879;
  color: #0c311f;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(18, 61, 41, .12);
}

.card-details summary {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  margin-left: auto !important;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid #d4dfd2;
  border-radius: 10px;
  background: #fff;
  color: #2a4a35;
  font-size: 13px;
  font-weight: 650;
}

.card-details summary:hover,
.card-details[open] summary {
  background: #edf4ea;
  border-color: #a9c2a6;
  color: #123d28;
}

/* WCAG tap target sizes & spacing */
.pill {
  min-height: 44px;
}

.date-form .showcase-picker,
.product-browser .showcase-picker {
  min-height: 44px;
}

.project-contact a,
.feed-more a,
.product-shortcuts a,
.related-links a,
.project-tags a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.gallery-tools button {
  width: 42px;
  height: 42px;
}

.drawer-close,
#callback-dialog .close-dialog {
  min-width: 44px;
  min-height: 44px;
}

/* Smooth hardware-friendly hover & offscreen paint optimization */
.project-card, .furniture-card { transition: transform .36s cubic-bezier(.22, 1, .36, 1), box-shadow .36s ease, border-color .3s ease; will-change: transform; }
.project-card .photo-link img, .furniture-card .furniture-photo img { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.card-actions .view-link span { display: inline-block; transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
.project-contact a, .product-shortcuts a { transition: transform .22s cubic-bezier(.22, 1, .36, 1), background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .22s ease; }
@media (hover: hover) {
  .project-card:hover, .furniture-card:hover { transform: translateY(-5px); border-color: #82a87c; box-shadow: 0 14px 28px rgba(18, 59, 40, .12); }
  .project-card:hover .photo-link img, .furniture-card:hover .furniture-photo img { transform: scale(1.04); }
  .card-actions .view-link:hover { transform: translateY(-1px); }
  .card-actions .view-link:hover span { transform: translateX(4px); }
  .project-contact a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(18, 59, 40, .14); }
  .product-shortcuts a:hover { transform: translateY(-2px); background: #e2eddf; border-color: #9bb896; color: #163d26; box-shadow: 0 5px 12px rgba(29, 61, 43, .11); text-decoration: none; }
}
.more-products { margin-bottom: 0; }
.more-products h2 { font-size: clamp(28px, 2.4vw, 40px); margin-bottom: 18px; }
.product-shortcuts { display: flex; flex-wrap: wrap; gap: 9px; }
.product-shortcuts a { min-height: 44px; background: #eff4ec; border: 1px solid #d9e4d4; border-radius: 22px; padding: 8px 16px; color: #203f2d; font-size: 15px; font-weight: 600; line-height: 1.3; gap: 4px; }
.product-shortcuts a span { color: #2e4f38; font-size: inherit; font-weight: 600; }
@media (max-width: 600px) {
  .product-shortcuts { gap: 6px; }
  .product-shortcuts a { min-height: 40px; padding: 7px 13px; font-size: 13.5px; }
}
.more-products, .explore-collections, .footer-products, footer { content-visibility: auto; contain-intrinsic-size: auto 420px; }

/* Explore every collection: 100% synced with Home page horizontal collection strips */
.explore-collections {
  margin: 44px auto 48px; padding: 34px 31px;
  border: 1px solid #d4dfd1; border-radius: 24px; background: #fff;
  box-shadow: 0 18px 45px rgba(19, 56, 36, .08);
}
.explore-collections__heading {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  padding: 0 0 23px; border-bottom: 1px solid #dce6da;
}
.explore-collections__heading p {
  margin: 0 0 5px; color: #69876d; font-size: 11px; font-weight: 900;
  letter-spacing: .13em; text-transform: uppercase;
}
.explore-collections__heading h2 {
  margin: 0; color: #123d28; font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.15;
}
.explore-collections__heading > span { color: #68816c; font-size: 13px; font-weight: 700; }
.explore-collections .catalog-row { border-top: 0; padding: 27px 0; content-visibility: auto; contain-intrinsic-size: auto 340px; }
.explore-collections .catalog-row + .catalog-row { border-top: 1px solid #d6e3d4; }
.catalog-row__heading {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 16px;
}
.catalog-row__heading > a:first-child { display: flex; align-items: baseline; gap: 12px; min-width: 0; text-decoration: none; }
.catalog-row__heading h3 {
  margin: 0; color: #143e29; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  transition: color .18s ease;
}
.catalog-row__heading > a:first-child:hover h3 { color: #628e55; }
.catalog-row__heading > a:first-child span {
  margin: 0; white-space: nowrap; padding: 5px 9px; border-radius: 999px;
  background: #eff5ed; color: #4e7152; font-size: 10px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase;
}
.catalog-row__view {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; white-space: nowrap;
  padding: 10px 15px; border: 1px solid #bed2ba; border-radius: 999px;
  background: #fff; color: #24553a; font-size: 12px; font-weight: 900;
  box-shadow: 0 3px 8px rgba(12, 55, 34, .06);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.catalog-row__view b { font-size: 17px; line-height: 1; }
.catalog-row__view:hover { transform: translateY(-2px); background: #16452f; color: #fff; text-decoration: none; }
.explore-collections .catalog-track {
  display: flex; gap: 16px; overflow-x: auto; padding: 5px 2px 15px;
  scroll-snap-type: x proximity; scroll-padding-inline: 2px;
  scrollbar-color: #7da279 transparent; scrollbar-width: thin;
}
.explore-collections .catalog-track::-webkit-scrollbar { height: 7px; }
.explore-collections .catalog-track::-webkit-scrollbar-thumb { border-radius: 99px; background: #8cad86; }
.explore-collections .catalog-track a.catalog-card {
  position: relative; display: flex; flex: 0 0 226px; min-height: 276px; flex-direction: column;
  align-self: stretch; overflow: hidden; border: 1px solid #d9e3d7; border-radius: 16px; background: #fff;
  isolation: isolate; scroll-snap-align: start;
  box-shadow: 0 2px 0 rgba(21, 65, 39, .06), 0 13px 25px rgba(14, 54, 34, .09), 0 24px 42px rgba(14, 54, 34, .045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.explore-collections .catalog-track a.catalog-card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(16, 63, 38, .05);
}
.explore-collections .catalog-card__media {
  position: relative; display: grid; place-items: center; height: 204px; overflow: hidden;
  padding: 0; background: #fff; isolation: isolate;
}
.explore-collections .catalog-card__media::after {
  content: ''; position: absolute; inset: auto 0 0; height: 1px; background: #dfe9dd;
}
.explore-collections .catalog-card__media img {
  display: block; position: relative; z-index: 1; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center center; mix-blend-mode: multiply;
  transition: transform .3s ease;
}
.explore-collections .catalog-card__body {
  position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; gap: 7px;
  min-height: 92px; padding: 14px 14px 13px; text-align: left;
  background: linear-gradient(180deg, #fff 0%, #f7faf6 100%);
}
.explore-collections .catalog-card__body strong {
  display: -webkit-box; overflow: hidden; color: #173f2b; font-size: 14px; font-weight: 700;
  line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.explore-collections .catalog-card__body small {
  display: flex; align-items: center; justify-content: space-between; margin-top: auto;
  color: #37704b; font-size: 11px; font-weight: 800;
}
.explore-collections .catalog-card__body b {
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border-radius: 50%;
  background: #164b31; color: #fff; font-size: 14px; line-height: 1; transition: transform .2s ease;
}
@media (hover: hover) {
  .explore-collections .catalog-track a.catalog-card:hover {
    transform: translateY(-6px); border-color: #7ca476; text-decoration: none;
    box-shadow: 0 16px 32px rgba(15, 57, 37, .12), 0 24px 44px rgba(15, 57, 37, .06);
  }
  .explore-collections .catalog-track a.catalog-card:hover .catalog-card__media img { transform: scale(1.045); }
  .explore-collections .catalog-track a.catalog-card:hover .catalog-card__body b { transform: translateX(3px); }
}

@media (max-width: 960px) {
  .explore-collections { margin: 32px auto 36px; padding: 24px 18px; border-radius: 18px; }
  .explore-collections__heading { align-items: flex-start; flex-direction: column; gap: 9px; padding-bottom: 18px; }
  .explore-collections .catalog-row { padding: 20px 0; }
  .catalog-row__heading h3 { font-size: 18px; }
  .explore-collections .catalog-track a.catalog-card { flex-basis: 205px; min-height: 254px; }
  .explore-collections .catalog-card__media { height: 172px; }
  .explore-collections .catalog-card__body { min-height: 88px; }
}
@media (max-width: 560px) {
  .explore-collections { padding: 20px 14px; border-radius: 18px; }
  .catalog-row__heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .catalog-row__heading > a:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
  .catalog-row__view { padding: 8px 11px; }
  .explore-collections .catalog-track a.catalog-card { flex-basis: 184px; min-height: 235px; }
  .explore-collections .catalog-card__media { height: 160px; padding: 0; }
  .explore-collections .catalog-card__body { min-height: 82px; padding: 11px; }
  .explore-collections .catalog-card__body strong { font-size: 13px; }
}

@media (max-width: 1360px) and (min-width: 561px) {

  .card-actions .view-link,
  .card-details summary {
    padding: 5px 10px;
    font-size: 12.5px;
  }
}

/* Off-screen paint & layout skipping for lower showcase sections and footer (never on subgrid cards) */
.explore-collections, .footer-products, body > footer { content-visibility: auto; contain-intrinsic-size: auto 520px; }
.project-facts address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  .project-card, .furniture-card, .project-card .photo-link img, .furniture-card .furniture-photo img, .masthead > .quote, .masthead > .quote::before, .masthead > .quote span, .brand img, .nav-home, .card-actions .view-link, .card-actions .view-link span, .project-contact a, .product-shortcuts a, .catalog-row__heading h3, .catalog-row__view, .explore-collections .catalog-track a.catalog-card, .explore-collections .catalog-card__media img, .explore-collections .catalog-card__body b { transition: none !important; will-change: auto; }
  .project-card:hover, .furniture-card:hover, .nav-home:hover, .card-actions .view-link:hover, .project-contact a:hover, .product-shortcuts a:hover, .catalog-row__view:hover, .explore-collections .catalog-track a.catalog-card:hover { transform: none !important; }
}