/* for-cardholders.html page styles (2026-10-19 tune-up) */
/* Shared page layer (matches the 10/18 homepage, css/home.v2.css). Loads after site.v2.css.
   Rule: no state in which content is invisible (entrance = .s2-rv, stagger by duration only).
   Everything honors prefers-reduced-motion. */

.pg-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.pg-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--med-blue); margin: 0 0 10px; }
.pg-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; color: var(--deep-trust-blue); margin: 0 0 14px; font-weight: 700; }
.pg-sub { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.pg-center { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.pg-hand { font-family: var(--hand); font-weight: 600; line-height: 1.05; }

/* ---------- Buttons ---------- */
.pg-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 17px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; border: 0;
  box-shadow: 0 10px 24px -10px rgba(47,214,176,.7), 0 2px 0 rgba(255,255,255,.35) inset;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s, background .2s;
}
.pg-cta:hover, .pg-cta:focus-visible { transform: translateY(-2px); background: var(--mint-hover); color: var(--mint-ink); box-shadow: 0 16px 30px -12px rgba(47,214,176,.8); }
.pg-cta svg { width: 18px; height: 18px; flex: 0 0 18px; }
.pg-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; color: #fff; border: 1.5px solid rgba(255,255,255,.55); text-decoration: none;
  transition: background .2s, color .2s, transform .2s cubic-bezier(.2,.7,.3,1);
}
.pg-ghost:hover, .pg-ghost:focus-visible { background: #fff; color: var(--deep-trust-blue); transform: translateY(-2px); }
.pg-ghost.dark { color: var(--deep-trust-blue); border-color: #BFD6F5; }
.pg-ghost.dark:hover, .pg-ghost.dark:focus-visible { background: var(--deep-trust-blue); color: #fff; border-color: var(--deep-trust-blue); }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- HERO: navy band, photo on the right fading into the copy ---------- */
.pg-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; isolation: isolate; padding: 0; }
.pg-hero-media { position: absolute; inset: 0 0 0 38%; z-index: -2; display: block; }
.pg-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 38%, rgba(7,22,69,.84) 46%, rgba(7,22,69,.25) 60%, rgba(7,22,69,0) 74%),
              linear-gradient(0deg, rgba(7,22,69,.5) 0%, rgba(7,22,69,0) 36%);
}
.pg-hero-inner { min-height: 560px; display: flex; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.pg-hero-copy { max-width: 600px; }
.pg-crumb { font-size: 13px; color: rgba(255,255,255,.62); margin: 0 0 8px; }
.pg-crumb a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.pg-crumb a:hover { color: #fff; text-decoration: underline; }
.pg-hero .pg-eyebrow { color: var(--mint); }
.pg-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; margin: 0 0 18px; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.pg-hero .lede { font-size: 18.5px; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 0 22px; max-width: none; }
.pg-hero .h2-check-list { margin-bottom: 28px; }
.pg-hero .h2-check-list li { color: #fff; font-size: 16px; }
.pg-hero-note { position: absolute; right: 5%; top: 44px; transform: rotate(-6deg); font-size: 30px; color: #fff; text-shadow: 0 2px 14px rgba(7,22,69,.6); text-align: right; margin: 0; }

/* ---------- STORY: photo with a floating tag, copy beside it ---------- */
.pg-story { padding: 96px 0; background: #fff; }
.pg-story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.pg-story-media { position: relative; }
.pg-story-media picture { display: block; }
.pg-story-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block;
  box-shadow: 0 30px 60px -30px rgba(7,22,69,.45), 0 8px 18px -10px rgba(7,22,69,.25); }
.pg-tag { position: relative; z-index: 1; background: #fff; border-radius: 16px; padding: 16px 20px; max-width: 290px;
  box-shadow: 0 18px 40px -18px rgba(7,22,69,.4); border: 1px solid var(--border); }
@media (min-width: 761px) { .pg-tag { position: absolute; left: -18px; bottom: -22px; } .pg-tag.right { left: auto; right: -18px; } }
.pg-tag strong { display: block; color: var(--deep-trust-blue); font-size: 15px; margin-bottom: 3px; font-weight: 700; }
.pg-tag span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; display: block; }
.pg-story-copy > p { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 0 0 16px; }
.pg-story-copy .big { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--deep-trust-blue); margin: 4px 0 20px; }
.pg-story-copy .h2-check-list li { font-size: 16px; color: var(--ink); }

/* ---------- STEPS ---------- */
.pg-how { padding: 92px 0; background: var(--bg-alt); }
.pg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pg-step { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); position: relative;
  box-shadow: 0 10px 26px -18px rgba(7,22,69,.3); transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s; }
.pg-step:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -24px rgba(7,22,69,.42); }
.pg-step-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pg-step-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.pg-step:hover .pg-step-media img { transform: scale(1.04); }
.pg-step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--deep-trust-blue); color: #fff;
  font-weight: 700; font-size: 18px; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(7,22,69,.6); border: 3px solid #fff; }
.pg-step-media .pg-step-num { position: absolute; left: 16px; top: 16px; }
.pg-step-body { padding: 24px 26px 28px; }
.pg-step-body h3 { font-size: 20px; color: var(--deep-trust-blue); margin: 0 0 8px; }
.pg-step-body p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.pg-step-body .pg-step-num { margin-bottom: 16px; }

/* ---------- Icon cards ---------- */
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pg-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 26px;
  box-shadow: 0 10px 26px -20px rgba(7,22,69,.3); transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s; }
