/* =========================================================
   Brand Mark CSS
   Romm Coffee — logo-embroidery signature band (About page).

   A deep-teal band framing the short clip of the Romm logo being
   stitched onto fabric, with the tagline beneath. The clip plays
   once when it scrolls into view (see brand-mark.js) and holds on
   the finished logo; reduced-motion shows the poster frame.

   Works with:
   - Pages/About.cshtml (.brand-mark)
   - wwwroot/js/brand-mark.js
   - wwwroot/media/brand-embroidery.mp4
========================================================= */

.brand-mark {
  background:
    radial-gradient(
      120% 130% at 50% 0%,
      var(--color-primary, #06515d) 0%,
      var(--color-primary-dark, #05323a) 72%
    );
  padding-block: var(--section-padding-lg, clamp(5rem, 9vw, 8rem));
}

.brand-mark-inner {
  width: min(var(--container-md, 960px), calc(100% - 2rem));
  margin-inline: auto;
  text-align: center;
}

.brand-mark-eyebrow {
  display: inline-block;
  margin-bottom: var(--space-4, 1rem);

  font-size: var(--text-xs, 0.75rem);
  font-weight: var(--weight-bold, 700);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary, #649ea1);
}

.brand-mark-frame {
  position: relative;
  width: min(40rem, 100%);
  margin: 0 auto;
  overflow: hidden;

  border-radius: var(--radius-lg, 1rem);
  box-shadow: 0 26px 60px rgba(2, 20, 24, 0.5);

  /* Match the clip's 16:9 so there's no letterboxing. */
  aspect-ratio: 16 / 9;
  background: #b8ad9f;
}

.brand-mark-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark-tagline {
  margin: var(--space-6, 2rem) 0 0;

  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, var(--text-2xl, 2rem));
  line-height: var(--line-snug, 1.3);
  color: #fff9f2;
}

.brand-mark-text {
  margin: var(--space-3, 0.75rem) auto 0;
  max-width: 46ch;

  font-size: var(--text-md, 1.125rem);
  line-height: var(--line-relaxed, 1.7);
  color: rgba(255, 249, 242, 0.78);
}
