/* =========================================================
   Restorative Hope, LLC — Design System (plain CSS, no build step)
   ========================================================= */

:root {
  --ink-950: #12181f;
  --ink-900: #1a222c;
  --ink-800: #232c38;
  --ink-700: #333f4d;
  --ink-600: #4c5a6a;
  --ink-500: #5d6b7c; /* darkened for WCAG AA (≥4.5:1) on parchment & white */
  --ink-400: #94a0ad;
  --ink-300: #bcc5cd;
  --ink-200: #dde2e6;
  --ink-100: #eef1f3;

  --parchment: #faf7f1;
  --parchment-dim: #f2ede3;
  --white: #ffffff;

  --gold-700: #7d5817;
  --gold-600: #b6832b;
  --gold-500: #d0982f;
  --gold-400: #e0b25d;
  --gold-100: #f8ecd6;

  --terracotta-700: #9c4326;
  --terracotta-600: #b8512e;
  --terracotta-500: #c96a41;
  --terracotta-100: #f5e2d7;

  --sage-700: #3f5541;
  --sage-600: #4f6b52;
  --sage-100: #e4ebe0;

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container-max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink-900);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 3px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually hidden, still announced by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lock page scroll while a modal (lightbox) is open */
body.no-scroll { overflow: hidden; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink-950);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus { left: 0; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section--tight { padding: 3.5rem 0; }
.section--parchment { background: var(--parchment); color: var(--ink-900); }
.section--white { background: var(--white); color: var(--ink-900); }
.section--ink { background: var(--ink-950); color: var(--parchment); }
.section--gold { background: var(--gold-100); color: var(--ink-900); }

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-600);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: var(--gold-400); }

.section-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  color: var(--ink-950);
}
.section-heading--light h2 { color: #fff; }
.section-heading p {
  margin-top: 1.1rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 40rem;
}
.section-heading--light p { color: var(--ink-200); }
.section-heading--center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1.05rem; }
.btn-primary { background: var(--terracotta-600); color: #fff; }
.btn-primary:hover { background: var(--terracotta-700); }
.btn-secondary { background: var(--ink-950); color: #fff; }
.btn-secondary:hover { background: var(--ink-800); }
.btn-ghost { background: transparent; color: var(--ink-900); }
.btn-ghost:hover { background: var(--ink-100); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; background: rgba(255,255,255,0.04); }
.btn-outline-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(224,178,93,0.18), 0 10px 24px rgba(0,0,0,0.3);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-200);
}
.site-header > .container {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-950);
  line-height: 1.2;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-600);
}
.nav-primary { display: none; align-items: center; gap: 0.25rem; }
.nav-primary a {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-800);
}
.nav-primary a:hover { background: var(--ink-100); }
.nav-primary a[aria-current="page"] { color: var(--terracotta-600); }
.nav-actions { display: none; align-items: center; gap: 0.75rem; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-800);
}
.nav-dropdown-toggle:hover { background: var(--ink-100); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  width: 20rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 20px 40px rgba(18,24,31,0.12);
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}
.nav-dropdown-menu a:hover { background: var(--ink-100); }
.nav-dropdown-menu strong { display: block; font-size: 0.9rem; color: var(--ink-950); }
.nav-dropdown-menu span { display: block; font-size: 0.78rem; color: var(--ink-500); margin-top: 0.15rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 999px;
  color: var(--ink-900);
}
.mobile-menu { display: none; border-top: 1px solid var(--ink-200); background: var(--parchment); }
.mobile-menu.is-open { display: block; }
.mobile-menu .container { height: auto; padding-top: 1rem; padding-bottom: 1rem; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.25rem; }
.mobile-menu a { display: block; padding: 0.65rem 0.75rem; border-radius: 0.75rem; font-weight: 500; color: var(--ink-900); }
.mobile-menu a:hover { background: var(--ink-100); }
.mobile-menu .mobile-submenu { margin-left: 1rem; padding-left: 0.75rem; border-left: 1px solid var(--ink-200); }
.mobile-menu .mobile-submenu a { font-size: 0.9rem; color: var(--ink-700); }
.mobile-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }
.mobile-actions .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-primary, .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  min-height: 86vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg-d);
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(13,17,23,0.93) 0%,
    rgba(13,17,23,0.84) 32%,
    rgba(13,17,23,0.72) 55%,
    rgba(13,17,23,0.58) 78%,
    rgba(13,17,23,0.48) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 6rem 0; }
