/* ===================================================
   TaskMasters — Job Page v2
   Page-specific styles only.
   Universal components → components.css
   Tokens → tokens.css
   =================================================== */

/* ── Breadcrumb ── */
.jp2-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 0.8rem;
}

.jp2-breadcrumb__link {
  color: var(--tm-ink-500);
  text-decoration: none;
  transition: color 150ms ease;
}

.jp2-breadcrumb__link:hover { color: var(--tm-navy); }

.jp2-breadcrumb__sep {
  font-size: 0.65rem;
  color: var(--tm-line-300);
}

.jp2-breadcrumb__current {
  color: var(--tm-ink-700);
  font-weight: 500;
}

.jp2-breadcrumb--light .jp2-breadcrumb__link  { color: rgba(255, 255, 255, 0.5); }
.jp2-breadcrumb--light .jp2-breadcrumb__link:hover { color: rgba(255, 255, 255, 0.88); }
.jp2-breadcrumb--light .jp2-breadcrumb__sep   { color: rgba(255, 255, 255, 0.25); font-size: 0.62rem; }
.jp2-breadcrumb--light .jp2-breadcrumb__current { color: rgba(255, 255, 255, 0.7); }

/* ── Hero ── */
.jp2-hero {
  background: var(--tm-navy);
  padding: 40px clamp(20px, 4vw, 60px) 68px;
}

.jp2-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.jp2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm-emerald);
  margin-top: 36px;
  margin-bottom: 18px;
}

.jp2-hero__eyebrow i { font-size: 0.82rem; }

.jp2-hero__headline {
  font-family: var(--tm-font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
  max-width: 720px;
}

.jp2-hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
}

.jp2-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.jp2-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--tm-radius-sm);
  font-family: var(--tm-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.jp2-hero__cta--primary {
  background: var(--tm-emerald);
  color: #ffffff;
  border-color: var(--tm-emerald);
  box-shadow: 0 2px 8px rgba(15, 157, 110, 0.28), 0 1px 3px rgba(0, 0, 0, 0.10);
}

.jp2-hero__cta--primary:hover {
  background: var(--tm-emerald-deep);
  border-color: var(--tm-emerald-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(15, 157, 110, 0.42), 0 2px 6px rgba(0, 0, 0, 0.10);
}

.jp2-hero__cta--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.32);
}

.jp2-hero__cta--ghost:hover {
  border-color: rgba(255, 255, 255, 0.68);
  color: #ffffff;
  transform: translateY(-1px);
}

.jp2-hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.jp2-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--tm-radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.jp2-hero__chip i { font-size: 0.78rem; color: var(--tm-emerald); }

/* ── Page body ── */
.jp2-body {
  background: var(--tm-cream);
  min-height: 60vh;
  padding: 52px clamp(20px, 4vw, 60px) 110px;
}

.jp2-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 36px;
  align-items: start;
}

/* ── Filter sidebar ── */
.jp2-sidebar {
  position: sticky;
  top: 120px;
}

.jp2-filter {
  background: #ffffff;
  border: 1px solid var(--tm-line-200);
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
}

.jp2-filter__head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--tm-line-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.jp2-filter__head-label {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm-ink-500);
}

.jp2-filter__head i { font-size: 0.85rem; color: var(--tm-emerald); }

.jp2-filter__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jp2-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.jp2-filter-group__label {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--tm-ink-700);
}

