/* inner-pages.css — extends home.css for all inner pages.
   Do NOT redefine anything already declared in home.css:
   variables, *, html, body base, a, img, button, .shell,
   .eyebrow, .site-header family, .hero family, .button-primary/secondary,
   .hero-actions, .site-footer family, breakpoints for the above.
   ------------------------------------------------------------------ */

/* ── Warm cream background override ────────────────────────────── */
body {
  background: linear-gradient(155deg, #f0e9de 0%, #e8dfd4 100%);
  background-attachment: fixed;
}

/* ── Scrolled header: dark glass ─────────────────────────────────── */
.site-header.scrolled {
  background: rgba(13, 10, 7, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled::before {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* ══════════════════════════════════════════════════════════════════
   PAGE BANNER — dramatic photo strip at top of inner pages
   ══════════════════════════════════════════════════════════════════ */
.page-banner {
  height: clamp(240px, 32vh, 340px);
  position: relative;
  overflow: hidden;
  background: #0c0a07;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(0.72) brightness(0.56);
  display: block;
}

/* Dark overlay + bottom fade into page background */
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 6, 4, 0.52) 0%,
    rgba(8, 6, 4, 0.14) 46%,
    #f0e9de 100%
  );
}

@media (max-width: 767px) {
  .page-banner {
    height: 190px;
  }
}

/* ── Active nav link indicator ──────────────────────────────────── */
.site-nav a[aria-current="page"] {
  border-bottom: 2px solid rgba(200, 169, 138, 0.72);
  padding-bottom: 1px;
}

/* ══════════════════════════════════════════════════════════════════
   TYPOGRAPHY — dark defaults for light-background content sections.
   Overridden back to light inside .page-hero and .cta-panel.
   ══════════════════════════════════════════════════════════════════ */
main h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: #281f19;
}

main h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #281f19;
}

main h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #281f19;
}

main p {
  margin: 12px 0 0;
  font-size: 0.96rem;
  line-height: 1.66;
  color: #6b5d51;
}

main p:first-child {
  margin-top: 0;
}

/* Eyebrow on light sections — warm brown, visible on cream */
main .eyebrow {
  color: #9f836c;
}

/* ── Eyebrow accent ─────────────────────────────────────────────── */
.eyebrow-accent {
  margin: 0 0 14px;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: #9f836c;
}

/* ── Note list ──────────────────────────────────────────────────── */
.note-list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: #6b5d51;
  font-size: 0.93rem;
  line-height: 1.56;
}

/* ── Small note ─────────────────────────────────────────────────── */
.small-note {
  font-size: 0.88rem;
  color: #8b7c70;
  line-height: 1.52;
  margin: 6px 0 0;
}

/* ══════════════════════════════════════════════════════════════════
   PAGE HERO — clean cream section below the photo banner
   ══════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 56px 0 64px;
  background: transparent;
  border-bottom: 1px solid rgba(40, 31, 25, 0.08);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: stretch;
}

.page-hero-copy {
  padding-top: 6px;
}

.page-hero-copy .eyebrow {
  margin-bottom: 14px;
}

.page-hero-copy h1 {
  margin: 0 0 16px;
}

.page-hero-copy > p {
  max-width: 480px;
  font-size: 1rem;
  margin: 0;
}

/* ── Feature panel — light card on the cream hero section ─────── */
.page-feature-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(40, 31, 25, 0.09);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 16px 48px rgba(22, 14, 9, 0.1),
    0 4px 12px rgba(22, 14, 9, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-feature-panel .eyebrow,
.page-feature-panel .eyebrow-accent {
  margin-bottom: 12px;
}

.page-feature-panel h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  line-height: 1.16;
  margin-bottom: 0;
}

