/* RRM Next.js ditto-copy - shared page-template components.
   Matches Section, PageHero, StatStrip, FeatureCard and CTABand components,
   and the section patterns in the Next.js app pages. Loaded only on rrm page templates. */

/* ---------- Layout ---------- */
.rrm-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
}
.rrm-section--tight { padding-top: 4rem; padding-bottom: 4rem; }
.rrm-section--notop { padding-top: 0; }
@media (min-width: 640px) {
  .rrm-section { padding-left: 1.5rem; padding-right: 1.5rem; padding-top: 6rem; padding-bottom: 6rem; }
}
@media (min-width: 1024px) { .rrm-section { padding-left: 2rem; padding-right: 2rem; } }

.rrm-band { background: var(--rrm-ivory); }
.rrm-band--dim { background: var(--rrm-ivory-dim); }
.rrm-band--dark { background: var(--rrm-charcoal); color: var(--rrm-ivory); }
.rrm-band--dark-soft { background: var(--rrm-charcoal-soft); color: var(--rrm-ivory); }
.rrm-band--maroon { background: var(--rrm-maroon); color: var(--rrm-ivory); }

.rrm-grid-2 { display: grid; gap: 3rem; }
.rrm-grid-2--center { align-items: center; }
@media (min-width: 1024px) { .rrm-grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Eyebrow + rule ---------- */
.rrm-eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--rrm-maroon); margin: 0;
}
.rrm-band--dark .rrm-eyebrow, .rrm-band--dark-soft .rrm-eyebrow { color: var(--rrm-gold-soft); }
.rrm-gold-rule { width: 3rem; height: 2px; margin-top: 0.75rem; background: linear-gradient(90deg, var(--rrm-gold), var(--rrm-maroon)); }

.rrm-h2 {
  margin: 1rem 0 0; font-family: 'Fraunces', ui-serif, Georgia, serif; font-weight: 500;
  font-size: 1.875rem; line-height: 1.15; color: var(--rrm-charcoal);
}
.rrm-band--dark .rrm-h2, .rrm-band--dark-soft .rrm-h2 { color: var(--rrm-ivory); }
@media (min-width: 640px) { .rrm-h2 { font-size: 2.25rem; } }
.rrm-h2--sm { font-size: 1.5rem; }
@media (min-width: 640px) { .rrm-h2--sm { font-size: 1.5rem; } }
.rrm-lede { margin-top: 1.25rem; max-width: 42rem; font-size: 1rem; line-height: 1.75; color: rgba(28,23,18,0.7); }
.rrm-band--dark .rrm-lede, .rrm-band--dark-soft .rrm-lede { color: rgba(250,246,238,0.75); }
.rrm-body { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.65; color: rgba(28,23,18,0.65); }
.rrm-band--dark .rrm-body, .rrm-band--dark-soft .rrm-body { color: rgba(250,246,238,0.75); }

/* ---------- Page hero (interior pages) ---------- */
.rrm-page-hero { position: relative; overflow: hidden; background: var(--rrm-charcoal); color: var(--rrm-ivory); }
.rrm-page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.rrm-page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--rrm-charcoal), rgba(28,23,18,0.85) 55%, rgba(28,23,18,0.6)); }
.rrm-page-hero__inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 6rem 1rem; }
.rrm-page-hero__inner--compact { padding: 4rem 1rem; }
@media (min-width: 640px) { .rrm-page-hero__inner { padding: 8rem 1.5rem; } .rrm-page-hero__inner--compact { padding: 5rem 1.5rem; } }
@media (min-width: 1024px) { .rrm-page-hero__inner { padding-left: 2rem; padding-right: 2rem; } }
.rrm-page-hero__eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--rrm-gold-soft); margin: 0; }
.rrm-page-hero__title {
  margin: 1.5rem 0 0; max-width: 48rem; font-family: 'Fraunces', ui-serif, Georgia, serif; font-weight: 500;
  font-size: 2.25rem; line-height: 1.15; color: var(--rrm-ivory);
}
@media (min-width: 640px) { .rrm-page-hero__title { font-size: 3rem; } }
.rrm-page-hero__subtitle { margin-top: 1.25rem; max-width: 42rem; font-size: 1rem; line-height: 1.75; color: rgba(250,246,238,0.75); }
@media (min-width: 640px) { .rrm-page-hero__subtitle { font-size: 1.125rem; } }

