/* ============================================================
   HOME PAGE — Harris House
   ============================================================ */

/* ---- HERO ---- */
.hero {
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Parchment wallpaper as direct background so blend mode works on children */
  background-image: url('../images/HH-Parchment-Wallpaper.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface);
}

/* Subtle vignette overlay via pseudo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(232,226,212,0.0) 20%,
    rgba(210,200,178,0.4) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Dark mode: overlay to tint toward Wedgewood blue */
[data-theme='dark'] .hero {
  background-image: url('../images/HH-Parchment-Wallpaper.jpg');
}
[data-theme='dark'] .hero::before {
  background: rgba(58,82,116,0.80);
}

/* Invisible placeholder div — kept for HTML compatibility */
.hero-bg { display: none; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(80px + var(--space-16)) var(--space-6) var(--space-16);
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

/* Logo on parchment hero — transparent PNG, no blending tricks needed */
.hero-logo {
  width: min(520px, 84vw);
  margin: 0 auto var(--space-8);
  position: relative;
  z-index: 1;
  /* Shift olive-gold PNG toward metallic #CDB278 */
  filter: brightness(1.28) saturate(1.48) hue-rotate(-9deg);
}

[data-theme='dark'] .hero-logo {
  filter: brightness(1.32) saturate(1.55) hue-rotate(-9deg);
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-dark-band);
  line-height: 1.35;
  margin-bottom: var(--space-4);
}

[data-theme='dark'] .hero-tagline {
  color: var(--color-dark-text);
}

.hero-descriptor {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--space-8);
  text-align: center;
  display: block;
  padding-left: 0.28em;
  width: 100%;
  max-width: 100%;
}

[data-theme='dark'] .hero-descriptor {
  color: var(--color-dark-text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* light-mode hero buttons — metallic gold */
.hero .btn-gold {
  background: var(--color-gold);
  color: var(--color-text);
}

.hero .btn-gold:hover {
  background: var(--color-gold-hover);
  color: var(--color-text);
}

.hero .btn-outline {
  color: var(--color-primary-strong);
  border-color: var(--color-primary-strong);
}

.hero .btn-outline:hover {
  background: var(--color-primary-strong);
  color: var(--color-surface-2);
}

[data-theme='dark'] .hero .btn-gold {
  background: var(--color-gold);
  color: var(--color-dark-band);
}

[data-theme='dark'] .hero .btn-outline {
  color: var(--color-dark-gold);
  border-color: var(--color-dark-gold);
}

[data-theme='dark'] .hero .btn-outline:hover {
  background: var(--color-dark-gold);
  color: var(--color-dark-band);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(58,82,116,0.45);
  animation: scrollBob 2.5s ease-in-out infinite;
}

[data-theme='dark'] .hero-scroll {
  color: rgba(205,178,120,0.35);
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---- MISSION BAND ---- */
.mission-band {
  background: var(--color-peach);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/HH-Parchment-Wallpaper.jpg');
  background-size: cover;
  opacity: 0.04;
}

.mission-band > * { position: relative; z-index: 1; }

.mission-band .mission-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  max-width: 760px;
  margin: 0 auto var(--space-4);
  line-height: 1.5;
}

.mission-band .mission-pillars {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  opacity: 0.9;
}

/* ---- PILLARS SECTION ---- */
.pillars-section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
  position: relative;
}

.pillars-section .section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.pillar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

[data-theme='dark'] .pillar-card {
  border-top-color: var(--color-gold);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--color-gold);
  opacity: 0.12;
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  line-height: 1;
  pointer-events: none;
}

.pillar-icon {
  margin-bottom: var(--space-5);
  color: var(--color-primary-strong);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

[data-theme='dark'] .pillar-card h3 {
  color: var(--color-text);
}

.pillar-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- SCRIPTURE FEATURE ---- */
.scripture-feature {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.scripture-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/HH-Parchment-Wallpaper.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

[data-theme='dark'] .scripture-feature::before {
  opacity: 0.04;
}

.scripture-feature > * { position: relative; z-index: 1; }

.scripture-feature-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.scripture-feature blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.55;
  margin: var(--space-6) 0 var(--space-4);
}

[data-theme='dark'] .scripture-feature blockquote {
  color: var(--color-text);
}

.scripture-feature cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
}

[data-theme='dark'] .scripture-feature cite {
  color: var(--color-gold);
}

/* ---- FOR WHO SECTION ---- */
.for-who {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
}

.for-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.for-who-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.for-who-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--color-primary) 18%, transparent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-strong);
}

.for-who-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.for-who-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .for-who-grid { grid-template-columns: 1fr; }
}

/* ---- CTA SECTION ---- */
.home-cta {
  background: var(--color-dark-band);
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/HH-Parchment-Wallpaper.jpg');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.05;
}

.home-cta > * { position: relative; z-index: 1; }

.home-cta .monogram-cta {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto var(--space-6);
  opacity: 1;
  filter: brightness(1.05);
}

.home-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-dark-text);
  margin-bottom: var(--space-4);
}

.home-cta h2 em {
  font-style: italic;
  color: var(--color-gold);
}

