@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,500;1,9..144,600&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');
* {
  scroll-behavior: smooth;
}

html, body {
  background-color: #0D0D0D;
  font-family: 'Montserrat', sans-serif;
}

::selection {
  background-color: #D4AF37;
  color: #0D0D0D;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0D0D0D;
}
::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}

/* Gold gradient text */
.text-gradient-gold {
  background: linear-gradient(135deg, #E8C766 0%, #D4AF37 40%, #B8860B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Diagonal section divider */
.diamond-divider {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #D4AF37, #B8860B);
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Card hover lift */
.card-lift {
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px -8px rgba(212,175,55,0.35);
  border-color: rgba(212,175,55,0.5);
}

/* Animated underline for nav links */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  transition: width 200ms ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Fade-up reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto;
  }
}

/* Marquee for logos/tickers if needed */
.animate-marquee {
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Light cream hero variant (60/40 Model + Nonprofit Partners pages) */
.hero-light {
  background: #F4EEE1;
}
.hero-light .eyebrow-light {
  color: #A67C1E;
}
.hero-light .body-light {
  color: #57503F;
}
.highlight-swipe {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 1;
}
.highlight-swipe::before {
  content: '';
  position: absolute;
  left: -0.3em;
  right: -0.3em;
  top: -0.03em;
  bottom: -0.24em;
  background: linear-gradient(95deg, #F7E4AC 0%, #EFCF7C 50%, #E2B85C 100%);
  border-radius: 0.5em 0.9em 0.6em 1em / 1.1em 0.7em 1.3em 0.6em;
  transform: rotate(-1.2deg);
  z-index: -1;
}
.thumb-strip img {
  transition: transform 300ms ease;
}
.thumb-strip img:hover {
  transform: translateY(-3px);
}

/* Reusable light-mode text tones (unscoped, for cream pages/sections) */
.eyebrow-gold {
  color: #A67C1E;
}
.muted-warm {
  color: #57503F;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #D4AF37;
  color: #0D0D0D;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ============================================
   Editorial redesign — signature system
   ============================================ */

/* Transparent-over-hero header that solidifies on scroll */
#site-header header {
  transition: background-color 400ms ease, backdrop-filter 400ms ease, border-color 400ms ease;
}
#site-header header.is-solid {
  background-color: rgba(13,13,13,0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,0.1);
}
#site-header header.is-transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}

/* Consistent warm duotone wash over all photography, for a single unified shoot feel */
.photo-wash {
  position: relative;
}
.photo-wash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,10,7,0.15) 0%, rgba(13,10,7,0.55) 100%);
  pointer-events: none;
}
.photo-wash-strong::after {
  background: linear-gradient(180deg, rgba(13,10,7,0.35) 0%, rgba(13,10,7,0.82) 100%);
}
.photo-wash img,
.photo-wash-strong img {
  filter: saturate(0.92) contrast(1.02);
}

/* Signature seam: the vertical gold line that runs the "one engagement, two outcomes" motif */
.seam {
  position: relative;
}
.seam::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(212,175,55,0.5) 15%, rgba(212,175,55,0.5) 85%, transparent 100%);
  transform: translateX(-50%);
}
.seam-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: #0D0D0D;
  border: 1px solid rgba(212,175,55,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: #D4AF37;
  font-size: 1.1rem;
  z-index: 2;
}

/* Connected timeline for "How It Works" — a single line with stops, not boxed cards */
.timeline-track {
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,0.05) 0%, rgba(212,175,55,0.55) 15%, rgba(212,175,55,0.55) 85%, rgba(212,175,55,0.05) 100%);
  display: none;
}
@media (min-width: 768px) {
  .timeline-track::before { display: block; }
}
.timeline-dot {
  width: 23px;
  height: 23px;
  border-radius: 9999px;
  background: #0D0D0D;
  border: 1px solid #D4AF37;
  flex-shrink: 0;
}
.timeline-dot::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  margin: 7px auto;
  border-radius: 9999px;
  background: #D4AF37;
}

/* Tier finder spectrum: six connected letters, replaces a grid of text cards */
.spectrum-track::before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0.55) 15%, rgba(212,175,55,0.55) 85%, rgba(212,175,55,0.15) 100%);
  display: none;
}
@media (min-width: 640px) {
  .spectrum-track::before { display: block; }
}
.spectrum-option {
  position: relative;
  z-index: 1;
  display: flex;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.spectrum-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.4);
  transition: color 200ms ease;
}
@media (min-width: 640px) {
  .spectrum-label { max-width: 5.5rem; }
}
.spectrum-option:hover .spectrum-label,
.spectrum-option:focus-visible .spectrum-label {
  color: rgba(255,255,255,0.8);
}
.spectrum-option.is-active .spectrum-label {
  color: #D4AF37;
}
.spectrum-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #0D0D0D;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #D4AF37;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}
.spectrum-option:hover .spectrum-dot,
.spectrum-option:focus-visible .spectrum-dot {
  border-color: rgba(212,175,55,0.6);
  color: #F0D584;
  transform: scale(1.06);
}
.spectrum-option.is-active .spectrum-dot {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  border-color: transparent;
  color: #0D0D0D;
  transform: scale(1.08);
}

/* Editorial image hover: quiet zoom, no shadow-lift theatrics */
.img-zoom { overflow: hidden; }
.img-zoom img {
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom:hover img {
  transform: scale(1.045);
}

/* Underline reveal link, replaces bordered-card "learn more" affordance */
.link-reveal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.link-reveal::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms ease;
}
.link-reveal:hover::after {
  transform: scaleX(1);
}

/* Hairline divider, replaces bordered boxes for separating content */
.hairline {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hairline-dark {
  border-top: 1px solid rgba(13,13,13,0.12);
}