/* Homepage full hero (with CTAs) */
.rrm-hero { position: relative; overflow: hidden; background: var(--rrm-charcoal); color: var(--rrm-ivory); }
.rrm-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.rrm-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--rrm-charcoal), rgba(28,23,18,0.8) 55%, rgba(28,23,18,0.5)); }
.rrm-hero__inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 7rem 1rem; }
@media (min-width: 640px) { .rrm-hero__inner { padding: 9rem 1.5rem; } }
@media (min-width: 1024px) { .rrm-hero__inner { padding-left: 2rem; padding-right: 2rem; } }
.rrm-hero__eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--rrm-gold-soft); margin: 0; }
.rrm-hero__title { margin: 1.5rem 0 0; max-width: 40rem; font-family: 'Fraunces', ui-serif, Georgia, serif; font-weight: 500; font-size: 2.5rem; line-height: 1.15; color: var(--rrm-ivory); }
@media (min-width: 640px) { .rrm-hero__title { font-size: 3.75rem; } }
.rrm-hero__title em { font-style: italic; color: var(--rrm-gold-soft); }
.rrm-hero__subtitle { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.75; color: rgba(250,246,238,0.75); }
@media (min-width: 640px) { .rrm-hero__subtitle { font-size: 1.125rem; } }
.rrm-hero__cta { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .rrm-hero__cta { flex-direction: row; } }

.rrm-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px;
  border: 1px solid rgba(250,246,238,0.3); background: transparent; color: var(--rrm-ivory) !important;
  padding: 0.6rem 1.4rem; font-size: 0.875rem; font-weight: 600; text-decoration: none !important;
  transition: background-color .2s ease; white-space: nowrap;
}
.rrm-btn-outline:hover { background: rgba(250,246,238,0.1); color: var(--rrm-ivory) !important; }
.rrm-btn-gold {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px;
  background: var(--rrm-gold); color: var(--rrm-charcoal) !important; padding: 0.6rem 1.4rem;
  font-size: 0.875rem; font-weight: 600; text-decoration: none !important; transition: background-color .2s ease;
}
.rrm-btn-gold:hover { background: var(--rrm-gold-soft); color: var(--rrm-charcoal) !important; }

/* ---------- Stat strip ---------- */
.rrm-stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--rrm-charcoal-soft); color: var(--rrm-ivory); }
.rrm-stat-strip__item { padding: 2rem 1.5rem; text-align: center; border-bottom: 1px solid rgba(250,246,238,0.1); }
.rrm-stat-strip__item:nth-child(odd) { border-right: 1px solid rgba(250,246,238,0.1); }
.rrm-stat-strip__value { font-family: 'Fraunces', ui-serif, Georgia, serif; font-weight: 500; font-size: 1.5rem; color: var(--rrm-gold); }
.rrm-stat-strip__label { margin-top: 0.25rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(250,246,238,0.6); }
@media (min-width: 640px) {
  .rrm-stat-strip { grid-template-columns: repeat(4, 1fr); }
  .rrm-stat-strip__item { border-bottom: 0; border-right: 1px solid rgba(250,246,238,0.1); }
  .rrm-stat-strip__item:last-child { border-right: 0; }
  .rrm-stat-strip__value { font-size: 1.875rem; }
}

/* ---------- Feature grid ---------- */
.rrm-feature-grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .rrm-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rrm-feature-grid { grid-template-columns: repeat(4, 1fr); } }
.rrm-feature-card { border-top: 1px solid rgba(201,161,59,0.3); padding-top: 1.5rem; }
.rrm-feature-card__index { font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 0.875rem; color: var(--rrm-gold); }
.rrm-feature-card__title { margin: 0.5rem 0 0; font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 1.25rem; color: var(--rrm-charcoal); }
.rrm-feature-card__body { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.65; color: rgba(28,23,18,0.7); }