.hero h1 {
  margin-top: 1.5rem;
  max-width: 44rem;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  color: #fff;
}
.hero p {
  margin-top: 1.75rem;
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-200);
}
.hero .btn-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--ink-950); }
.page-hero-content { position: relative; z-index: 2; padding: 6rem 0; }
@media (min-width: 768px) { .page-hero-content { padding: 8rem 0; } }
.page-hero h1 { margin-top: 1.25rem; max-width: 42rem; font-size: clamp(2.25rem, 5vw, 3.75rem); color: #fff; }
.page-hero p { margin-top: 1.5rem; max-width: 40rem; font-size: 1.125rem; line-height: 1.65; color: var(--ink-200); }

/* Stats */
.stats-bar { background: var(--ink-950); padding: 3.5rem 0; }
.stats-bar .grid { text-align: left; }
.stat-value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); color: #fff; }
.stat-label { margin-top: 0.4rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-300); }

/* Card */
.card {
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(18,24,31,0.04);
}
.card--dark { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); text-align: center; }
.card h3 { font-size: 1.25rem; color: var(--ink-950); }
.card p { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink-600); }
.card .link-arrow { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--terracotta-600); }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: var(--terracotta-100);
  color: var(--terracotta-600);
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-700);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Quote */
.pull-quote { border-left: 4px solid var(--gold-500); padding-left: 1.5rem; }
.pull-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink-900); }
.pull-quote--light p { color: #fff; }
.pull-quote cite { display: block; margin-top: 1rem; font-size: 0.9rem; font-style: normal; color: var(--ink-500); }
.pull-quote--light cite { color: var(--gold-400); }

/* Checklist */
.checklist { margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; font-size: 0.95rem; line-height: 1.55; color: var(--ink-700); }
.checklist li::before { content: "✓"; color: var(--sage-600); font-weight: 700; flex-shrink: 0; }
.dotlist li { display: flex; gap: 0.75rem; font-size: 0.95rem; color: var(--ink-700); }
.dotlist li::before { content: ""; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 999px; background: var(--terracotta-500); flex-shrink: 0; }

/* Images */
.media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--ink-100);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-10 { aspect-ratio: 16 / 10; }
.ratio-4-3 { aspect-ratio: 4 / 3; }

/* Program link cards (Programs index) */
.program-link {
  display: grid;
  gap: 1.5rem;
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .program-link { grid-template-columns: 0.9fr 1.1fr; } }
.program-link .media { border-radius: 0; aspect-ratio: 16/10; height: 100%; }
.program-link-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .program-link-body { padding: 3rem; } }
.program-link-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--ink-950); }
.program-link-body p { margin-top: 1rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink-600); }
.program-link-body .link-arrow { margin-top: 1.5rem; display: inline-flex; gap: 0.4rem; font-weight: 600; color: var(--terracotta-600); font-size: 0.9rem; }

/* Scholarship recipient rows */
.recipient {
  display: grid;
  gap: 1.5rem;
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) { .recipient { grid-template-columns: 160px 1fr; padding: 2rem; } }
.recipient-photo { width: 6rem; height: 6rem; border-radius: 1rem; overflow: hidden; background: var(--ink-100); flex-shrink: 0; }
.recipient-photo img { width: 100%; height: 100%; object-fit: cover; }
.recipient-head { display: flex; align-items: flex-start; gap: 1rem; }
@media (min-width: 768px) { .recipient-head { display: block; } .recipient-photo { width: 8rem; height: 8rem; } }
.recipient-year { margin-top: 1rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--terracotta-600); }
.recipient h3 { font-size: 1.2rem; color: var(--ink-950); }
.recipient-meta { margin-top: 0.25rem; font-size: 0.85rem; color: var(--ink-500); }
.recipient p.bio { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink-600); }

