@charset "utf-8";
/* =====================================================
   Site announcement bar + homepage "New at Grind House"
   Driven by assets/js/announcement.js (edit the config there).
   ===================================================== */

/* Stack the bar and the nav together so the fixed navbar is not
   covered by the bar, and dismissing the bar does not leave a gap. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;
  max-width: 100%;
}
.site-header .navbar-ghs.fixed-top {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
}

/* Keep page content and in-page anchors clear of the stacked header.
   74px / 110px match the existing layout.css / base.css offsets. */
html.has-announce-bar main {
  padding-top: calc(74px + var(--announce-bar-height, 0px));
}
html.has-announce-bar [id] {
  scroll-margin-top: calc(110px + var(--announce-bar-height, 0px));
}
@media (max-width: 1199.98px) {
  html.has-announce-bar .navbar-ghs .navbar-collapse {
    max-height: calc(100vh - 80px - var(--announce-bar-height, 0px));
  }
}

/* ---------- Top bar ----------
   Brand treatments reused from the site:
   - Uppercase + .06em/.10em tracking like the navbar and kickers
   - 135deg stripe texture from .home-hero / .prog-hero
   - Gold pill + black type from .ptn-tier__badge / .sum-status
   - -6deg tilt from .prog-hero__icon (disabled when reduced motion)
   Contrast: #fff on #D42A36 = 5.02:1 (AA). Pill type #0A0A0A on
   #F5B841 = 11.14:1 (AA). Pill edge #0A0A0A vs #D42A36 = 3.94:1
   (WCAG 1.4.11). Gold type on crimson would fail (2.82:1). */
.announce-bar {
  position: relative;
  background: var(--impact-crimson);
  color: #fff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.announce-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.announce-bar__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--tap-min) minmax(0, 1fr) var(--tap-min);
  align-items: center;
  column-gap: .75rem;
  width: 100%;
  max-width: 100%;
  padding-block: 1rem;
}
/* Same width as the dismiss button so the message stays visually centered. */
.announce-bar__side {
  width: var(--tap-min);
  height: var(--tap-min);
  pointer-events: none;
}
.announce-bar__text {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .45rem .85rem;
  min-width: 0;
  margin: 0;
  text-align: center;
  font-size: clamp(.9375rem, 2.2vw, 1.0625rem);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.announce-bar__tag {
  display: inline-block;
  flex: 0 0 auto;
  padding: .22rem .7rem;
  border: 2px solid var(--grind-black);
  border-radius: 999px;
  background: var(--pulse-gold);
  color: var(--grind-black);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(-6deg);
}
.announce-bar__msg {
  min-width: 0;
}
.announce-bar__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.announce-bar__link:hover,
.announce-bar__link:visited,
.announce-bar__link:focus-visible {
  color: #fff;
}
.announce-bar__link:hover {
  text-decoration-thickness: 2px;
}
.announce-bar__link:focus-visible,
.announce-bar__dismiss:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.announce-bar__dismiss {
  grid-column: 3;
  justify-self: end;
  box-sizing: border-box;
  width: var(--tap-min);
  height: var(--tap-min);
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 0;
}
.announce-bar__dismiss:hover {
  background: rgba(10, 10, 10, .2);
}
@media (prefers-reduced-motion: reduce) {
  .announce-bar__tag { transform: none; }
}

/* ---------- Homepage "New at Grind House" ---------- */
.new-at-ghs {
  background: var(--surface-alt);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.new-at-ghs__card {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid #ece7e5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.new-at-ghs__media {
  position: relative;
  min-height: 13.5rem;
  background:
    radial-gradient(28rem 16rem at 100% 100%, rgba(212, 42, 54, .45), transparent 60%),
    var(--grind-black);
  color: #fff;
  display: grid;
  place-items: center;
}
.new-at-ghs__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.new-at-ghs__fallback {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 2rem 1.25rem;
  text-align: center;
}
.new-at-ghs__fallback svg {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--pulse-gold);
}
.new-at-ghs__fallback-label {
  margin: 0;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  color: #fff;
}
.new-at-ghs__body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.new-at-ghs__title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--grind-black);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.new-at-ghs__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.5rem;
  margin: 0 0 1.5rem;
}
.new-at-ghs__details > div { min-width: 0; }
.new-at-ghs__details dt {
  margin: 0 0 .2rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--impact-crimson);
}
.new-at-ghs__details dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--grind-black);
  overflow-wrap: break-word;
}
.new-at-ghs__cta {
  align-self: flex-start;
  min-height: var(--tap-min);
}
@media (min-width: 576px) {
  .new-at-ghs__details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .new-at-ghs__card {
    grid-template-columns: minmax(12rem, 2fr) minmax(0, 3fr);
    align-items: stretch;
  }
  .new-at-ghs__media { min-height: 100%; }
}