/* ---------- CTA band ---------- */
.rrm-cta-band { background: var(--rrm-maroon); }
.rrm-cta-band__inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1rem; text-align: center; }
@media (min-width: 640px) { .rrm-cta-band__inner { padding: 5rem 1.5rem; } }
.rrm-cta-band__title { margin: 0; font-family: 'Fraunces', ui-serif, Georgia, serif; font-weight: 500; font-size: 1.875rem; color: var(--rrm-ivory); }
@media (min-width: 640px) { .rrm-cta-band__title { font-size: 2.25rem; } }
.rrm-cta-band__subtitle { margin: 1rem auto 0; max-width: 36rem; font-size: 0.875rem; color: rgba(250,246,238,0.8); }
@media (min-width: 640px) { .rrm-cta-band__subtitle { font-size: 1rem; } }
.rrm-cta-band__buttons { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .rrm-cta-band__buttons { flex-direction: row; } }

/* ---------- Product cards ---------- */
.rrm-product-grid { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .rrm-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rrm-product-grid { grid-template-columns: repeat(3, 1fr); } }
.rrm-product-card { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(28,23,18,0.06), 0 0 0 1px rgba(28,23,18,0.05); }
.rrm-product-card__media { position: relative; aspect-ratio: 1 / 1; }
.rrm-product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rrm-product-card__tag { position: absolute; left: 0.75rem; top: 0.75rem; border-radius: 9999px; background: rgba(28,23,18,0.8); padding: 0.25rem 0.75rem; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rrm-gold-soft); }
.rrm-product-card__body { padding: 1.25rem; }
.rrm-product-card__name { font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 1.125rem; color: var(--rrm-charcoal); margin: 0; }
.rrm-product-card__desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(28,23,18,0.65); }
.rrm-product-card__bestfor { margin-top: 0.75rem; border-radius: 8px; background: var(--rrm-ivory-dim); padding: 0.5rem 0.75rem; font-size: 0.75rem; line-height: 1.4; color: rgba(28,23,18,0.7); }
.rrm-product-card__bestfor strong { text-transform: uppercase; letter-spacing: 0.05em; color: var(--rrm-maroon); font-weight: 600; }
.rrm-link-maroon { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--rrm-maroon); text-decoration: none; }
.rrm-link-maroon:hover { text-decoration: underline; }
.rrm-link-gold { color: var(--rrm-gold-soft); font-weight: 600; text-decoration: none; font-size: 0.875rem; }
.rrm-link-gold:hover { text-decoration: underline; }

/* Product teaser (homepage 4-up) */
.rrm-teaser-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .rrm-teaser-grid { grid-template-columns: repeat(4, 1fr); } }
.rrm-teaser-card { display: block; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(28,23,18,0.06), 0 0 0 1px rgba(28,23,18,0.05); text-decoration: none; transition: box-shadow .2s ease; }
.rrm-teaser-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.rrm-teaser-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.rrm-teaser-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.rrm-teaser-card:hover .rrm-teaser-card__media img { transform: scale(1.05); }
.rrm-teaser-card__name { padding: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--rrm-charcoal); }

/* ---------- Lists ---------- */
.rrm-list-dot { margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: rgba(28,23,18,0.75); display: grid; gap: 0.5rem; }
.rrm-list-dot li { display: flex; align-items: center; gap: 0.5rem; }
.rrm-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--rrm-maroon); flex-shrink: 0; display: inline-block; }
.rrm-dot--gold { background: var(--rrm-gold); }
.rrm-list-plain { margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: rgba(28,23,18,0.7); display: grid; gap: 0.5rem; }
.rrm-band--dark .rrm-list-plain, .rrm-band--dark-soft .rrm-list-plain { color: rgba(250,246,238,0.75); }