.home-cta p {
  font-size: var(--text-base);
  color: var(--color-dark-text-muted);
  max-width: 52ch;
  margin: 0 auto var(--space-8);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================================
   WARMTH OVERHAUL — All 5 changes
   ============================================================ */

/* ---- CHANGE 1 & 3: Pillars section intro — split photo layout ---- */
.pillars-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-12);
}

.pillars-intro-text {
  text-align: left;
}

.pillars-intro-text .eyebrow {
  text-align: left;
}

.pillars-intro-text .display-heading {
  margin-bottom: var(--space-4);
}

.pillars-intro-text .body-lead {
  margin-bottom: 0;
}

.pillars-intro-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26,20,16,0.15);
  aspect-ratio: 4 / 3;
}

.pillars-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}

.pillars-intro-photo:hover .pillars-photo-img {
  transform: scale(1.03);
}

/* ---- CHANGE 2: Warmer tint on interior parchment sections ---- */
.pillars-section {
  background: var(--color-bg);
}

[data-theme='dark'] .pillars-section {
  background: var(--color-bg);
}

.section-tinted {
  background: var(--color-surface) !important;
}

[data-theme='dark'] .section-tinted {
  background: var(--color-surface) !important;
}

.scripture-feature {
  background: var(--color-surface-offset);
}

[data-theme='dark'] .scripture-feature {
  background: var(--color-bg);
}

/* ---- CHANGE 3: Soften pillar cards ---- */
.pillar-card {
  border-radius: 16px !important;
  border: none !important;
  border-top: none !important;
  box-shadow: 0 4px 20px rgba(26,20,16,0.08), 0 1px 4px rgba(26,20,16,0.05) !important;
  background: var(--color-surface-2) !important;
}

.pillar-card:hover {
  box-shadow: 0 10px 36px rgba(26,20,16,0.12), 0 2px 8px rgba(26,20,16,0.07) !important;
  transform: translateY(-4px) !important;
}

/* Warm gold accent bar at top — softer than a hard border */
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-8);
  right: var(--space-8);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  border-radius: 0 0 2px 2px;
}

[data-theme='dark'] .pillar-card {
  background: var(--color-surface) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
}

/* ---- CHANGE 4: Soften button corners sitewide ---- */
.btn {
  border-radius: 10px !important;
}

.nav-cta {
  border-radius: 8px !important;
}

/* ---- CHANGE 5: Typography — soften subheadings ---- */
/* Pillar card h3: switch to Work Sans for a lighter, friendlier feel */
.pillar-card h3 {
  font-family: var(--font-body) !important;
  font-size: var(--text-base) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

/* For-who section h4 headings: Work Sans medium */
.for-who-item h4 {
  font-family: var(--font-body) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
}

/* Section eyebrow: already Work Sans — just reduce uppercase heaviness */
.eyebrow {
  letter-spacing: 0.18em !important;
}

/* ---- WHO THIS IS FOR — photo strip layout ---- */

/* For-who items: softer, warmer */
.for-who-item {
  border-radius: 12px !important;
  border: none !important;
  background: var(--color-peach) !important;
  box-shadow: 0 2px 12px rgba(26,20,16,0.07) !important;
}

[data-theme='dark'] .for-who-item {
  background: var(--color-surface) !important;
}
/* Photo strip */
.photo-strip {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-10);
  overflow: hidden;
  border-radius: 14px;
}

.photo-strip img {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: fill;   /* show the full photo, no cropping */
  border-radius: 12px;
  display: block;
  transition: transform 0.4s ease;
}

.photo-strip img:hover {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .photo-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    border-radius: 12px;
  }
  .photo-strip img {
    width: 100%;
    aspect-ratio: 5 / 4;
    height: auto;
  }
}

/* Centered heading block above the strip */
.for-who-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.for-who-header .body-lead {
  margin-bottom: 0;
}

/* Audience cards: top margin only, full width */
.for-who-grid {
  margin-top: var(--space-8);
}

/* ---- Responsive: stack to single column below 900px ---- */
@media (max-width: 900px) {
  .pillars-intro {
    grid-template-columns: 1fr;
  }
  .pillars-intro-text { text-align: center; }
  .pillars-intro-text .eyebrow { text-align: center; }
  .pillars-intro-photo {
    max-width: 480px;
    margin: 0 auto;
  }


}



/* ---- HERO SCRIPTURE (Psalm 145:4 in hero) ---- */
.hero-scripture {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-dark-band);
  line-height: 1.6;
  max-width: 520px;
  margin: var(--space-6) auto 0;
  opacity: 0.75;
}

.hero-scripture cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-top: var(--space-2);
  opacity: 0.9;
}

[data-theme='dark'] .hero-scripture {
  color: var(--color-dark-text);
}

[data-theme='dark'] .hero-scripture cite {
  color: var(--color-dark-text-muted);
}

/* ---- CFF SECTION LINKS ---- */
.cff-pillars a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 76, 53, 0.35);
  transition: border-color var(--transition), opacity var(--transition);
}

.cff-pillars a:hover {
  border-bottom-color: var(--color-accent-text);
  opacity: 1;
}

[data-theme='dark'] .cff-pillars a {
  border-bottom-color: rgba(205, 178, 120, 0.35);
}

[data-theme='dark'] .cff-pillars a:hover {
  border-bottom-color: var(--color-gold);
}