/* Publications */
.pub-card { border: 1px solid var(--ink-200); background: var(--parchment); border-radius: 1.5rem; overflow: hidden; display: flex; flex-direction: column; }
.pub-card .media { border-radius: 0; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.pub-card .media img { object-fit: contain; padding: 2rem; }
.pub-card-body { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.pub-card-body h3 { margin-top: 1rem; font-size: 1.2rem; color: var(--ink-950); }
.pub-card-body p { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink-600); flex: 1; }
.pub-card-body .isbn { margin-top: 1rem; font-size: 0.75rem; color: var(--ink-500); }
.pub-card-body .btn-row { margin-top: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Forms */
.form-panel { border: 1px solid var(--ink-200); background: #fff; border-radius: 1.5rem; padding: 2rem; }
@media (min-width: 768px) { .form-panel { padding: 2.5rem; } }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink-800); margin-bottom: 0.5rem; }
.field label .req { color: var(--terracotta-600); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--ink-300);
  background: var(--parchment);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--ink-900);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta-500); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); opacity: 1; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-left: 1rem; font-size: 0.9rem; color: var(--sage-700); }

/* Footer */
.site-footer { background: var(--ink-950); color: var(--ink-300); }
.footer-grid { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr; } }
.footer-grid h3 { font-size: 1.25rem; color: #fff; }
.footer-grid p { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.6; max-width: 24rem; }
.footer-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); }
.footer-grid ul { margin-top: 1rem; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.footer-grid ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.75rem; }
.social-row { margin-top: 1.5rem; display: flex; gap: 0.75rem; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15); color: #fff;
}
.social-row a:hover { background: rgba(255,255,255,0.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; }
.footer-bottom .container { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--ink-400); }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; } }

/* Utility */
.mt-lg { margin-top: 2.5rem; }
.max-w-prose { max-width: 42rem; }
.text-center { text-align: center; }
.cta-flex { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; justify-content: space-between; }
@media (min-width: 768px) { .cta-flex { flex-direction: row; align-items: center; } }
.cta-flex .btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =========================================================
   Interactivity & motion polish
   ========================================================= */

/* Hero / page-hero entrance animation (staggered on load) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > *,
.page-hero-content > * {
  animation: fadeUp 0.7s ease-out both;
}
.hero-content > *:nth-child(1), .page-hero-content > *:nth-child(1) { animation-delay: 0s; }
.hero-content > *:nth-child(2), .page-hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-content > *:nth-child(3), .page-hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-content > *:nth-child(4), .page-hero-content > *:nth-child(4) { animation-delay: .3s; }

/* Sticky header gains depth once the page scrolls */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(18,24,31,0.08); }

/* Nav link underline sweep */
.nav-primary a, .nav-dropdown-toggle {
  position: relative;
  transition: color .2s ease, background-color .2s ease;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.35rem;
  height: 2px;
  background: var(--terracotta-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { transform: scaleX(1); }

/* Buttons: lift + press feedback */
.btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(184,81,46,0.28); }
.btn-secondary:hover { box-shadow: 0 10px 24px rgba(18,24,31,0.25); }

/* Cards: lift on hover */
.card, .pub-card, .recipient, .program-link, .form-panel {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .pub-card:hover, .recipient:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(18,24,31,0.1);
  border-color: var(--ink-300);
}
.program-link:hover {
  box-shadow: 0 24px 48px rgba(18,24,31,0.14);
  border-color: var(--ink-300);
}
.card--dark:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.25); box-shadow: none; }

/* Image zoom on hover within interactive containers */
.media { overflow: hidden; }
.media img { transition: transform .5s ease; }
.program-link:hover .media img,
.recipient-photo:hover img,
a.media:hover img { transform: scale(1.06); }
.recipient-photo { overflow: hidden; transition: transform .3s ease; }
.recipient-photo img { transition: transform .5s ease; }
.recipient:hover .recipient-photo img { transform: scale(1.08); }