.pg-card:hover { transform: translateY(-5px); border-color: #BFD6F5; box-shadow: var(--shadow-lift); }
.pg-card .tile { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg, #EEF5FE 0%, var(--mint-soft) 100%);
  display: grid; place-items: center; color: var(--deep-trust-blue); margin-bottom: 16px; box-shadow: inset 0 0 0 1px rgba(42,125,226,.12); }
.pg-card .tile svg { width: 28px; height: 28px; }
.pg-card h3 { font-size: 19px; color: var(--deep-trust-blue); margin: 0 0 8px; }
.pg-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ---------- Closing band: photo behind navy wash ---------- */
.pg-band { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: var(--navy-900); padding: 0; }
.pg-band picture { display: block; }
.pg-band picture, .pg-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.pg-band picture img { object-fit: cover; }
.pg-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,22,69,.95) 0%, rgba(7,22,69,.84) 40%, rgba(7,22,69,.3) 72%, rgba(7,22,69,.12) 100%); }
.pg-band-inner { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 72px 0; max-width: 620px; }
.pg-band h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; margin: 0 0 16px; color: #fff; }
.pg-band p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0 0 26px; }
.pg-band-note { position: absolute; right: 7%; bottom: 46px; font-size: 30px; transform: rotate(-6deg); text-align: right; color: #FFE9C7; text-shadow: 0 2px 12px rgba(0,0,0,.45); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pg-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .pg-steps, .pg-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pg-hero-note { display: none; }
}
@media (max-width: 760px) {
  .pg-wrap { padding: 0 16px; }
  .pg-hero::before { display: none; }
  .pg-hero-media { position: relative; inset: auto; height: 300px; z-index: 0; }
  .pg-hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(0deg, var(--navy-900), rgba(7,22,69,0)); }
  .pg-hero-inner { min-height: 0; padding-top: 0; padding-bottom: 44px; }
  .pg-hero .lede { font-size: 17px; }
  .pg-ctas { flex-direction: column; align-items: stretch; }
  .pg-cta, .pg-ghost { width: 100%; }
  .pg-story, .pg-how { padding: 64px 0; }
  .pg-tag { margin: -40px 14px 0; }
  .pg-band::before { background: linear-gradient(0deg, rgba(7,22,69,.97) 0%, rgba(7,22,69,.82) 46%, rgba(7,22,69,.15) 78%, rgba(7,22,69,0) 100%); }
  .pg-band-inner { min-height: 540px; justify-content: flex-end; padding: 56px 0 48px; }
  .pg-band-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-cta, .pg-ghost, .pg-step, .pg-step-media img, .pg-card { transition: none; }
  .pg-cta:hover, .pg-ghost:hover, .pg-step:hover, .pg-card:hover { transform: none; }
  .pg-step:hover .pg-step-media img { transform: none; }
}

/* ===== for-cardholders only ===== */
.ch-hero .pg-hero-media img { object-position: 62% 50%; }
.ch-story-alt { background: var(--bg-alt); }
.pg-story-copy .pg-cta { margin-top: 6px; }

/* Member card showcase: the transparent card PNG floats over a navy panel */
.ch-card { padding: 96px 0; background: #fff; }
.ch-card-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; border-radius: 28px; padding: 56px;
  background: radial-gradient(110% 120% at 90% 0%, #1B3FA0 0%, rgba(27,63,160,0) 55%), linear-gradient(160deg, #0A1E5C 0%, var(--navy-900) 75%);
  color: #fff; box-shadow: 0 40px 80px -44px rgba(7,22,69,.7); position: relative; overflow: hidden; isolation: isolate; }
.ch-card-box::after { content: ""; position: absolute; width: 420px; height: 420px; right: -80px; bottom: -160px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(47,214,176,.28), rgba(47,214,176,0)); }
.ch-card-box .pg-eyebrow { color: var(--mint); }
.ch-card-box h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 0 0 14px; }
.ch-card-box p { color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.65; margin: 0; }
.ch-card-fig { margin: 0; text-align: center; }
.ch-card-fig img { width: 100%; max-width: 520px; height: auto; margin: 0 auto; display: block;
  filter: drop-shadow(0 30px 34px rgba(0,0,0,.45)); transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.ch-card-box:hover .ch-card-fig img { transform: translateY(-6px) rotate(-1.5deg); }
.ch-card-fig figcaption { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 10px; }

.ch-types { padding: 92px 0; background: var(--bg-alt); }
.ch-types .pg-cards { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ch-types .pg-card { text-align: center; padding: 26px 16px; }
.ch-types .pg-card .tile { margin: 0 auto 14px; }
.ch-types .pg-card h3 { font-size: 16.5px; margin: 0; }
.ch-types-cta { text-align: center; margin-top: 40px; }
.ch-band picture img { object-position: 50% 14%; }
@media (max-width: 760px) { .ch-band picture img { object-position: 78% 30%; } }

@media (max-width: 1020px) {
  .ch-card-box { grid-template-columns: 1fr; padding: 40px 32px; }
  .ch-types .pg-cards { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .ch-types .pg-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ch-hero .pg-hero-media img { object-position: 60% 50%; }
  .ch-card, .ch-types { padding: 64px 0; }
  .ch-card-box { padding: 32px 20px; border-radius: 22px; gap: 28px; }
  .ch-types .pg-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ch-types .pg-card { padding: 20px 10px; }
  .ch-types-cta .pg-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-card-fig img { transition: none; }
  .ch-card-box:hover .ch-card-fig img { transform: none; }
}
@media (min-width: 1021px) {
  .ch-rev .pg-story-grid { grid-template-columns: 1.05fr 1fr; }
  .ch-rev .pg-story-media { order: 2; }
}