.jp2-filter-group__select {
  width: 100%;
  height: 40px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--tm-line-300);
  border-radius: var(--tm-radius-sm);
  font-family: var(--tm-font-body);
  font-size: 0.875rem;
  color: var(--tm-ink-700);
  background-color: var(--tm-cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.jp2-filter-group__select:focus {
  border-color: var(--tm-emerald);
  box-shadow: 0 0 0 3px rgba(15, 157, 110, 0.12);
}

.jp2-filter__apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 11px 20px;
  background: var(--tm-emerald);
  color: var(--tm-cream);
  border: none;
  border-radius: var(--tm-radius-sm);
  font-family: var(--tm-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 100ms ease;
}

.jp2-filter__apply:hover {
  background: var(--tm-emerald-deep);
  box-shadow: 0 4px 16px rgba(15, 157, 110, 0.32);
  transform: translateY(-1px);
}

.jp2-filter__apply:active  { transform: scale(0.99); }
.jp2-filter__apply:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.jp2-filter__apply i { font-size: 0.85rem; }

.jp2-filter__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 20px;
  background: transparent;
  color: var(--tm-ink-500);
  border: 1px solid var(--tm-line-200);
  border-radius: var(--tm-radius-sm);
  font-family: var(--tm-font-body);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.jp2-filter__clear:hover {
  color: #DC2626;
  border-color: #FCA5A5;
  background: #FEF2F2;
}

.jp2-filter__clear i { font-size: 0.9rem; }

/* ── Main content ── */
.jp2-main { min-width: 0; }

/* ── Search ── */
.jp2-search { margin-bottom: 28px; }

.jp2-search__wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--tm-line-300);
  border-radius: var(--tm-radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.jp2-search__wrap:focus-within {
  border-color: var(--tm-emerald);
  box-shadow: 0 0 0 3px rgba(15, 157, 110, 0.10);
}

.jp2-search__icon {
  padding: 0 12px 0 16px;
  color: var(--tm-emerald);
  font-size: 0.95rem;
  pointer-events: none;
  flex-shrink: 0;
}

.jp2-search__input {
  flex: 1;
  height: 48px;
  border: none;
  outline: none;
  font-family: var(--tm-font-body);
  font-size: 0.925rem;
  color: var(--tm-ink-900);
  background: transparent;
}

.jp2-search__input::placeholder { color: var(--tm-ink-500); }

.jp2-search__btn {
  height: 48px;
  padding: 0 22px;
  background: var(--tm-navy);
  color: var(--tm-cream);
  border: none;
  font-family: var(--tm-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 150ms ease;
}

.jp2-search__btn:hover { background: var(--tm-navy-2); }

/* ── Job listings ── */
.jp2-listings {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Skeleton loading ── */
@keyframes jp2-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.jp2-skeleton {
  background: #ffffff;
  border: 1px solid var(--tm-line-200);
  border-radius: var(--tm-radius-lg);
  padding: 24px 28px;
}

.jp2-skeleton__pill,
.jp2-skeleton__title,
.jp2-skeleton__meta,
.jp2-skeleton__line,
.jp2-skeleton__readmore,
.jp2-skeleton__btn {
  background: linear-gradient(90deg,
    var(--tm-line-200) 25%,
    rgba(250,250,245,0.9) 50%,
    var(--tm-line-200) 75%
  );
  background-size: 200% 100%;
  animation: jp2-shimmer 1.5s ease infinite;
  border-radius: var(--tm-radius-pill);
}

.jp2-skeleton__pill  { width: 110px; height: 20px; margin-bottom: 12px; }
.jp2-skeleton__title { width: 55%;   height: 22px; margin-bottom: 12px; border-radius: var(--tm-radius-sm); }
.jp2-skeleton__meta  { width: 40%;   height: 14px; margin-bottom: 20px; }
.jp2-skeleton__line  { width: 100%;  height: 13px; margin-bottom: 8px; border-radius: 4px; }
.jp2-skeleton__line--short { width: 70%; }

.jp2-skeleton__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--tm-line-200);
}

.jp2-skeleton__readmore { width: 80px;  height: 14px; }
.jp2-skeleton__btn      { width: 110px; height: 36px; border-radius: var(--tm-radius-sm); }

/* ── Job card ── */
.job-card,
.jp2-card {
  background: #ffffff;
  border: 1px solid var(--tm-line-200);
  border-radius: var(--tm-radius-lg);
  padding: 24px 28px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.job-card:hover,
.jp2-card:hover {
  border-color: var(--tm-line-300);
  box-shadow: var(--tm-shadow-hover);
}

.job-card__category,
.jp2-card__category {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--tm-ink-500);
  background: var(--tm-mist-100);
  border-radius: var(--tm-radius-pill);
  padding: 3px 10px;
  margin-bottom: 10px;
}

.job-card__title,
.jp2-card__title {
  font-family: var(--tm-font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--tm-navy);
  margin: 0 0 10px;
}

.job-card__meta,
.jp2-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.825rem;
  color: var(--tm-ink-500);
  margin-bottom: 18px;
}

.job-card__meta-item,
.jp2-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.job-card__meta-item i,
.jp2-card__meta-item i { font-size: 0.8rem; }