/* Icon tiles pop slightly on card hover */
.card:hover .icon-tile { transform: translateY(-2px) scale(1.05); }
.icon-tile { transition: transform .25s ease, background-color .25s ease; }

/* Social icons */
.social-row a { transition: background-color .2s ease, transform .2s ease, border-color .2s ease; }
.social-row a:hover { transform: translateY(-2px) scale(1.05); border-color: rgba(255,255,255,0.35); }

/* Footer links */
.footer-grid ul a { transition: color .2s ease, padding-left .2s ease; }
.footer-grid ul a:hover { padding-left: 0.25rem; }

/* Link-arrow micro-interaction */
.link-arrow { transition: gap .2s ease, color .2s ease; }
.link-arrow:hover { gap: 0.65rem; color: var(--terracotta-700); }

/* Scroll-reveal (progressively enhanced by IntersectionObserver in script.js) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stat number pop when counted up */
.stat-value { transition: color .3s ease; }

/* Form field focus polish */
.field input, .field select, .field textarea {
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: 0 0 0 4px var(--terracotta-100);
}
.btn:focus-visible, .nav-dropdown-toggle:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .page-hero-content > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .pub-card:hover, .recipient:hover, .btn:hover, .program-link:hover .media img,
  .recipient:hover .recipient-photo img, .social-row a:hover { transform: none; }
}

/* =========================================================
   Luxury / atmosphere layer — aurora glow, grain, glass, gradient type
   ========================================================= */

/* Top brand accent bar */
.brand-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta-600), var(--gold-500) 45%, var(--sage-600) 100%);
}

/* Aurora: slow-drifting blurred color blobs used behind dark sections */
.aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 42vw; height: 42vw; max-width: 560px; max-height: 560px;
  left: -10%; top: -15%;
  background: radial-gradient(circle at 30% 30%, var(--terracotta-600), transparent 70%);
  animation: auroraDrift1 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  width: 36vw; height: 36vw; max-width: 480px; max-height: 480px;
  right: -8%; top: 10%;
  background: radial-gradient(circle at 60% 40%, var(--gold-500), transparent 70%);
  animation: auroraDrift2 32s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  left: 20%; bottom: -20%;
  background: radial-gradient(circle at 50% 50%, var(--sage-600), transparent 70%);
  animation: auroraDrift3 38s ease-in-out infinite alternate;
  opacity: 0.4;
}
@keyframes auroraDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6%, 8%) scale(1.15); }
}
@keyframes auroraDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-8%, 6%) scale(1.1); }
}
@keyframes auroraDrift3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(5%, -6%) scale(1.12); }
}

/* Grain: subtle film-like texture for premium depth */
.grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor-reactive glow (desktop only, JS sets --mx/--my) */
.glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 30%), rgba(224,178,93,0.20), transparent 65%);
}
.has-glow:hover .glow { opacity: 1; }

/* Ensure hero layering stacks correctly above aurora/grain/glow */
.hero-bg { z-index: 0; }
.hero-overlay { z-index: 3; }
.hero-content, .page-hero-content { position: relative; z-index: 10; }
.hero, .page-hero { position: relative; }

