/* ============================================================
   promos.css — Promos & Rewards (guest landing + signed-in card)
   Auth-gated UI only. Mobile-first responsive.
   ============================================================ */

:root {
  --pr-green: #0d542b;
  --pr-green-hover: #0a4322;
  --pr-green-deep: #0f4c3a;
  --pr-yellow: #eab308;
  --pr-yellow-hover: #ca8a04;
  --pr-gold: #ffd700;
  --pr-ink: #111111;
  --pr-ink-mid: #444444;
  --pr-ink-light: #888888;
  --pr-white: #ffffff;
  --pr-off: #f6f6f4;
  --pr-border: #e8e8e8;
  --pr-font-display: 'Oswald', 'DM Sans', sans-serif;
  --pr-font-body: 'DM Sans', sans-serif;
  --pr-max: 1120px;
  --pr-px: clamp(20px, 5vw, 64px);
  --pr-r: 16px;
  --pr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*
 * Header parity with Gallery / About:
 * Those pages re-load styles.css after seattle-chrome. Mirror the
 * resulting desktop header metrics here so Promos does not look shrunk.
 * Mobile (<861px) stays on mobile-nav-lock.css — do not override.
 */
@media (min-width: 861px) {
  header.navbar#navbar {
    height: 68px !important;
  }
  header.navbar#navbar .navbar__inner {
    max-width: 1380px !important;
    padding-inline: 105px !important;
    gap: 32px !important;
  }
  header.navbar#navbar .navbar__logo-img {
    width: 34px !important;
    height: 34px !important;
  }
  header.navbar#navbar .navbar__nav {
    gap: 28px !important;
  }
  header.navbar#navbar .navbar__link,
  header.navbar#navbar .navbar__item > .navbar__link {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    padding: 8px 12px 2px !important;
    color: #888888 !important;
  }
  header.navbar#navbar .navbar__link:hover,
  header.navbar#navbar .navbar__link.active,
  header.navbar#navbar .navbar__item > .navbar__link:hover,
  header.navbar#navbar .navbar__item > .navbar__link.active {
    color: #5d4037 !important;
  }
}

/* ── Auth loading ─────────────────────────────────────────── */
.pr-auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40vh;
  font-family: var(--pr-font-body);
  font-size: 0.9rem;
  color: var(--pr-ink-light);
}
.pr-auth-loading[hidden] { display: none !important; }
.pr-auth-loading__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pr-green);
  animation: prPulse 1s ease-in-out infinite;
}
@keyframes prPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.pr-view[hidden] { display: none !important; }

/* ── Reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--pr-ease), transform 0.55s var(--pr-ease);
  transition-delay: var(--delay, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Hero ─────────────────────────────────────────────────── */