.job-card__foot,
.jp2-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--tm-line-200);
}

.job-card__posted,
.jp2-card__posted {
  font-size: 0.78rem;
  color: var(--tm-ink-500);
}

.job-card__apply,
.jp2-card__apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--tm-emerald);
  border: 1px solid var(--tm-emerald);
  border-radius: var(--tm-radius-sm);
  font-family: var(--tm-font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--tm-cream);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(15, 157, 110, 0.18);
  transition: background-color 160ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.34, 1.3, 0.64, 1);
}

.job-card__apply:hover,
.jp2-card__apply:hover {
  background: var(--tm-emerald-deep);
  border-color: var(--tm-emerald-deep);
  box-shadow: 0 6px 20px rgba(15, 157, 110, 0.40);
  transform: translateY(-2px) scale(1.04);
}

.jp2-card__desc { margin-bottom: 0; }

.jp2-card__desc-short {
  font-size: 0.895rem;
  color: var(--tm-ink-500);
  line-height: 1.65;
  margin: 0 0 18px;
}

.jp2-card__desc-full {
  font-size: 0.895rem;
  color: var(--tm-ink-700);
  line-height: 1.7;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 380ms ease, opacity 260ms ease, margin 260ms ease;
}

.jp2-card__desc-full.is-open {
  max-height: 2000px;
  opacity: 1;
  margin-bottom: 18px;
}

.jp2-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: var(--tm-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--tm-ink-500);
  cursor: pointer;
  padding: 0;
  transition: color 150ms ease;
}

.jp2-card__readmore:hover { color: var(--tm-navy); }
.jp2-card__readmore i { font-size: 0.78rem; transition: transform 200ms ease; }
.jp2-card__readmore[aria-expanded="true"] i { transform: rotate(180deg); }

/* ── Pagination ── */
.jp2-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.jp2-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--tm-line-200);
  border-radius: var(--tm-radius-sm);
  background: #ffffff;
  font-family: var(--tm-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tm-ink-700);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.jp2-pagination__btn:hover {
  border-color: var(--tm-emerald);
  color: var(--tm-emerald);
}

.jp2-pagination__btn.is-active {
  background: var(--tm-emerald);
  border-color: var(--tm-emerald);
  color: var(--tm-cream);
  font-weight: 600;
}

.jp2-pagination__btn[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── "Can't find a role" band ── */
.jp2-open-apply {
  background: var(--tm-navy);
  padding: 80px clamp(20px, 4vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.jp2-open-apply__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.jp2-open-apply__icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  font-size: 1.3rem;
  color: var(--tm-emerald);
}

.jp2-open-apply__headline {
  font-family: var(--tm-font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.jp2-open-apply__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 440px;
  margin: 0 auto 36px;
}

.jp2-open-apply__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  background: var(--tm-emerald);
  color: #ffffff;
  border: none;
  border-radius: var(--tm-radius-sm);
  font-family: var(--tm-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(15, 157, 110, 0.28), 0 1px 3px rgba(0, 0, 0, 0.10);
  transition: background-color 180ms ease, transform 220ms cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 220ms ease;
}

.jp2-open-apply__btn:hover {
  background: var(--tm-emerald-deep);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 157, 110, 0.44), 0 3px 8px rgba(0, 0, 0, 0.10);
}

/* ── Footer ── */
.jp2-footer {
  background: var(--tm-navy);
  padding: 56px clamp(20px, 4vw, 60px) 30px;
}

.jp2-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250, 250, 245, 0.08);
  margin-bottom: 26px;
}

.jp2-footer__brand img { max-width: 160px; height: auto; }

.jp2-footer__brand p {
  font-size: 0.875rem;
  color: rgba(250, 250, 245, 0.55);
  line-height: 1.65;
  max-width: 260px;
  margin-top: 14px;
}

.jp2-footer__col-label {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm-emerald);
  margin-bottom: 16px;
}

.jp2-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.jp2-footer__links a {
  font-size: 0.875rem;
  color: rgba(250, 250, 245, 0.62);
  text-decoration: none;
  transition: color 150ms ease;
}

.jp2-footer__links a:hover { color: var(--tm-cream); }

.jp2-footer__copy {
  max-width: 1320px;
  margin: 0 auto;
  font-size: 0.775rem;
  color: rgba(250, 250, 245, 0.30);
  text-align: center;
}