/* Gradient text accent */
.text-gradient {
  background: linear-gradient(90deg, var(--gold-400), var(--terracotta-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--ink .text-gradient, .hero .text-gradient, .page-hero .text-gradient {
  background: linear-gradient(90deg, var(--gold-400), #f0c988);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Glass-morphism for cards on dark backgrounds */
.card--dark {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
}
.card--dark:hover {
  border-color: rgba(224,178,93,0.55);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(224,178,93,0.25) inset;
}
.stat-glass {
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 1.25rem;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.stat-glass:hover {
  transform: translateY(-4px);
  border-color: rgba(224,178,93,0.4);
  background: rgba(255,255,255,0.08);
}

/* Warmer, colorful hover glow on light cards (replaces flat gray shadow) */
.card:hover, .pub-card:hover, .recipient:hover {
  box-shadow: 0 24px 48px rgba(184,81,46,0.16), 0 4px 12px rgba(18,24,31,0.06);
}
.program-link:hover {
  box-shadow: 0 28px 56px rgba(184,81,46,0.18);
}

/* Marquee ticker — decorative, always aria-hidden */
.marquee-wrap {
  background: var(--ink-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-300);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track span::after { content: "✦"; color: var(--gold-500); margin-left: 3rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none; }
  .marquee-track { animation: none; }
  .glow { display: none; }
}

@media (max-width: 640px) {
  .marquee-track span { font-size: 0.9rem; }
}

/* Trust badge row (hero) */
.trust-row {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-100);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.trust-row li svg { flex-shrink: 0; color: var(--gold-400); }
.trust-row li:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(224,178,93,0.45);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .trust-row li { font-size: 0.78rem; padding: 0.45rem 0.85rem; }
}

/* On narrow screens, drop the directional reveal — text spans full width,
   so fall back to a simpler top-to-bottom scrim for legibility. */
@media (max-width: 768px) {
  .hero { min-height: 72vh; }
  .hero-bg {
    opacity: 0.9;
    background-image: var(--bg-m);
    background-position: center;
  }
  .hero-overlay {
    background: linear-gradient(to top, rgba(13,17,23,0.86) 0%, rgba(13,17,23,0.55) 50%, rgba(13,17,23,0.3) 100%);
  }
}

/* Animated hamburger icon (Menu <-> X) */
.nav-toggle { width: 2.75rem; height: 2.75rem; }
.hamburger {
  position: relative;
  display: inline-block;
  width: 1.35rem;
  height: 1rem;
}
.hamburger span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; margin-top: -1px; }
.hamburger span:nth-child(3) { top: 100%; margin-top: -2px; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { top: 50%; margin-top: -1px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { top: 50%; margin-top: -1px; transform: rotate(-45deg); }

/* =========================================================
   Client asset slots — logo, headshots, QR code
   ========================================================= */
.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand-logo { height: 2.35rem; width: auto; display: block; }
.brand-logo--footer { height: 2.75rem; }

.headshot-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--ink-100);
  box-shadow: 0 20px 48px rgba(18,24,31,0.14);
}
.headshot-circle {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold-400);
  box-shadow: 0 8px 20px rgba(18,24,31,0.12);
}
.headshot-circle img { width: 100%; height: 100%; object-fit: cover; }
.contact-person { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ink-200); }
.contact-person p.name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-950); }
.contact-person p.role { font-size: 0.8rem; color: var(--ink-500); margin-top: 0.15rem; }

.qr-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.qr-card img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.6rem;
  background: #fff;
  padding: 0.35rem;
}
.qr-card p { font-size: 0.8rem; line-height: 1.5; color: var(--ink-200); }

@media (max-width: 480px) {
  .brand-logo { height: 1.9rem; }
}

/* =========================================================
   Store, Gallery & Fundraisers additions
   ========================================================= */

/* Store filter pills */
.store-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.store-filter-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink-200);
  background: #fff;
  color: var(--ink-700);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.store-filter-btn:hover { border-color: var(--terracotta-500); color: var(--terracotta-600); transform: translateY(-1px); }
