/* campaign-operation-backpack.css
 * Phoenix Family — Operation Backpack campaign page styles
 * Depends on: pf-shell.css, pf-base.css, pf-components.css
 * Fonts: Fraunces + DM Sans (loaded in HTML <head>)
 */

/* -----------------------   DESIGN TOKENS — Operation Backpack      ----------------------- */
:root {
  --opb-teal:        #0a8a8a;
  --opb-teal-dark:   #065f5f;
  --opb-teal-light:  #e0f4f4;
  --opb-teal-sky:    #e8f6f6;
  --opb-orange:      #E37A33;   /* = --pf-orange brand token */
  --opb-orange-bg:   #fceede;
  --pf-red:          #bb1654;   /* mirrored from pf-shell */
  --pf-red-dark:     #8f1040;
  --pf-red-light:    #f5dce7;
  --charcoal:        #1e1e1e;
  --mid:             #555555;
  --border:          #e3e3e3;
  --cream:           #faf8f4;
  --radius:          6px;
}

/* -----------------------   BASE RESET    ----------------------- */
.opb-page *, .opb-page *::before, .opb-page *::after {
  box-sizing: border-box;
}
.opb-page {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  overflow-x: hidden;
}

/* -----------------------   HEADER   ----------------------- */
.opb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.opb-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.opb-header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.opb-header__logo { height: 52px; width: auto; display: block; }

.opb-header__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.opb-header__divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}



.opb-header__cta {
  display: inline-flex;
  align-items: center;
  background: var(--pf-red);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.opb-header__cta:hover { background: var(--pf-red-dark); transform: translateY(-1px); }

/* -----------------------   URGENCY STRIP   ----------------------- */
.opb-urgency {
  background: var(--opb-teal);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 24px;
  position: fixed;
  top: 80px;
  left: 0; right: 0;
  z-index: 99;
}
.opb-urgency a { color: #fff; text-decoration: underline; }

/* -----------------------    MAIN CONTENT OFFSET   ----------------------- */
.opb-main { padding-top: calc(80px + 37px); }

/* -----------------------   HERO ----------------------- */
.opb-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  overflow: hidden;
}

.opb-hero__img-panel {
  position: relative;
  overflow: hidden;
  background: var(--opb-teal-sky);
}
.opb-hero__img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
  animation: opbZoom 22s ease-in-out infinite alternate;
}
@keyframes opbZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.09); }
}

/* Scallop edge into content panel */
.opb-hero__img-panel::after {
  content: '';
  position: absolute;
  top: 0; right: -1px; bottom: 0;
  width: 56px;
  background: #fff;
  clip-path: ellipse(100% 50% at 100% 50%);
}

.opb-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 44px;
  position: relative;
  background: #fff;
}
.opb-hero__content::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,138,138,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.opb-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--opb-teal);
  margin-bottom: 20px;
}
.opb-hero__kicker::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--opb-teal);
  display: block;
}

.opb-hero__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.opb-hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--pf-red);
}

.opb-hero__body {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--mid);
  font-weight: 300;
  max-width: 400px;
  margin-bottom: 28px;
}

.opb-deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--opb-orange);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  width: fit-content;
}
.opb-deadline svg { width: 15px; height: 15px; fill: #fff; flex-shrink: 0; }

.opb-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* -----------------------   SHARED BUTTONS  ----------------------- */
.opb-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.opb-btn--red {
  background: var(--pf-red);
  color: #fff;
  box-shadow: 0 4px 18px rgba(187,22,84,0.22);
}
.opb-btn--red:hover { background: var(--pf-red-dark); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(187,22,84,0.3); }

.opb-btn--teal {
  background: var(--opb-teal);
  color: #fff;
  box-shadow: 0 4px 18px rgba(10,138,138,0.22);
}
.opb-btn--teal:hover { background: var(--opb-teal-dark); transform: translateY(-2px); }

.opb-btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}
.opb-btn--ghost:hover { border-color: var(--charcoal); transform: translateY(-2px); }