/* ---------- Cards / boxes ---------- */
.rrm-box { border-radius: 16px; border: 1px solid rgba(28,23,18,0.1); padding: 2rem; }
.rrm-box-white { border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(28,23,18,0.06), 0 0 0 1px rgba(28,23,18,0.05); padding: 2rem; }
.rrm-pill { display: inline-flex; border-radius: 9999px; border: 1px solid rgba(201,161,59,0.3); padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; color: var(--rrm-gold-soft); }
.rrm-pill-light { display: inline-flex; border-radius: 9999px; background: var(--rrm-ivory-dim); padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; color: rgba(28,23,18,0.7); }
.rrm-pill-row { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Timeline (About: history) ---------- */
.rrm-timeline { margin-top: 3rem; display: grid; gap: 2rem; border-left: 1px solid rgba(201,161,59,0.3); padding-left: 2rem; }
.rrm-timeline__item { position: relative; }
.rrm-timeline__dot { position: absolute; left: -2.4rem; top: 0.25rem; width: 12px; height: 12px; border-radius: 9999px; background: var(--rrm-maroon); }
.rrm-timeline__year { font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 1.125rem; color: var(--rrm-gold); margin: 0; }
.rrm-timeline__text { margin: 0.25rem 0 0; max-width: 42rem; font-size: 0.875rem; line-height: 1.65; color: rgba(28,23,18,0.7); }

/* ---------- Founder quote ---------- */
.rrm-founder__portrait { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 9999px; box-shadow: 0 0 0 4px rgba(201,161,59,0.3); max-width: 320px; margin: 0 auto; }
.rrm-founder__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rrm-founder__quote { font-family: 'Fraunces', ui-serif, Georgia, serif; font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--rrm-gold-soft); margin: 0; }
@media (min-width: 640px) { .rrm-founder__quote { font-size: 1.875rem; } }
.rrm-founder__body { margin-top: 1.5rem; max-width: 36rem; font-size: 0.875rem; line-height: 1.75; color: rgba(250,246,238,0.75); }
.rrm-founder__name { margin-top: 1.5rem; font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 1.125rem; color: var(--rrm-ivory); }
.rrm-founder__title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--rrm-gold-soft); margin: 0; }

/* ---------- Team ---------- */
.rrm-team-grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .rrm-team-grid { grid-template-columns: repeat(2, 1fr); } }
.rrm-team-card { display: flex; gap: 1.25rem; border-radius: 16px; background: #fff; padding: 1.25rem; box-shadow: 0 1px 2px rgba(28,23,18,0.06), 0 0 0 1px rgba(28,23,18,0.05); }
.rrm-team-card__photo { position: relative; width: 7rem; height: 7rem; flex-shrink: 0; overflow: hidden; border-radius: 12px; }
.rrm-team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rrm-team-card__name { font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 1.125rem; color: var(--rrm-charcoal); margin: 0; }
.rrm-team-card__title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: var(--rrm-maroon); margin: 0.15rem 0 0; }
.rrm-team-card__bio { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(28,23,18,0.65); }

/* ---------- Certification strip ---------- */
.rrm-cert-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .rrm-cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .rrm-cert-grid { grid-template-columns: repeat(6, 1fr); } }
.rrm-cert-tile { border-radius: 12px; background: rgba(250,246,238,0.05); padding: 1rem; text-align: center; box-shadow: inset 0 0 0 1px rgba(250,246,238,0.1); }
.rrm-cert-tile__media { position: relative; margin: 0 auto; aspect-ratio: 3/4; width: 100%; overflow: hidden; border-radius: 6px; background: var(--rrm-ivory); }
.rrm-cert-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }
.rrm-cert-tile__name { margin-top: 0.75rem; font-size: 0.75rem; font-weight: 600; color: rgba(250,246,238,0.85); }
.rrm-cert-list { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .rrm-cert-list { grid-template-columns: repeat(2, 1fr); } }
.rrm-cert-row { display: flex; align-items: flex-start; gap: 1.25rem; border-radius: 16px; background: #fff; padding: 1.5rem; box-shadow: 0 1px 2px rgba(28,23,18,0.06), 0 0 0 1px rgba(28,23,18,0.05); }
.rrm-cert-row__media { position: relative; width: 5.5rem; flex-shrink: 0; aspect-ratio: 3/4; overflow: hidden; border-radius: 8px; background: var(--rrm-ivory-dim); }
.rrm-cert-row__media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }
.rrm-cert-row__name { font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 1.05rem; color: var(--rrm-charcoal); margin: 0; }
.rrm-cert-row__desc { margin-top: 0.4rem; font-size: 0.8125rem; line-height: 1.55; color: rgba(28,23,18,0.65); }