.store-filter-btn.is-active { background: var(--terracotta-600); border-color: var(--terracotta-600); color: #fff; }

/* Store toolbar: search + sort + visible result count */
.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ink-200);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(18,24,31,0.04);
}
.store-search {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 16rem;
  border: 1px solid var(--ink-300);
  border-radius: 999px;
  background: var(--parchment);
  padding: 0.55rem 1.1rem;
  color: var(--ink-500);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.store-search:focus-within { border-color: var(--terracotta-500); box-shadow: 0 0 0 4px var(--terracotta-100); }
.store-search input {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--ink-900);
  outline: none;
  min-width: 0;
}
.store-sort { display: inline-flex; align-items: center; gap: 0.6rem; }
.store-sort label { font-size: 0.85rem; font-weight: 600; color: var(--ink-700); }
.store-sort select {
  border: 1px solid var(--ink-300);
  border-radius: 999px;
  background: var(--parchment);
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink-900);
  padding: 0.5rem 1rem;
}
.store-count { margin-left: auto; font-size: 0.85rem; font-weight: 600; color: var(--ink-500); }
.pill-count { font-weight: 500; opacity: 0.65; margin-left: 0.2rem; font-size: 0.78em; }
.store-empty {
  margin-top: 2.5rem;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px dashed var(--ink-300);
  border-radius: 1.25rem;
  color: var(--ink-500);
  font-size: 1rem;
}

/* Store card refinements */
.store-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-600);
  margin-bottom: 0.35rem;
}
.store-card-media { position: relative; }
.store-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.store-badge--limited { background: rgba(18,24,31,0.82); color: var(--gold-400); }
.store-badge--digital { background: rgba(79,107,82,0.9); color: #fff; }

/* Signature/featured cards */
.store-feature { display: flex; flex-direction: column; align-items: flex-start; }
.store-feature h3 { margin-top: 1rem; }
.store-feature .store-card-price { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--terracotta-600); }
.store-feature .link-arrow { margin-top: auto; padding-top: 1rem; }

/* Store product cards */
.store-card { display: flex; flex-direction: column; padding: 1.25rem; }
.store-card-media { margin-bottom: 1.1rem; }
.store-card-name { margin-top: 0; font-size: 1.02rem; line-height: 1.35; color: var(--ink-950); min-height: 2.6em; }
.store-card-price { margin-top: 0.4rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--terracotta-600); }
.store-card .link-arrow { margin-top: auto; padding-top: 1rem; }
.store-card[hidden] { display: none; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--ink-100);
  box-shadow: 0 1px 2px rgba(18,24,31,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(18,24,31,0.16); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,24,31,0.45), transparent 45%);
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18,24,31,0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 85vh; border-radius: 0.75rem; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }


/* =========================================================
   Premium depth, motion & new components
   ========================================================= */

/* Layered ambient backgrounds (subtle) */
.section--parchment {
  background-image:
    radial-gradient(60rem 40rem at 85% -10%, rgba(224,178,93,0.07), transparent 60%),
    radial-gradient(50rem 35rem at -10% 110%, rgba(201,106,65,0.05), transparent 60%);
}
.section--white {
  background-image: radial-gradient(55rem 35rem at 110% 0%, rgba(228,235,224,0.35), transparent 55%);
}
.section--gold {
  background-image: linear-gradient(135deg, var(--gold-100), #f7e6d2 55%, var(--gold-100));
}

/* Premium shadows */
.card, .pub-card, .form-panel {
  box-shadow: 0 1px 2px rgba(18,24,31,0.04), 0 16px 40px -28px rgba(18,24,31,0.18);
}

/* Staggered scroll reveals inside grids */
.grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Parallax-ready hero imagery */
.hero-bg { will-change: transform; transform: scale(1.18); transform-origin: center; }
/* Phones and touch devices: no parallax, image simply covers the hero */
@media (max-width: 767px), (hover: none) {
  .hero-bg { transform: none !important; }
}

/* Soft cursor lighting on cards (JS sets --cx/--cy) */
.card { position: relative; }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(22rem circle at var(--cx, 50%) var(--cy, 0%), rgba(224,178,93,0.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* Button shine microinteraction */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 150%; }

/* Founder credibility band (homepage) */
.founder-band { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .founder-band { grid-template-columns: auto 1fr; } }
.headshot-lg {
  width: 11rem; height: 11rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-400);
  box-shadow: 0 20px 44px rgba(18,24,31,0.16);
}
.headshot-lg img { width: 100%; height: 100%; object-fit: cover; }
.cred-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.cred-row a, .cred-row span {
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.cred-row a:hover { border-color: var(--terracotta-500); color: var(--terracotta-600); transform: translateY(-1px); }

/* Story timeline (About) */
.timeline { position: relative; display: grid; gap: 2.25rem; max-width: 46rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.52rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--gold-500), var(--terracotta-500));
}
.timeline li { position: relative; padding-left: 2.6rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3rem;
  width: 1.15rem; height: 1.15rem;
  border-radius: 999px;
  background: var(--parchment);
  border: 3px solid var(--terracotta-500);
}
.timeline .t-era { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-600); }
.timeline h3 { margin-top: 0.3rem; font-size: 1.15rem; color: var(--ink-950); }
.timeline p { margin-top: 0.45rem; font-size: 0.95rem; line-height: 1.65; color: var(--ink-600); }