.opb-btn--white {
  background: #fff;
  color: var(--opb-teal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.opb-btn--white:hover { background: #f0f9f9; transform: translateY(-2px); }

.opb-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.opb-btn--outline-white:hover { border-color: #fff; transform: translateY(-2px); }

/* -----------------------    STATS STRIP   -----------------------  */
.opb-stats {
  background: var(--charcoal);
  padding: 60px 48px;
}
.opb-stats__grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.opb-stat {
  background: var(--charcoal);
  padding: 40px 32px;
  text-align: center;
  transition: background 0.2s;
}
.opb-stat:hover { background: #242424; }
.opb-stat__number {
  font-family: 'Fraunces', serif;
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--opb-teal);
  line-height: 1;
  margin-bottom: 12px;
}
.opb-stat__label {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  max-width: 190px;
  margin: 0 auto;
}
.opb-stats__context {
  text-align: center;
  margin: 28px auto 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.83rem;
  font-style: italic;
  font-weight: 300;
  max-width: 540px;
}

/* -----------   SHARED SECTION HELPERS   ------------- */
.opb-section-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.opb-section-kicker--teal { color: var(--opb-teal); }
.opb-section-kicker--teal::before { content: ''; width: 24px; height: 2px; background: var(--opb-teal); display: block; }
.opb-section-kicker--red { color: var(--pf-red); }
.opb-section-kicker--centered { justify-content: center; }
.opb-section-kicker--centered::before,
.opb-section-kicker--centered::after {
  content: '';
  width: 36px; height: 1px;
  opacity: 0.4;
  display: block;
}
.opb-section-kicker--red.opb-section-kicker--centered::before,
.opb-section-kicker--red.opb-section-kicker--centered::after { background: var(--pf-red); }

.opb-section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.opb-section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ---------------   PHOTO / STORY SECTION  --------------- */
.opb-story {
  padding: 96px 48px;
  background: var(--cream);
}
.opb-story__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.opb-story__media {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.opb-story__media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}
.opb-story__media::before {
  content: '';
  position: absolute;
  bottom: -18px; left: -18px;
  width: 55%; height: 55%;
  background: var(--opb-teal-light);
  border-radius: var(--radius);
  z-index: 0;
}

.opb-story__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.opb-story__quote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--opb-orange);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.55;
}
.opb-story__body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 14px;
}
.opb-story__body p:last-child { margin-bottom: 0; }

/* --------------------   THREE WAYS TO HELP   ----------------------- */
.opb-ways {
  padding: 96px 48px;
  background: #fff;
}
.opb-ways__inner { max-width: 1100px; margin: 0 auto; }

.opb-ways__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.opb-way {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 42px 34px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.opb-way:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.opb-way::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.opb-way:nth-child(1)::before { background: var(--pf-red); }
.opb-way:nth-child(2)::before { background: var(--opb-teal); }
.opb-way:nth-child(3)::before { background: var(--opb-orange); }

.opb-way__num {
  font-family: 'Fraunces', serif;
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.06;
  position: absolute;
  top: 14px; right: 22px;
  color: var(--charcoal);
  user-select: none;
}

.opb-way__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.opb-way:nth-child(1) .opb-way__icon { background: var(--pf-red-light); }
.opb-way:nth-child(2) .opb-way__icon { background: var(--opb-teal-light); }
.opb-way:nth-child(3) .opb-way__icon { background: var(--opb-orange-bg); }
.opb-way__icon svg { width: 20px; height: 20px; }
.opb-way:nth-child(1) .opb-way__icon svg { fill: var(--pf-red); }
.opb-way:nth-child(2) .opb-way__icon svg { fill: var(--opb-teal); }
.opb-way:nth-child(3) .opb-way__icon svg { fill: var(--opb-orange); }

.opb-way__title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.opb-way__body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 22px;
}
.opb-way__links { display: flex; flex-direction: column; gap: 8px; }
.opb-way__link {
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.15s;
}
.opb-way__link::after { content: '→'; }
.opb-way__link:hover { gap: 9px; }
.opb-way:nth-child(1) .opb-way__link { color: var(--pf-red); }
.opb-way:nth-child(2) .opb-way__link { color: var(--opb-teal); }
.opb-way:nth-child(3) .opb-way__link { color: var(--opb-orange); }

/* -----------------------   CTA BANNER  ----------------------- */
.opb-cta-banner {
  background: linear-gradient(135deg, var(--opb-teal) 0%, var(--opb-teal-dark) 100%);
  padding: 96px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.opb-cta-banner::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  top: -180px; right: -180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.opb-cta-banner::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  bottom: -100px; left: -80px;
  border-radius: 50%;
  background: rgba(227,122,51,0.1);
  pointer-events: none;
}
.opb-cta-banner__inner {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.opb-cta-banner__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.opb-cta-banner__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.opb-cta-banner__body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 40px;
}
.opb-cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -----------------------   LOGISTICS  ----------------------- */
.opb-details {
  padding: 96px 48px;
  background: var(--opb-teal-sky);
}
.opb-details__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.opb-details__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.opb-details__sub {
  font-size: 0.92rem;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.7;
}

.opb-detail-list { list-style: none; margin-bottom: 32px; }
.opb-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--mid);
}
.opb-detail-item:last-child { border-bottom: none; }
.opb-detail-item strong { color: var(--charcoal); }
.opb-detail-item a { color: var(--pf-red); text-decoration: underline; }
.opb-detail-dot {
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--opb-teal);
  margin-top: 7px;
}

