﻿/* Customer journal, reviews, and discovery pages. Shared commerce/header behavior remains untouched. */
:where(.community-page, .discovery-page) { background: #fff; color: var(--ink); }
body.community-page { background: #fff; }
body.community-page .community-bar {
  min-height: 72px;
  padding: 0 var(--store-gutter, clamp(20px, 4vw, 64px));
  border-bottom: 1px solid var(--line);
  background: #fff;
}
body.community-page .community-brand .brand-logo { width: 64px; height: 52px; }
body.community-page .community-nav { gap: clamp(1rem, 2.2vw, 2rem); }
body.community-page .community-nav a { min-height: 44px; color: var(--muted); font-size: .875rem; letter-spacing: .02em; text-transform: none; }
body.community-page .community-nav a[aria-current='page'] { color: var(--ink); }
body.community-page .community-shell {
  width: min(1440px, calc(100% - 2 * var(--store-gutter, 20px)));
  max-width: none;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}
body.community-page .community-eyebrow,
.discovery-page .discovery-kicker { display: none; }
body.community-page .community-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.05em;
  text-align: center;
}
body.community-page .community-intro {
  max-width: 44rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
  word-break: keep-all;
}
body.community-page .journal-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  margin: 0 0 clamp(3.5rem, 7vw, 6.5rem);
  background: #fff;
}
body.community-page .journal-hero__copy {
  display: flex;
  min-height: clamp(360px, 43vw, 590px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6.5rem);
  border: 1px solid var(--line);
  border-right: 0;
}
body.community-page .journal-hero .community-title { text-align: left; }
body.community-page .journal-hero .community-intro { margin: 1.5rem 0 0; text-align: left; }
body.community-page .journal-hero__image { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
body.community-page .community-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  background: transparent;
}
body.community-page .community-filters,
body.community-page .community-sort { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
body.community-page :is(.community-filter, .community-sort button) {
  min-height: 44px;
  padding: 0 .8rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
body.community-page :is(.community-filter, .community-sort button)[aria-pressed='true'] { border-bottom-color: var(--ink); color: var(--ink); }
body.community-page .community-cta { min-height: 44px; border-color: var(--ink); background: #fff; color: var(--ink); }
body.community-page .community-cta:hover, body.community-page .community-cta:focus-visible { background: var(--warm-yellow); color: var(--ink); }
body.community-page .journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 2.4vw, 2rem);
}
body.community-page .journal-card { min-width: 0; border: 0; background: #fff; box-shadow: none; }
body.community-page [data-community-page="journal-list"] .journal-card,
body.community-page [data-community-page="journal-list"] .journal-card:first-child,
body.community-page [data-community-page="journal-list"] .journal-card:not(:first-child) {
  grid-column: auto;
  min-height: 0;
  padding: 0 !important;
  border: 0;
  flex-direction: column;
}
body.community-page [data-community-page="journal-list"] .journal-card .journal-card__image { width: 100%; height: auto; }
body.community-page .journal-card__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
body.community-page .journal-card__content { padding: 1.1rem 0 0; }
body.community-page .journal-card__meta { color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
body.community-page .journal-card h2 { font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.45; }
body.community-page .journal-card p:not(.journal-card__meta) { color: var(--muted); font-size: .9375rem; line-height: 1.75; }
body.community-page .journal-card__read { min-height: 44px; color: var(--ink); font-size: .78rem; }
body.community-page .article-layout { grid-template-columns: minmax(130px, .22fr) minmax(0, .78fr); max-width: 1080px; margin-inline: auto; gap: clamp(2rem, 6vw, 7rem); }
body.community-page .article-aside { color: var(--muted); font-size: .8125rem; }
body.community-page .article-aside a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); }
body.community-page .journal-article { max-width: 760px; }
body.community-page .article-header { margin-bottom: 3.5rem; }
body.community-page .article-header .community-eyebrow { display: none; }
body.community-page .article-header h1 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: 1.3; letter-spacing: -.045em; }
body.community-page .article-dek { margin: 1.4rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
body.community-page .article-body { color: var(--ink); font-size: 1.05rem; line-height: 1.95; }
body.community-page .article-body h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.45; }
body.community-page .article-body p { margin: 0 0 1.5rem; }
body.community-page .external-blog-reviews { margin: clamp(3.5rem, 7vw, 6.5rem) 0; padding: 0; border: 0; }
body.community-page .external-blog-reviews > h2,
body.community-page .verified-reviews-title { margin: 0 0 2rem; font-family: var(--display); font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; text-align: center; }
body.community-page .external-blog-intro { max-width: 42rem; margin: -1rem auto 2.5rem; color: var(--muted); font-size: .9375rem; line-height: 1.7; text-align: center; }
body.community-page .external-blog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
body.community-page .external-blog-card { display: flex; min-width: 0; min-height: 220px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 1.25rem; border: 1px solid var(--line); background: #fff; box-shadow: none; }
body.community-page .external-blog-media { display: block; width: calc(100% + 2.5rem); aspect-ratio: 4 / 3; margin: -1.25rem -1.25rem 1.25rem; background: var(--paper); }
body.community-page .external-blog-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.community-page .external-blog-source,
body.community-page .external-blog-author { color: var(--muted); font-size: .72rem; line-height: 1.5; }
body.community-page .external-blog-card h3 { margin: .8rem 0; font-size: 1rem; line-height: 1.45; }
body.community-page .external-blog-card h3 a { color: var(--ink); }
body.community-page .external-blog-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: .5rem; color: var(--ink); font-size: .75rem; text-decoration: underline; text-underline-offset: .25em; }
body.community-page .review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
body.community-page .review-card { min-width: 0; padding: 1.5rem; border: 1px solid var(--line); background: #fff; box-shadow: none; }
body.community-page .review-card__rating { color: var(--ink); font-size: .875rem; letter-spacing: .08em; }
body.community-page .review-card h2 { font-size: 1.1rem; line-height: 1.45; }
body.community-page .review-card blockquote { margin: 1.25rem 0; color: var(--ink); font-size: .975rem; line-height: 1.8; }
body.community-page .review-card__meta { color: var(--muted); font-size: .78rem; line-height: 1.6; }
body.community-page .community-empty { padding: clamp(2.5rem, 6vw, 5rem); border: 1px solid var(--line); color: var(--muted); text-align: center; }
body.community-page [data-community-page] [hidden],
.discovery-page [hidden] { display: none !important; }
body.community-page :is(a, button, input, select, textarea):focus-visible,
.discovery-page :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }

