/* ═══════════════════════════════════════════════════════
   Non-Cash Gifts – Hub Page
   Compact card grid linking to individual spoke pages.
   ═══════════════════════════════════════════════════════ */

/* ── Page-level overrides ── */
body.page-non-cash-gifts #page.container {
  max-width: none;
  padding: 0;
}

body.page-non-cash-gifts .site-content {
  padding-bottom: 0;
}

body.page-non-cash-gifts .site-main {
  background: #fffdf9;
}

body.page-non-cash-gifts .site-content ul li {
  list-style: disc;
}

/* ── Base typography ── */
.non-cash-page {
  color: var(--deep-blue);
  font-family: 'Public Sans', var(--cabin);
}

.non-cash-page p,
.non-cash-page li {
  font-family: 'Public Sans', var(--cabin);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);
  line-height: 1.75;
}

.non-cash-page h1,
.non-cash-page h2,
.non-cash-page h3,
.non-cash-page h4 {
  margin: 0;
}

.non-cash-page a {
  color: inherit;
}

/* ── Shell (content width) ── */
.non-cash-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.non-cash-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

/* ── Section headings ── */
.non-cash-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.non-cash-section-heading h2 {
  font-family: var(--garamond);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deep-blue);
  margin-bottom: 16px;
}

.non-cash-section-heading p {
  margin: 0;
  color: rgba(36, 55, 70, 0.9);
}

.non-cash-section-heading-light h2,
.non-cash-section-heading-light p {
  color: #F1E8E1;
}

/* ── Rich text resets ── */
.non-cash-rich-text p:first-child,
.non-cash-rich-text ul:first-child,
.non-cash-rich-text ol:first-child {
  margin-top: 0;
}

.non-cash-rich-text p:last-child,
.non-cash-rich-text ul:last-child,
.non-cash-rich-text ol:last-child {
  margin-bottom: 0;
}

.non-cash-rich-text ul,
.non-cash-rich-text ol {
  padding-left: 24px;
}

/* ── Eyebrow / label ── */
.non-cash-eyebrow,
.non-cash-panel-label {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ════════════════════════════
   HERO
   ════════════════════════════ */
.non-cash-hero {
  padding: clamp(58px, 8vw, 96px) 0;
  background:
    linear-gradient(180deg, #243746 0%, rgba(30, 45, 58, 0.95) 40%, rgba(36, 55, 70, 0.88) 100%),
    radial-gradient(circle at 70% 80%, rgba(204, 159, 83, 0.12), transparent 50%);
  background-size: cover;
  background-position: center;
  margin-top: -1px;
}

.non-cash-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.non-cash-hero-copy {
  color: #F1E8E1;
  max-width: 720px;
}

.non-cash-page .non-cash-hero-title {
  font-family: var(--garamond);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  color: #fff8f2;
  margin-bottom: clamp(30px, 3.6vw, 48px);
  text-wrap: balance;
}

.non-cash-hero-subheadline {
  font-size: clamp(1.15rem, 1vw + 0.9rem, 1.5rem);
  color: rgba(255, 248, 242, 0.92);
  margin: 0 0 20px;
  max-width: 54ch;
}

.non-cash-hero-intro {
  max-width: 54ch;
}

.non-cash-hero-intro p {
  color: rgba(245, 239, 233, 0.9);
}

/* ── Contact panel ── */
.non-cash-contact-panel {
  background: rgba(248, 251, 252, 0.96);
  color: var(--deep-blue);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(5, 12, 18, 0.18);
  backdrop-filter: blur(12px);
}

.non-cash-contact-panel h2 {
  font-family: var(--garamond);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 14px;
}

.non-cash-contact-panel > p {
  margin: 0 0 24px;
}

.non-cash-contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0 0 28px;
}

.non-cash-contact-list div {
  padding-top: 16px;
  border-top: 1px solid rgba(36, 55, 70, 0.15);
}

.non-cash-contact-list dt {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(36, 55, 70, 0.82);
  margin-bottom: 6px;
}

.non-cash-contact-list dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

/* ── Buttons ── */
.non-cash-button-row,
.non-cash-button-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.non-cash-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--dark-orange);
  color: #fff8f2;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(186, 88, 38, 0.22);
}

.non-cash-button:hover,
.non-cash-button:focus-visible {
  background: var(--gold);
  color: var(--deep-blue);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(204, 159, 83, 0.24);
}

.non-cash-button:focus-visible {
  outline: 2px solid var(--deep-blue);
  outline-offset: 3px;
}

.non-cash-button-secondary {
  background: transparent;
  color: var(--deep-blue);
  border: 1px solid rgba(36, 55, 70, 0.2);
  box-shadow: none;
}

.non-cash-button-secondary:hover,
.non-cash-button-secondary:focus-visible {
  background: transparent;
  border-color: rgba(36, 55, 70, 0.5);
  color: #243746;
  transform: none;
  box-shadow: none;
}

/* ── Disclaimer ── */
.non-cash-disclaimer {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.non-cash-disclaimer p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

.non-cash-disclaimer-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ════════════════════════════
   HUB CARD GRID (new)
   ════════════════════════════ */
.non-cash-card-section {
  background: #fffdf9;
}

.non-cash-card-section-muted {
  background: #e7eef0;
}

.non-cash-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.non-cash-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid rgba(36, 55, 70, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(36, 55, 70, 0.06);
  text-decoration: none;
  color: var(--deep-blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.non-cash-hub-card:hover,
.non-cash-hub-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(36, 55, 70, 0.12);
}

.non-cash-hub-card:focus-visible {
  outline: 2px solid var(--deep-blue);
  outline-offset: 3px;
}

/* Card section-muted variant */
.non-cash-card-section-muted .non-cash-hub-card {
  background: rgba(255, 255, 255, 0.92);
}

/* Badge */
.non-cash-hub-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(204, 159, 83, 0.14);
  color: #8a6a2e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.non-cash-hub-badge-alt {
  background: rgba(186, 88, 38, 0.1);
  color: #BA5826;
}

/* Icon */
.non-cash-hub-card-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(36, 55, 70, 0.04), rgba(204, 159, 83, 0.12));
  border: 1px solid rgba(36, 55, 70, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.non-cash-hub-card-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.non-cash-hub-card-icon-placeholder {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36, 55, 70, 0.08), rgba(204, 159, 83, 0.14));
}