.pr-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--pr-white);
}
.pr-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pr-hero__slides {
  position: absolute;
  inset: 0;
}
.pr-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translateX(6%);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
  pointer-events: none;
}
.pr-hero__img.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}
.pr-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 20, 14, 0.35) 0%, rgba(8, 20, 14, 0.72) 55%, rgba(8, 20, 14, 0.92) 100%),
    linear-gradient(90deg, rgba(13, 84, 43, 0.35), transparent 55%);
}
@media (prefers-reduced-motion: reduce) {
  .pr-hero__img {
    transition: none;
    transform: none;
  }
}
.pr-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--pr-max);
  margin: 0 auto;
  padding: calc(88px + 48px) var(--pr-px) 56px;
}
.pr-hero__eyebrow {
  font-family: var(--pr-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.8);
}
.pr-hero__title {
  font-family: var(--pr-font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 16px;
  max-width: 14ch;
}
.pr-hero__sub {
  font-family: var(--pr-font-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
  margin: 0 0 28px;
}
.pr-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pr-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pr-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 0.2s var(--pr-ease), background 0.2s, border-color 0.2s;
}
.pr-hero__cta:hover { transform: translateY(-2px); }
.pr-hero__cta--primary {
  background: var(--pr-white);
  color: var(--pr-green);
}
.pr-hero__cta--primary:hover { background: #f0f0f0; }
.pr-hero__cta--ghost {
  background: transparent;
  color: var(--pr-white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.pr-hero__cta--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ── Section chrome ───────────────────────────────────────── */
.pr-eyebrow {
  font-family: var(--pr-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pr-green);
  margin: 0 0 10px;
}
.pr-eyebrow--green { color: var(--pr-green); }
.pr-eyebrow--yellow { color: #b45309; }
.pr-eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.pr-section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.pr-section-title {
  font-family: var(--pr-font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pr-ink);
  margin: 0 0 10px;
}
.pr-section-sub {
  font-family: var(--pr-font-body);
  font-size: 0.95rem;
  color: var(--pr-ink-light);
  line-height: 1.6;
  margin: 0;
}

/* ── How it works ─────────────────────────────────────────── */
.pr-how {
  background: var(--pr-white);
  padding: 72px 0 80px;
}
.pr-how__inner {
  max-width: var(--pr-max);
  margin: 0 auto;
  padding: 0 var(--pr-px);
}
.pr-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pr-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pr-step.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--pr-ease),
    transform 0.7s var(--pr-ease);
  transition-delay: var(--delay, 0s);
}
.pr-step.reveal.in {
  opacity: 1;
  transform: none;
}
.pr-step__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--pr-r);
  overflow: hidden;
  background: var(--pr-off);
  transition: transform 0.35s var(--pr-ease), box-shadow 0.35s var(--pr-ease);
}
a.pr-step__visual {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.pr-step__visual:focus-visible {
  outline: 2px solid var(--pr-green);
  outline-offset: 3px;
}
.pr-step__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s var(--pr-ease);
}
/* Download-app store graphic — show full image, no crop/zoom */
.pr-step__visual--download {
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 14px);
}
.pr-step__visual--download img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}
/* Circular / logo art — keep full mark visible on desktop + mobile */
.pr-step__visual--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: clamp(10px, 2.5vw, 18px);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.pr-step__visual--logo img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}
.pr-step__visual--logo:focus-visible {
  outline: 2px solid var(--pr-green);
  outline-offset: 3px;
}
.pr-step__num {
  font-family: var(--pr-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pr-green);
  transition: transform 0.35s var(--pr-ease), color 0.35s;
}
.pr-step__title {
  font-family: var(--pr-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pr-ink);
  margin: 0;
  transition: color 0.3s;
}
.pr-step__desc {
  font-family: var(--pr-font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--pr-ink-light);
  line-height: 1.6;
  margin: 0;
}
.pr-step__desc .brand-kohrush {
  font-weight: 700;
  white-space: nowrap;
}
.pr-step__desc .brand-kohrush__koh { color: #0d542b; }
.pr-step__desc .brand-kohrush__rush { color: #5d4037; }
@media (hover: hover) and (pointer: fine) {
  .pr-step:hover .pr-step__visual {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  }
  .pr-step:hover .pr-step__visual img {
    transform: scale(1.05);
  }
  .pr-step:hover .pr-step__num {
    transform: translateX(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pr-step.reveal,
  .pr-step__visual,
  .pr-step__visual img,
  .pr-step__num {
    transition: none !important;
    animation: none !important;
  }
  .pr-step.reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Brand promo sections ─────────────────────────────────── */
.pr-brand-section {
  padding: 64px 0 72px;
}
.pr-brand-section--green { background: var(--pr-off); }
.pr-brand-section--yellow { background: var(--pr-white); }
.pr-brand-section__inner {
  max-width: var(--pr-max);
  margin: 0 auto;
  padding: 0 var(--pr-px);
}
.pr-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.pr-brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.pr-brand-logo--green { background: var(--pr-green); }
.pr-brand-logo--yellow { background: var(--pr-yellow); }
.pr-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pr-brand-title {
  font-family: var(--pr-font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--pr-ink);
  margin: 0 0 4px;
}
.pr-brand-tagline {
  font-family: var(--pr-font-body);
  font-size: 0.9rem;
  color: var(--pr-ink-light);
  margin: 0;
}

.pr-promos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pr-promo-card {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--pr-ease), box-shadow 0.28s;
}
.pr-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.pr-promo-card--green { border-top: 3px solid var(--pr-green); }
.pr-promo-card--yellow { border-top: 3px solid var(--pr-yellow); }

.pr-promo-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaeaea;
}
.pr-promo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--pr-ease);
}
.pr-promo-card:hover .pr-promo-card__img { transform: scale(1.04); }

.pr-promo-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pr-green);
  color: #fff;
  font-family: var(--pr-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.pr-promo-card__badge--yellow {
  background: var(--pr-yellow);
  color: #111;
}

.pr-promo-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.pr-promo-card__title {
  font-family: var(--pr-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pr-ink);
  margin: 0;
}
.pr-promo-card__desc {
  font-family: var(--pr-font-body);
  font-size: 0.875rem;
  color: var(--pr-ink-light);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.pr-promo-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.pr-promo-card__expiry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--pr-ink-light);
}
.pr-promo-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pr-green);
  color: #fff;
  font-family: var(--pr-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.pr-promo-card__cta:hover {
  background: var(--pr-green-hover);
  transform: translateY(-1px);
}
.pr-promo-card__cta--yellow {
  background: var(--pr-yellow);
  color: #111;
}
.pr-promo-card__cta--yellow:hover {
  background: var(--pr-yellow-hover);
  color: #fff;
}

/* ── CTA band ─────────────────────────────────────────────── */
.pr-cta {
  background: var(--pr-green);
  padding: 72px var(--pr-px);
  text-align: center;
}
.pr-cta__inner { max-width: 560px; margin: 0 auto; }
.pr-cta__title {
  font-family: var(--pr-font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 10px 0 14px;
}
.pr-cta__sub {
  font-family: var(--pr-font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 28px;
}
.pr-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pr-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pr-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.pr-cta__btn:hover { transform: translateY(-2px); }
.pr-cta__btn--primary {
  background: var(--pr-yellow);
  color: #111;
}
.pr-cta__btn--primary:hover { background: var(--pr-yellow-hover); color: #fff; }
.pr-cta__btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.pr-cta__btn--secondary:hover { background: rgba(255, 255, 255, 0.2); }

/* ── Signed-in rewards ────────────────────────────────────── */
.pr-auth-view {
  background: var(--pr-off);
  min-height: 60vh;
}
.pr-rewards {
  padding: calc(88px + 40px) var(--pr-px) 72px;
}
.pr-rewards__inner {
  max-width: 480px;
  margin: 0 auto;
}
.pr-rewards__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.pr-rewards__star {
  width: 22px;
  height: 22px;
  color: #c9a227;
  flex-shrink: 0;
}
.pr-rewards__title {
  font-family: var(--pr-font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pr-ink);
  margin: 0;
}

.pr-digital-card {
  background: linear-gradient(135deg, #2e1a0c 0%, #0f4c3a 100%);
  border-radius: 16px;
  padding: 22px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.pr-digital-card[hidden] { display: none !important; }
.pr-digital-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}
.pr-digital-card__label {
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  font-weight: 600;
}
.pr-digital-card__label--gold { color: rgba(255, 215, 0, 0.85); }
.pr-digital-card__brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
  text-transform: uppercase;
}
.pr-digital-card__chip {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}
.pr-digital-card__chip svg { width: 18px; height: 18px; }
.pr-digital-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.pr-digital-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 4px 0 0;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-digital-card__num-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.pr-digital-card__num {
  font-size: 0.7rem;
  font-family: ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.12em;
  margin: 0;
}
.pr-digital-card__eye {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  line-height: 0;
  border-radius: 999px;
}
.pr-digital-card__eye[hidden] { display: none !important; }
.pr-digital-card__eye svg { width: 14px; height: 14px; }
.pr-digital-card__points { text-align: right; }
.pr-digital-card__pts {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pr-gold);
  margin: 2px 0 0;
  line-height: 1;
}

.pr-rewards-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f0f0f0;
  border: 1px solid var(--pr-border);
}
.pr-rewards-notice[hidden] { display: none !important; }
.pr-rewards-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pr-rewards-notice p {
  margin: 0;
  font-family: var(--pr-font-body);
  font-size: 0.8rem;
  color: var(--pr-ink-mid);
  line-height: 1.45;
}

.pr-rewards-need {
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-r);
  padding: 22px;
}
.pr-rewards-need[hidden] { display: none !important; }
.pr-rewards-need__title {
  font-family: var(--pr-font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pr-ink);
  margin: 0 0 8px;
}
.pr-rewards-need__desc {
  font-size: 0.875rem;
  color: var(--pr-ink-light);
  line-height: 1.55;
  margin: 0 0 16px;
}
.pr-rewards-need__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pr-green);
  color: #fff;
  font-family: var(--pr-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  transition: background 0.2s;
}
.pr-rewards-need__cta:hover { background: var(--pr-green-hover); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .pr-steps { grid-template-columns: 1fr; gap: 24px; }
  .pr-promos-grid { grid-template-columns: 1fr; }
  .pr-hero { min-height: min(70vh, 560px); }
  .pr-hero__inner { padding-top: calc(72px + 36px); padding-bottom: 40px; }
  .pr-hero__img { object-position: center center; }
  .pr-how { padding: 56px 0 64px; }
  .pr-brand-section { padding: 48px 0 56px; }
  .pr-cta { padding: 56px var(--pr-px); }
  .pr-rewards { padding-top: calc(72px + 28px); }
}

@media (max-width: 520px) {
  .pr-hero__ctas { flex-direction: column; align-items: stretch; }
  .pr-hero__cta { width: 100%; }
  .pr-cta__btns { flex-direction: column; align-items: stretch; }
  .pr-cta__btn { justify-content: center; }
  .pr-promo-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .pr-digital-card__name { max-width: 140px; }
  .pr-digital-card__pts { font-size: 1.4rem; }
}

.pr-credits-box {
  margin: 16px auto 0;
  max-width: 400px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pr-border);
  text-align: left;
}
.pr-credits-box__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pr-ink-light);
  font-weight: 600;
}
.pr-credits-box__bal {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--pr-green);
}
.pr-credits-box__hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--pr-ink-light);
  line-height: 1.4;
}
