/* Our Roots — Ethos page: philosophy, suppliers, bread locations */

.ws-roots-page {
  background: var(--background, #f8f6f3);
}

/* ── Hero badge ───────────────────────────── */
.ws-roots-hero-badge {
  font-family: var(--font-primary, Georgia, serif);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* ── Shared layout helpers ────────────────── */
.ws-roots-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.ws-roots-inner-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ws-roots-heading {
  font-family: var(--font-primary, Georgia, serif);
  font-size: 1.65rem;
  color: var(--primary-color, #9c1c34);
  margin: 0 0 12px;
  line-height: 1.25;
}

.ws-roots-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--charcoal, #3d3530);
  margin: 0 0 14px;
}

.ws-roots-lead:last-child {
  margin-bottom: 0;
}

.ws-roots-section-title {
  font-family: var(--font-primary, Georgia, serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color, #9c1c34);
  text-align: center;
  margin: 0 0 12px;
  position: relative;
  padding-bottom: 20px;
}

.ws-roots-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-color, #bfa14a);
  border-radius: 2px;
}

/* ── Intro section ────────────────────────── */
.ws-roots-intro {
  padding: 52px 0 32px;
}

/* ── Pillars / Standards ──────────────────── */
.ws-roots-pillars {
  padding: 40px 24px 56px;
  background: var(--surface, #fff);
}

.ws-roots-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.ws-roots-pillar {
  background: var(--background, #f8f6f3);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 4px 20px rgba(124, 92, 62, 0.10);
  border: 1px solid rgba(124, 92, 62, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ws-roots-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124, 92, 62, 0.14);
}

.ws-roots-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(156, 28, 52, 0.08);
  color: var(--primary-color, #9c1c34);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.ws-roots-pillar h3 {
  font-family: var(--font-primary, Georgia, serif);
  font-size: 1.2rem;
  color: var(--primary-color, #9c1c34);
  margin: 0 0 10px;
}

.ws-roots-pillar p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--charcoal, #3d3530);
}

/* ── Suppliers grid ───────────────────────── */
.ws-roots-suppliers {
  padding: 56px 24px;
  background: var(--background, #f8f6f3);
}

.ws-roots-suppliers-intro {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--charcoal, #3d3530);
  max-width: 680px;
  margin: 8px auto 36px;
}

.ws-roots-suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.ws-roots-supplier {
  background: var(--surface, #fff);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(124, 92, 62, 0.1);
  box-shadow: 0 2px 12px rgba(44, 38, 33, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.ws-roots-supplier:hover,
a.ws-roots-supplier:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(44, 38, 33, 0.12);
  border-color: rgba(156, 28, 52, 0.2);
  text-decoration: none;
}

.ws-roots-supplier-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
}

.ws-roots-supplier-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: rgba(156, 28, 52, 0.06);
  color: var(--primary-color, #9c1c34);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary, Georgia, serif);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  padding: 4px;
}

.ws-roots-supplier h3 {
  font-family: var(--font-primary, Georgia, serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color, #9c1c34);
  margin: 0;
  line-height: 1.3;
}

.ws-roots-supplier p {
  font-size: 0.82rem;
  color: var(--charcoal, #3d3530);
  margin: 0;
  line-height: 1.4;
  opacity: 0.8;
}

/* ── Find Our Bread section ───────────────── */
.ws-roots-bread {
  padding: 56px 24px 64px;
  background: linear-gradient(160deg, #3d3530 0%, #2c2621 100%);
  color: #f8f6f3;
}

.ws-roots-bread .ws-roots-section-title {
  color: var(--accent-color, #bfa14a);
}

.ws-roots-bread .ws-roots-section-title::after {
  background: rgba(255, 255, 255, 0.25);
}

.ws-roots-bread-intro {
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(248, 246, 243, 0.8);
  max-width: 640px;
  margin: 8px auto 40px;
}

.ws-roots-bread-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ws-roots-bread-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(191, 161, 74, 0.18);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ws-roots-bread-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(191, 161, 74, 0.35);
  transform: translateY(-4px);
}

.ws-roots-bread-card--cta {
  border-style: dashed;
  border-color: rgba(191, 161, 74, 0.35);
  justify-content: center;
}

.ws-roots-bread-card--cta:hover {
  border-color: var(--accent-color, #bfa14a);
}

.ws-roots-bread-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(191, 161, 74, 0.15);
  color: var(--accent-color, #bfa14a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.ws-roots-bread-card h3 {
  font-family: var(--font-primary, Georgia, serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.ws-roots-bread-card-address {
  font-size: 0.82rem;
  color: var(--accent-color, #bfa14a);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ws-roots-bread-card-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-color, #bfa14a);
  margin: 0;
  letter-spacing: 0.02em;
  background: rgba(191, 161, 74, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.ws-roots-bread-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(248, 246, 243, 0.72);
  margin: 0;
  flex: 1;
}

.ws-roots-bread-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 10px 18px;
  background: var(--accent-color, #bfa14a);
  color: var(--charcoal, #3d3530);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ws-roots-bread-btn:hover,
.ws-roots-bread-btn:focus {
  background: #d4a65e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
  text-decoration: none;
}

.ws-roots-bread-btn--outline {
  background: transparent;
  color: var(--accent-color, #bfa14a);
  border: 1.5px solid var(--accent-color, #bfa14a);
}

.ws-roots-bread-btn--outline:hover,
.ws-roots-bread-btn--outline:focus {
  background: var(--accent-color, #bfa14a);
  color: var(--charcoal, #3d3530);
}

.ws-roots-bread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  justify-content: center;
}

.ws-roots-bread-actions .ws-roots-bread-btn {
  margin-top: 0;
}

/* ── Closing CTA ──────────────────────────── */
.ws-roots-closing {
  padding: 48px 0 64px;
  text-align: center;
  background: var(--surface, #fff);
}

.ws-roots-closing .ws-roots-heading {
  text-align: center;
}

.ws-roots-closing p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--charcoal, #3d3530);
  margin: 0 0 24px;
}

.ws-roots-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.ws-roots-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ws-roots-btn--primary {
  background: var(--primary-color, #9c1c34);
  color: #fff;
  border: 2px solid var(--primary-color, #9c1c34);
}

.ws-roots-btn--primary:hover,
.ws-roots-btn--primary:focus-visible {
  background: #7a1528;
  border-color: #7a1528;
  color: #fff;
  transform: translateY(-2px);
}

.ws-roots-btn--ghost {
  background: transparent;
  color: var(--primary-color, #9c1c34);
  border: 2px solid var(--primary-color, #9c1c34);
}

.ws-roots-btn--ghost:hover,
.ws-roots-btn--ghost:focus-visible {
  background: var(--primary-color, #9c1c34);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Utility ──────────────────────────────── */
.ws-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 900px) {
  .ws-roots-bread-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ws-roots-pillar-grid {
    grid-template-columns: 1fr;
  }

  .ws-roots-intro {
    padding-top: 36px;
  }

  .ws-roots-suppliers-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }

  .ws-roots-bread-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ws-roots-bread-card {
    padding: 24px 20px;
  }

  .ws-roots-actions {
    flex-direction: column;
  }

  .ws-roots-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .ws-roots-section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ws-roots-suppliers {
    padding: 40px 12px;
  }

  .ws-roots-bread {
    padding: 40px 12px 48px;
  }

  .ws-roots-pillars {
    padding: 32px 12px 40px;
  }

  .ws-roots-supplier {
    padding: 18px 12px;
  }

  .ws-roots-supplier-logo {
    width: 56px;
    height: 56px;
  }

  .ws-roots-supplier-placeholder {
    width: 56px;
    height: 56px;
    font-size: 0.6rem;
  }
}