.page-feature-panel p {
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════════════
   CONTENT SECTIONS — warm cream base
   ══════════════════════════════════════════════════════════════════ */
.content-section {
  padding: 80px 0;
}

.content-section.alt {
  background: rgba(230, 218, 204, 0.55);
  border-top: 1px solid rgba(40, 31, 25, 0.07);
  border-bottom: 1px solid rgba(40, 31, 25, 0.07);
}

/* ── Section heading ────────────────────────────────────────────── */
.section-intro {
  max-width: 580px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-intro h2 {
  margin-bottom: 12px;
}

/* ── button-secondary reskin for light sections ──────────────────
   home.css button-secondary uses near-invisible white glass designed
   for dark hero backgrounds. Override it here for cream sections.
   The .cta-panel reversal below restores the dark-bg version. */
.content-section .button-secondary {
  background: rgba(40, 31, 25, 0.05);
  border-color: rgba(40, 31, 25, 0.22);
  color: #281f19;
}

.content-section .button-secondary:hover,
.content-section .button-secondary:focus-visible {
  background: rgba(40, 31, 25, 0.09);
  border-color: rgba(40, 31, 25, 0.34);
}

/* ══════════════════════════════════════════════════════════════════
   CARD GRID
   ══════════════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Light frosted-white card ───────────────────────────────────── */
.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(40, 31, 25, 0.08);
  border-radius: 18px;
  padding: 28px 30px;
  color: #281f19;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 32px rgba(22, 14, 9, 0.07),
    0 3px 8px rgba(22, 14, 9, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 20px 44px rgba(22, 14, 9, 0.10),
    0 4px 10px rgba(22, 14, 9, 0.06);
  border-color: rgba(200, 169, 138, 0.3);
}

.card h3 {
  margin-bottom: 10px;
  color: #281f19;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: #6b5d51;
}

/* ══════════════════════════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════════════════════════ */
.timeline {
  display: grid;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: rgba(40, 31, 25, 0.14);
}

.timeline-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(40, 31, 25, 0.08);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(40, 31, 25, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #9f836c;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-item h3 {
  margin-bottom: 8px;
  color: #281f19;
}

.timeline-item > div > p {
  margin: 0;
  font-size: 0.94rem;
  color: #6b5d51;
}

/* ══════════════════════════════════════════════════════════════════
   SPLIT GRID
   ══════════════════════════════════════════════════════════════════ */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split-copy .eyebrow {
  margin-bottom: 12px;
}

.split-copy h2 {
  margin-bottom: 14px;
}

.split-copy > p {
  margin-bottom: 0;
}

/* ── Preview stack ──────────────────────────────────────────────── */
.preview-stack {
  display: grid;
  gap: 14px;
}

.preview-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(40, 31, 25, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(22, 14, 9, 0.06), 0 2px 6px rgba(22, 14, 9, 0.04);
}

.preview-card strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: #281f19;
  margin-bottom: 5px;
}

.preview-card .small-note {
  margin: 0;
  color: #8b7c70;
}

/* ══════════════════════════════════════════════════════════════════
   CTA PANEL — dark gradient band to stand out against the cream page
   All typography and button styles flipped back to light here.
   ══════════════════════════════════════════════════════════════════ */
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(46, 63, 55, 0.18) 0%, rgba(46, 63, 55, 0) 60%),
    linear-gradient(135deg, rgba(29, 22, 17, 0.98) 0%, rgba(40, 30, 22, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  padding: 52px 60px;
  box-shadow: 0 32px 72px rgba(14, 10, 6, 0.28);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(159, 131, 108, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* Restore light text inside the dark CTA band */
.cta-panel h2,
.cta-panel h3 {
  color: var(--ink);
}

.cta-panel p {
  color: var(--ink-soft);
}

.cta-panel .eyebrow {
  color: var(--accent-soft);
}

.cta-panel > div:first-child h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.cta-panel > div:first-child p {
  margin: 0;
}

/* Restore original dark-bg button-secondary inside CTA */
.cta-panel .button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff9f3;
}

.cta-panel .button-secondary:hover,
.cta-panel .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.32);
}

.cta-panel .hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: auto;
  margin-top: 0;
  min-width: 200px;
}

.cta-panel .hero-actions .button-primary,
.cta-panel .hero-actions .button-secondary {
  width: 100%;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   FAQ ACCORDION — light
   ══════════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid rgba(40, 31, 25, 0.10);
}

.faq-list details:first-child {
  border-top: 1px solid rgba(40, 31, 25, 0.10);
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #281f19;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(40, 31, 25, 0.05);
  border: 1px solid rgba(40, 31, 25, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #9f836c;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-list details[open] > summary::after {
  transform: rotate(45deg);
  background: rgba(40, 31, 25, 0.09);
}

.faq-list details[open] > summary {
  color: #1c1410;
}

.faq-list details > p {
  margin: 0;
  padding: 2px 4px 24px;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #6b5d51;
}

/* ══════════════════════════════════════════════════════════════════
   TESTIMONIALS — light frosted white
   ══════════════════════════════════════════════════════════════════ */
.testimonial-grid {
  display: grid;
  gap: 20px;
}

.testimonial-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(40, 31, 25, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 36px rgba(22, 14, 9, 0.08),
    0 3px 8px rgba(22, 14, 9, 0.04);
  display: grid;
  align-content: start;
  gap: 14px;
}

.testimonial-card.featured {
  background: rgba(46, 63, 55, 0.09);
  border-color: rgba(46, 63, 55, 0.2);
}

.testimonial-card h3 {
  font-size: 1.05rem;
  color: #9f836c;
  margin: 0;
}

.testimonial-card .quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6b5d51;
  font-style: italic;
  margin: 0;
}