/* ---------- Service stream / MOQ cards ---------- */
.rrm-stream-grid { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .rrm-stream-grid { grid-template-columns: repeat(2, 1fr); } }
.rrm-stream-card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid rgba(28,23,18,0.1); padding: 2rem; height: 100%; }

/* ---------- Photo grids ---------- */
.rrm-photo-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .rrm-photo-grid { grid-template-columns: repeat(2, 1fr); } }
.rrm-photo-grid__item { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.rrm-photo-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rrm-lab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.rrm-lab-grid__wide { grid-column: span 2; position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; }
.rrm-lab-grid__wide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rrm-lab-grid__sq { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 16px; }
.rrm-lab-grid__sq img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Facility split ---------- */
.rrm-facility-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.rrm-facility-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Export markets ---------- */
.rrm-market-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .rrm-market-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .rrm-market-grid { grid-template-columns: repeat(6, 1fr); } }
.rrm-market-tile { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; border-radius: 12px; background: var(--rrm-charcoal); padding: 1.5rem 1rem; text-align: center; }
.rrm-market-tile__flag { font-size: 2.25rem; line-height: 1; }
.rrm-market-tile__name { font-size: 0.875rem; font-weight: 500; color: var(--rrm-ivory); }

.rrm-buyer-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .rrm-buyer-grid { grid-template-columns: repeat(4, 1fr); } }
.rrm-buyer-tile { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; border-radius: 12px; border: 1px solid rgba(28,23,18,0.1); padding: 1.5rem 1rem; text-align: center; }
.rrm-buyer-tile svg { color: var(--rrm-maroon); }
.rrm-buyer-tile__name { font-size: 0.875rem; font-weight: 600; color: rgba(28,23,18,0.8); }

/* ---------- MOR SKUs ---------- */
.rrm-sku-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .rrm-sku-grid { grid-template-columns: repeat(3, 1fr); } }
.rrm-sku-card { overflow: hidden; border-radius: 16px; background: rgba(250,246,238,0.05); box-shadow: inset 0 0 0 1px rgba(250,246,238,0.1); }
.rrm-sku-card__media { position: relative; aspect-ratio: 3/4; }
.rrm-sku-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rrm-sku-card__name { padding: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--rrm-ivory); margin: 0; }

/* ---------- Contact page ---------- */
.rrm-contact-grid { margin-top: 0; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .rrm-contact-grid { grid-template-columns: 3fr 2fr; } }
.rrm-contact-card { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(28,23,18,0.7); }
.rrm-contact-card svg { color: var(--rrm-maroon); flex-shrink: 0; margin-top: 2px; }
.rrm-contact-card a { color: inherit; text-decoration: none; }
.rrm-contact-card a:hover { color: var(--rrm-maroon); }
.rrm-contact-side { display: grid; gap: 2rem; }
.rrm-contact-map { margin-top: 1rem; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; }
.rrm-contact-map iframe { width: 100%; height: 100%; border: 0; }

