/**
 * community.css — Community ("The Breakroom") + Founders sections.
 *
 * Extracted from front-page.css during the 2.1 redline pass. These two sections
 * now appear on BOTH the Welcome page (which became the site homepage) and the
 * held homepage template, so they can't live in a page-specific stylesheet.
 * Enqueued for page-welcome.php and front-page-holded.php — see functions.php.
 */

/* ── THE BREAKROOM / COMMUNITY ── */
.breakroom {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Scroll-linked parallax, wired in main.js alongside the Apparel and Self-Care
 * banners. The reference ships a flat placeholder colour here, and the redline
 * flags that this needs real parallax once a photo replaces it — the scale(1.1)
 * gives the transform room to move without exposing an edge. */
.breakroom-bg {
  position: absolute;
  inset: -40% 0; /* first paint; main.js sizes it to section + 2 × max travel */
  background: #f5f3f0;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s linear;
  will-change: transform;
}
.breakroom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,26,24,0.12);
}
.breakroom-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 40px;
}
.breakroom-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 72px 96px;
  max-width: 960px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.breakroom-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.breakroom-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 400;
  font-style: normal;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.breakroom-body {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto 28px;
}
.breakroom-body strong { font-weight: 700; }
.breakroom-body em { font-style: italic; }
.breakroom-form { display: flex; justify-content: center; margin-bottom: 0; }
.breakroom-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background: var(--terra);
  color: #fff;
  border-radius: 0;
  border-radius: 500px;
  border: none;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.breakroom-btn:hover { background: var(--mascot); color: #fff; }

/* ── FOUNDERS ── */
.founders {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 40px;
}
.founders-wrap { max-width: 1100px; margin: 0 auto; }
.founders-title-string {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 48px;
  letter-spacing: -0.03em;
  text-align: left;
  /* Honor the line break in the kicker so it wraps after "Built for" like the
   * reference. The saved option stores a newline (not <br>); pre-line renders
   * it as a break and still respects a literal <br> in the default. */
  white-space: pre-line;
}
.founders-title-string em {
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 400;
  color: var(--charcoal);
}
.founders-inner {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 72px;
  align-items: center;
}
.founders-photo { order: -1; }
.founders-photo-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow-md);
  display: block;
}
.founders-eyebrow {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone) !important;
  margin-bottom: 6px !important;
  text-align: left;
}
.founders-name {
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-size: 36px;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.founders-text p,
.founders-body {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: left;
}
.founders-text p em,
.founders-body em { font-style: italic; color: var(--terra); }
.founders-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s;
}
.founders-link:hover { color: var(--terra-hover); }


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .founders { padding: 72px 32px; }
  .founders-inner { gap: 48px; }
}
@media (max-width: 768px) {
  .breakroom-content { padding: 56px 20px; }
  .breakroom-card { padding: 44px 28px; }
  .breakroom-section-title { font-size: 40px; }
  .breakroom-body { font-size: 14px; }
  .founders { padding: 64px 20px; }
  .founders-inner { grid-template-columns: 1fr; gap: 36px; }
  .founders-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .founders-title-string { font-size: 32px; margin-bottom: 32px; }
}
@media (max-width: 560px) {
  .breakroom-section-title { font-size: 32px; }
  .founders-title-string { font-size: 26px; }
}