.testimonial-card .quote-meta {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(40, 31, 25, 0.38);
}

/* ── Story cards ────────────────────────────────────────────────── */
.story-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(40, 31, 25, 0.10);
  border-radius: 14px;
  overflow: hidden;
}

.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.88);
  display: block;
}

.story-card-body {
  padding: 22px 24px 26px;
}

.story-card-body h3 {
  margin-bottom: 8px;
  color: #281f19;
}

.story-card-body p {
  margin: 0;
  font-size: 0.92rem;
  color: #6b5d51;
}

/* ══════════════════════════════════════════════════════════════════
   EVENT CARDS — light frosted white
   ══════════════════════════════════════════════════════════════════ */
.event-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(40, 31, 25, 0.10);
  border-radius: 14px;
  padding: 28px 30px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.event-meta {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.event-card h3 {
  font-size: 1.12rem;
  color: #281f19;
}

.event-card > p {
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.6;
  color: #6b5d51;
}

.event-card .hero-actions {
  margin-top: 8px;
  width: auto;
  grid-template-columns: 1fr;
}

/* button-secondary inside event cards (light context) */
.event-card .button-secondary {
  background: rgba(40, 31, 25, 0.05);
  border-color: rgba(40, 31, 25, 0.22);
  color: #281f19;
}

.event-card .button-secondary:hover {
  background: rgba(40, 31, 25, 0.09);
  border-color: rgba(40, 31, 25, 0.34);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1040px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 40px;
  }

  .cta-panel .hero-actions {
    flex-direction: row;
    min-width: 0;
    width: min(100%, 400px);
  }

  .cta-panel .hero-actions .button-primary,
  .cta-panel .hero-actions .button-secondary {
    flex: 1;
  }

  .card-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 40px 0 48px;
  }

  .content-section {
    padding: 52px 0;
  }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .card-grid .card {
    min-height: 120px;
  }

  .testimonial-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 32px 24px;
  }

  .cta-panel .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .timeline::before {
    left: 19px;
  }

  .timeline-badge {
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
  }

  .timeline-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .split-grid {
    gap: 32px;
  }

  .page-feature-panel {
    padding: 24px 22px;
  }

  main h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }
}

/* ══════════════════════════════════════════════════════════════════
   SCROLLED HEADER
   ══════════════════════════════════════════════════════════════════ */
.site-header.scrolled {
  background: rgba(13, 10, 7, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled::before {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* ══════════════════════════════════════════════════════════════════
   HOVER & FOCUS STATES — tuned for light background
   ══════════════════════════════════════════════════════════════════ */

/* ── Cards ──────────────────────────────────────────────────────── */
.card,
.preview-card,
.event-card,
.testimonial-card,
.story-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover,
.preview-card:hover,
.event-card:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 31, 25, 0.22);
  box-shadow: 0 12px 36px rgba(40, 25, 15, 0.12);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 31, 25, 0.2);
  box-shadow: 0 10px 30px rgba(40, 25, 15, 0.10);
}

.story-card:hover {
  border-color: rgba(40, 31, 25, 0.2);
}

/* ── Timeline badge ─────────────────────────────────────────────── */
.timeline-badge {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.timeline-item:hover .timeline-badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: #9f836c;
  color: #281f19;
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-list summary:hover {
  color: #1c1410;
}

/* ── Focus-visible for interactive inner-page elements ───────────── */
.faq-list summary:focus-visible,
.card:focus-visible,
.event-card:focus-visible,
.testimonial-card:focus-visible,
.story-card:focus-visible {
  outline: 2px solid rgba(40, 31, 25, 0.55);
  outline-offset: 3px;
}

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .card,
  .preview-card,
  .event-card,
  .testimonial-card,
  .story-card,
  .timeline-badge,
  .site-header.scrolled,
  .site-header.scrolled::before {
    transition: none !important;
  }
}