/* Engagement panel (Services — what every engagement includes) */
.engagement-panel {
  margin-top: 2.25rem;
  border: 1px solid var(--gold-400);
  border-radius: 1.5rem;
  background: linear-gradient(150deg, #fff 0%, var(--gold-100) 120%);
  box-shadow: 0 1px 2px rgba(18,24,31,0.04), 0 24px 48px -32px rgba(182,131,43,0.35);
  overflow: hidden;
}
.engagement-panel-head {
  padding: 1.5rem 2rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.engagement-list { padding: 1.25rem 2rem 1.75rem; display: grid; gap: 1.4rem; }
.engagement-item { display: flex; gap: 1rem; align-items: flex-start; }
.engagement-item .icon-tile {
  width: 2.5rem; height: 2.5rem;
  margin-bottom: 0;
  flex-shrink: 0;
  border-radius: 0.7rem;
  background: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid var(--gold-400);
}
.engagement-item h3 { font-size: 1.05rem; color: var(--ink-950); }
.engagement-item p { margin-top: 0.3rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-600); }
.engagement-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--ink-950);
}
.engagement-cta .lede { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.engagement-cta .note { margin-top: 0.25rem; font-size: 0.78rem; color: var(--ink-300); }

/* Process steps (Contact) */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; border: 1px solid var(--ink-200); background: #fff; border-radius: 1.25rem; padding: 2rem; }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold-500); }
.step h3 { margin-top: 0.85rem; font-size: 1.1rem; color: var(--ink-950); }
.step p { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.65; color: var(--ink-600); }

/* "What Every Engagement Includes" panel (Services) */
.engage-panel {
  margin-top: 2.25rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 1.5rem;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(18,24,31,0.04), 0 24px 48px -32px rgba(18,24,31,0.18);
}
.engage-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--terracotta-500) 60%, var(--gold-400));
}
.engage-items { display: grid; gap: 1.75rem; margin-top: 1.75rem; }
.engage-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.engage-item .icon-tile {
  margin-bottom: 0;
  flex-shrink: 0;
  background: var(--gold-100);
  color: var(--gold-700);
}
.engage-item h3 { font-size: 1.05rem; color: var(--ink-950); }
.engage-item p { margin-top: 0.35rem; font-size: 0.92rem; line-height: 1.6; color: var(--ink-600); }
.engage-cta {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.engage-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 24rem;
}

/* Footer newsletter + mini CTA */
.footer-news-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.footer-news input[type="email"] {
  flex: 1; min-width: 0;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-size: 0.9rem;
}
.footer-news input[type="email"]::placeholder { color: var(--ink-400); opacity: 1; }
.footer-news .btn { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.footer-cta { border-top: 1px solid rgba(255,255,255,0.1); padding: 2.25rem 0; }
.footer-cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-cta p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: #fff; max-width: 34rem; }

@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .card::after { display: none; }
  .hero-bg { transform: none; }
  .grid > .reveal { transition-delay: 0s !important; }
}


/* Responsive two-column split: stacks on phones, splits at 900px */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: var(--split, 1fr 1fr); gap: 3rem; }
}

/* Prevent iOS auto-zoom: keep form controls at 16px minimum */
.footer-news input[type="email"] { font-size: 1rem; }
.store-sort select { font-size: 1rem; }