/* -----------------------   FOOTER ----------------------- */
.opb-footer { background: var(--charcoal); }
.opb-footer__inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.opb-footer__logo {
  height: 28px;
  filter: brightness(10);
  opacity: 0.7;
  display: block;
  margin-bottom: 14px;
}
.opb-footer__tagline {
  font-size: 0.83rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}
.opb-footer__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
}
.opb-footer__title {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.opb-footer__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
}
.opb-footer__contact { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.opb-footer__contact a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.opb-footer__contact a:hover { color: #fff; }
.opb-footer__contact span { color: rgba(255,255,255,0.15); }
.opb-footer__bottom {
  max-width: 1060px;
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}
.opb-footer__bottom a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.opb-footer__bottom a:hover { color: rgba(255,255,255,0.5); }

/* -----------------------   FADE-UP ANIMATION  ----------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* -----------------------   RESPONSIVE ---------------------- */
@media (max-width: 900px) {
  .opb-header__inner { padding: 0 20px; height: 58px; }
  .opb-main { padding-top: calc(58px + 37px); }
  .opb-urgency { top: 58px; font-size: 0.72rem; }

  .opb-hero { grid-template-columns: 1fr; min-height: auto; }
  .opb-hero__img-panel { height: 62vw; max-height: 380px; }
  .opb-hero__img-panel::after { display: none; }
  .opb-hero__content { padding: 44px 24px 60px; }

  .opb-stats__grid { grid-template-columns: 1fr; }
  .opb-stat { padding: 28px 24px; }

  .opb-story,
  .opb-ways,
  .opb-details,
  .opb-cta-banner { padding: 68px 24px; }

  .opb-story__inner,
  .opb-details__inner { grid-template-columns: 1fr; gap: 40px; }
  .opb-story__media img { height: 280px; }
  .opb-story__media::before { display: none; }

  .opb-ways__grid { grid-template-columns: 1fr; gap: 16px; }
  .opb-way { padding: 32px 24px; }

  .opb-footer__inner { grid-template-columns: 1fr; gap: 36px; padding: 44px 24px 32px; }
  .opb-footer__bottom { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