/* Discovery showroom uses the verified exterior photo and current factual contact output. */
.discovery-page { --discovery-paper: #fff; --discovery-line: var(--line); background: #fff; }
.discovery-page .discovery-intro { max-width: 1000px; padding: clamp(3.5rem, 7vw, 7rem) var(--store-gutter, clamp(20px, 4vw, 64px)); margin: auto; border: 0; background: #fff; color: var(--ink); text-align: center; }
.discovery-page .discovery-intro h1 { max-width: 14ch; margin-inline: auto; font-family: var(--display); font-size: clamp(2.5rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.25; letter-spacing: -.05em; }
.discovery-page .discovery-lead { margin-inline: auto; color: var(--muted); text-align: center; }
.discovery-page .discovery-showroom { grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); border-block: 1px solid var(--line); background: #fff; }
.discovery-page .discovery-showroom__media { background: #fff; }
.discovery-page .discovery-showroom__media img { width: 100%; height: auto; min-height: 0; aspect-ratio: auto; object-fit: contain; }
.discovery-page .discovery-showroom__copy { padding: clamp(2rem, 5vw, 5rem); background: #fff; }
.discovery-page .discovery-showroom__copy h2, .discovery-page .discovery-section h2 { font-family: var(--display); font-size: clamp(2rem, 2.8vw, 2.75rem); font-weight: 400; line-height: 1.25; letter-spacing: -.045em; }
.discovery-page .discovery-section { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: clamp(3.5rem, 7vw, 6.5rem) var(--store-gutter, clamp(20px, 4vw, 64px)); border-color: var(--line); background: #fff; text-align: center; }
.discovery-page .discovery-section__body { max-width: 38rem; margin: auto; }
.discovery-page .discovery-section__body p { color: var(--muted); }
.discovery-page .discovery-section--navy { background: #fff; color: var(--ink); }
.discovery-page .discovery-section--navy .discovery-section__body p { color: var(--muted); }
.discovery-page .discovery-section--links { background: #fff; }
.discovery-page .discovery-link-list { max-width: 800px; margin-inline: auto; text-align: left; }
.discovery-page .discovery-frame-link, .discovery-page .discovery-text-link { min-height: 44px; font-size: .9375rem; }
.discovery-page .discovery-frame-link--light { border-color: var(--ink); color: var(--ink); }
.discovery-page .discovery-frame-link--light:hover, .discovery-page .discovery-frame-link--light:focus-visible { border-color: var(--warm-yellow); background: var(--warm-yellow); color: var(--ink); }

@media (max-width: 960px) {
  body.community-page .journal-grid, body.community-page .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.community-page .external-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.community-page .article-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  body.community-page .article-aside { display: flex; align-items: center; gap: 1rem; }
  .discovery-page .discovery-showroom { grid-template-columns: 1fr; }
  .discovery-page .discovery-showroom__media img { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  body.community-page .community-bar { min-height: 65px; }
  body.community-page .community-shell { width: min(100% - 40px, 1440px); padding-block: 3.5rem; }
  body.community-page .community-brand { display: none; }
  body.community-page .community-nav { width: 100%; justify-content: center; gap: 1rem; }
  body.community-page .community-title { font-size: clamp(1.875rem, 9vw, 2.125rem); line-height: 1.3; }
  body.community-page .journal-hero { grid-template-columns: 1fr; }
  body.community-page .journal-hero__copy { min-height: 0; padding: 3.5rem 1.5rem; border-right: 1px solid var(--line); }
  body.community-page .journal-hero__image { aspect-ratio: 4 / 3; }
  body.community-page .community-toolbar { flex-direction: column; }
  body.community-page .community-filters { justify-content: flex-start; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  body.community-page .community-filter { flex: 0 0 auto; }
  body.community-page .journal-grid, body.community-page .review-grid, body.community-page .external-blog-grid { grid-template-columns: 1fr; }
  body.community-page .external-blog-card { min-height: 190px; }
  body.community-page .article-header { margin-bottom: 2.5rem; }
  body.community-page .article-body { font-size: 1rem; line-height: 1.9; }
  .discovery-page .discovery-intro { padding: 3.5rem 20px; }
  .discovery-page .discovery-showroom__copy, .discovery-page .discovery-section { padding: 3.5rem 20px; }
  .discovery-page .discovery-showroom__info div { grid-template-columns: 1fr; gap: .3rem; }
}