/* WPForms inside the RFQ card: strip its default chrome, use ours */
.rrm-rfq-card .wpforms-container { margin: 0 !important; }
.rrm-rfq-card .wpforms-field-label { color: var(--rrm-charcoal) !important; font-weight: 600 !important; }
.rrm-rfq-card .wpforms-field input:not([type=checkbox]):not([type=radio]),
.rrm-rfq-card .wpforms-field select,
.rrm-rfq-card .wpforms-field textarea {
  border-radius: 8px !important;
  border: 1px solid rgba(28,23,18,0.15) !important;
  background: #fff !important;
  padding: 0.625rem 1rem !important;
  font-size: 0.875rem !important;
  color: var(--rrm-charcoal) !important;
  box-shadow: 0 1px 2px rgba(28,23,18,0.04) !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.rrm-rfq-card .wpforms-field input:not([type=checkbox]):not([type=radio]):focus,
.rrm-rfq-card .wpforms-field select:focus,
.rrm-rfq-card .wpforms-field textarea:focus {
  border-color: var(--rrm-maroon) !important;
  box-shadow: 0 0 0 3px rgba(122,31,43,0.15) !important;
  outline: none !important;
}
.rrm-rfq-card .wpforms-submit-container button,
.rrm-rfq-card button[type=submit] {
  background: var(--rrm-maroon) !important; border-radius: 9999px !important; border: 0 !important;
  padding: 0.65rem 1.6rem !important; font-weight: 600 !important;
}
.rrm-rfq-card .wpforms-submit-container button:hover { background: var(--rrm-maroon-deep) !important; }

/* ---------- Gallery ---------- */
.rrm-gallery-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .rrm-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .rrm-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.rrm-gallery-grid__item { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; }
.rrm-gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.rrm-gallery-grid__item:hover img { transform: scale(1.05); }

.rrm-mt-0 { margin-top: 0 !important; }

/* Founder quote split (About page): 1fr portrait / 2fr quote, matches the
   Next.js lg:grid-cols-3 (col-span-1 / col-span-2) layout. */
.rrm-founder-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .rrm-founder-grid { grid-template-columns: 1fr 2fr; } }

/* RFQ form: two-column field layout on desktop. */
.rrm-rfq-card .wpforms-field-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
.rrm-rfq-card .wpforms-field { margin-bottom: 1.25rem; grid-column: span 1; }
.rrm-rfq-card .wpforms-field-textarea,
.rrm-rfq-card .wpforms-field-html,
.rrm-rfq-card .wpforms-field-hidden,
.rrm-rfq-card .wpforms-field-select-style-modern .choices,
.rrm-rfq-card .wpforms-submit-container { grid-column: 1 / -1; }
@media (max-width: 639px) {
  .rrm-rfq-card .wpforms-field-container { grid-template-columns: 1fr; }
  .rrm-rfq-card .wpforms-field { grid-column: 1 / -1; }
}

/* RFQ form labels, to match RFQForm.tsx's Field component: uppercase,
   tracked, semibold, maroon required-asterisk — instead of WPForms' hidden
   labels + placeholder-only text. */
.rrm-rfq-card .wpforms-field-label {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 0.4rem !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(28, 23, 18, 0.7) !important;
}
.rrm-rfq-card .wpforms-required-label { color: var(--rrm-maroon) !important; }
.rrm-rfq-card .wpforms-field-description { margin-top: 0.35rem; font-size: 0.75rem; color: rgba(28,23,18,0.45); }
.rrm-rfq-card .wpforms-field input,
.rrm-rfq-card .wpforms-field select,
.rrm-rfq-card .wpforms-field textarea { margin-top: 0; }

/* Dual-button row (submit + WhatsApp fallback), matching RFQForm.tsx. */
.rrm-rfq-buttons { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .rrm-rfq-buttons { flex-direction: row; } }
.rrm-rfq-buttons .rrm-btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 9999px; border: 1px solid rgba(28,23,18,0.2); background: transparent;
  color: var(--rrm-charcoal) !important; padding: 0.65rem 1.6rem; font-size: 0.875rem; font-weight: 600;
  text-decoration: none !important; transition: background-color .2s ease;
}
.rrm-rfq-buttons .rrm-btn-whatsapp:hover { background: rgba(28,23,18,0.05); }
.rrm-rfq-card .wpforms-submit-container { display: inline-block; margin-top: 0 !important; }