/* Title */
.non-cash-hub-card-title {
  font-family: var(--garamond);
  font-size: clamp(1.5rem, 1.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
}

/* Hook */
.non-cash-hub-card-hook {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(36, 55, 70, 0.76);
  flex-grow: 1;
}

/* Learn more link */
.non-cash-hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-orange);
  transition: color 0.2s ease;
}

.non-cash-hub-card:hover .non-cash-hub-card-link {
  color: var(--gold);
}

.non-cash-hub-card-link svg {
  transition: transform 0.2s ease;
}

.non-cash-hub-card:hover .non-cash-hub-card-link svg {
  transform: translateX(3px);
}

/* ════════════════════════════
   STEPS (condensed)
   ════════════════════════════ */
.non-cash-steps {
  background: linear-gradient(135deg, var(--deep-blue), #1a2833);
}

.non-cash-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.non-cash-step-card {
  border-radius: 30px;
  box-shadow: 0 20px 44px rgba(36, 55, 70, 0.08);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #F1E8E1;
}

body.page .non-cash-page article.non-cash-step-card {
  padding: 36px 34px;
}

.non-cash-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(204, 159, 83, 0.18);
  border: 1px solid rgba(204, 159, 83, 0.5);
  color: #fff8f2;
  font-size: 1rem;
  font-weight: 700;
}

.non-cash-step-card h3 {
  font-family: var(--garamond);
  font-size: clamp(1.75rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.02;
}

.non-cash-step-card p {
  color: rgba(245, 239, 233, 0.92);
}

/* ════════════════════════════
   WHY DENISON / BRANDS
   ════════════════════════════ */
.non-cash-why-denison {
  background: linear-gradient(180deg, #f8f1e8 0%, #fffdf9 100%);
}

.non-cash-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.non-cash-brand-card {
  border-radius: 30px;
  box-shadow: 0 20px 44px rgba(36, 55, 70, 0.08);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 55, 70, 0.08);
}

body.page .non-cash-page article.non-cash-brand-card {
  padding: 36px 34px;
}

.non-cash-brand-card h3 {
  font-family: var(--garamond);
  font-size: clamp(1.75rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.02;
}

.non-cash-brand-card img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
}

.non-cash-brand-card p {
  margin: 10px 0 0;
}

/* Stewardship callout */
.non-cash-stewardship-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 32px;
  border-radius: 30px;
  background: var(--deep-blue);
  color: #F1E8E1;
}

.non-cash-stewardship-copy h3 {
  font-family: var(--garamond);
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
}

.non-cash-stewardship-copy p {
  color: rgba(245, 239, 233, 0.9);
  margin: 0 0 16px;
}

.non-cash-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
}

.non-cash-badge-row img {
  max-height: 72px;
  width: auto;
}

/* ════════════════════════════
   FINAL CTA
   ════════════════════════════ */
.non-cash-final-cta {
  background: linear-gradient(135deg, #243746 0%, #20313d 55%, #ba5826 160%);
  color: #F1E8E1;
}

.non-cash-final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: 38px;
  align-items: start;
}

.non-cash-final-cta .non-cash-rich-text p,
.non-cash-final-cta .non-cash-final-details p {
  color: rgba(245, 239, 233, 0.92);
}

.non-cash-final-contact {
  padding: 36px 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.non-cash-final-contact .non-cash-button-secondary {
  color: #F1E8E1;
  border-color: rgba(255, 255, 255, 0.24);
}

.non-cash-final-details {
  margin: 22px 0;
}

.non-cash-final-details p {
  margin: 0 0 14px;
}

.non-cash-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.non-cash-link-list a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.non-cash-link-list a:hover,
.non-cash-link-list a:focus-visible {
  text-decoration: underline;
}

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */
@media (max-width: 1200px) {
  .non-cash-hero-grid,
  .non-cash-stewardship-grid,
  .non-cash-final-cta-grid {
    grid-template-columns: 1fr;
  }

  .non-cash-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .non-cash-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .non-cash-shell {
    width: min(100% - 36px, 1320px);
  }

  .non-cash-brand-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .non-cash-hub-grid,
  .non-cash-steps-grid {
    grid-template-columns: 1fr;
  }

  .non-cash-shell {
    width: min(100% - 28px, 1320px);
  }

  .non-cash-section {
    padding: 56px 0;
  }

  .non-cash-contact-panel,
  .non-cash-step-card,
  .non-cash-brand-card,
  .non-cash-final-contact {
    padding: 24px;
    border-radius: 24px;
  }

  body.page .non-cash-page article.non-cash-step-card,
  body.page .non-cash-page article.non-cash-brand-card {
    padding: 24px;
  }

  .non-cash-hub-card {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .non-cash-button-row,
  .non-cash-button-stack {
    flex-direction: column;
  }

  .non-cash-button {
    width: 100%;
  }

  .non-cash-badge-row {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .non-cash-button:hover {
    transform: none;
  }
  .non-cash-hub-card:hover {
    transform: none;
  }
  .non-cash-page * {
    transition: none !important;
  }
}