/* ── Mobile filter toggle (hidden on desktop) ── */
.jp2-filter-mobile-toggle { display: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .jp2-container      { grid-template-columns: 1fr; }
  .jp2-sidebar        { position: static; }
  .jp2-footer__inner  { grid-template-columns: 1fr 1fr; }
  .jp2-footer__brand  { grid-column: 1 / -1; }
}

@media (max-width: 640px) {

  /* ── Hero ── */
  .jp2-hero {
    padding: 22px 20px 36px;
  }
  .jp2-hero__eyebrow {
    margin-top: 20px;
    margin-bottom: 12px;
  }
  .jp2-hero__headline {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
    margin-bottom: 14px;
  }
  .jp2-hero__sub {
    font-size: 0.95rem;
    margin-bottom: 26px;
  }
  .jp2-hero__ctas {
    flex-direction: column;
    gap: 10px;
  }
  .jp2-hero__cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .jp2-hero__chips {
    gap: 6px;
    margin-top: 20px;
  }
  .jp2-hero__chip {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  /* ── Page body ── */
  .jp2-body { padding: 24px 16px 72px; }

  /* ── Grid: main first, sidebar second ── */
  .jp2-main    { order: 1; }
  .jp2-sidebar { order: 2; }

  /* ── Mobile filter toggle button ── */
  .jp2-filter-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid var(--tm-line-300);
    border-radius: var(--tm-radius-sm);
    font-family: var(--tm-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tm-ink-700);
    cursor: pointer;
    transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
  }
  .jp2-filter-mobile-toggle i { font-size: 0.9rem; }
  .jp2-filter-mobile-toggle:hover,
  .jp2-filter-mobile-toggle[aria-expanded="true"] {
    border-color: var(--tm-emerald);
    color: var(--tm-emerald-deep);
    background: rgba(15, 157, 110, 0.04);
  }

  /* ── Sidebar: hidden by default on mobile, shown on toggle ── */
  .jp2-sidebar {
    display: none;
    margin-bottom: 16px;
  }
  .jp2-sidebar.is-mobile-open { display: block; }

  /* ── Search ── */
  .jp2-search { margin-bottom: 20px; }
  .jp2-search__btn {
    padding: 0 14px;
    font-size: 0.84rem;
  }

  /* ── Job cards ── */
  .jp2-card,
  .job-card { padding: 18px 18px; }

  /* Stack card footer: posted date above full-width apply button */
  .job-card__foot,
  .jp2-card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 14px;
  }
  .job-card__posted,
  .jp2-card__posted {
    font-size: 0.75rem;
    order: 2;
  }
  .job-card__apply,
  .jp2-card__apply {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    order: 1;
  }

  /* ── Pagination: 44px touch targets ── */
  .jp2-pagination { margin-top: 28px; }
  .jp2-pagination__btn {
    min-width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  /* ── "Can't find a role" band ── */
  .jp2-open-apply { padding: 52px 20px; }
  .jp2-open-apply__headline { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .jp2-open-apply__sub { font-size: 0.9rem; }
  .jp2-open-apply__btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }

  /* ── Footer ── */
  .jp2-footer { padding: 44px 20px 28px; }
  .jp2-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jp2-footer__brand { grid-column: auto; }

  /* ── Modal: bottom-sheet on mobile ── */
  .jp2-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .jp2-modal {
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    transform: translateY(100%);
  }
  .jp2-modal-overlay.is-open .jp2-modal {
    transform: translateY(0);
  }
}

/* ── Page-load entrance animation ── */
@keyframes jp2-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.jp2-breadcrumb     { animation: jp2-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0ms   both; }
.jp2-hero__eyebrow  { animation: jp2-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 60ms  both; }
.jp2-hero__headline { animation: jp2-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 140ms both; }
.jp2-hero__sub      { animation: jp2-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 220ms both; }
.jp2-hero__ctas     { animation: jp2-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 300ms both; }
.jp2-hero__chips    { animation: jp2-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 380ms both; }

@media (prefers-reduced-motion: reduce) {
  .jp2-breadcrumb, .jp2-hero__eyebrow, .jp2-hero__headline,
  .jp2-hero__sub, .jp2-hero__ctas, .jp2-hero__chips { animation: none; }
}
