/* ===========================================================
   Arie Bar David — The Legacy Project
   Olive + Gold · Fraunces (display) + Work Sans (body/UI)
   =========================================================== */

:root {
  --paper:  #F5F0E6;
  --ink:    #221D16;
  --tint:   #EAE3D3;
  --olive:  #2B3524;
  --gold:   #C9A24B;
  --gold-dk:#b48d38;
  --walnut: #4A3728;
  --muted:  #6a5d4b;
  --line:   #ddd4c1;
  --on-dark:#e9e2d1;
  --maxw:   1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

p { margin: 0 0 1.15em; }
a { color: var(--walnut); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dk);
  margin: 0 0 1.1em;
}
.center > .eyebrow, .eyebrow.center { text-align: center; }
.eyebrow-onphoto { color: #E8CC7E; font-weight: 600; }
/* bordered pill eyebrow (dark sections) */
.eyebrow.pill {
  display: inline-block;
  color: var(--gold);
  border: 1px solid rgba(201,162,75,0.55);
  border-radius: 3px;
  padding: 6px 14px;
  margin-bottom: 1.4em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  padding: 14px 26px;
  border-radius: 4px;
  transition: background .2s ease, transform .12s ease;
}
.btn:hover { background: var(--gold-dk); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 0.76rem; }
.btn-sm { padding: 10px 20px; font-size: 0.68rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--olive); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; }
.brand { text-decoration: none; line-height: 1.1; }
.brand-1, .brand-2 {
  display: block; font-family: "Fraunces", Georgia, serif; color: var(--paper);
}
.brand-1 { font-size: 1.12rem; font-weight: 600; }
.brand-2 { font-size: 0.82rem; color: var(--gold); letter-spacing: 0.02em; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 82vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--olive) url("images/hero.jpg") center 28% / cover no-repeat;
  color: var(--paper); overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,22,14,0.62) 0%, rgba(18,22,14,0.5) 45%, rgba(18,22,14,0.78) 100%);
}
.hero-inner { position: relative; padding: 96px 32px; max-width: 860px; text-shadow: 0 1px 12px rgba(10,14,6,0.55); }
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero-sub {
  color: rgba(245,240,230,0.92);
  font-size: 1.1rem; max-width: 620px; margin: 0 auto 1.9em;
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-olive { background: var(--olive); color: var(--on-dark); }
.section-olive h2 { color: #fff; }
.lede { font-size: 1.06rem; line-height: 1.75; color: rgba(233,226,209,0.86); max-width: 680px; margin-left: auto; margin-right: auto; }
.lede + .lede { margin-top: 1.2em; }
.lede-dark { font-size: 1.15rem; color: var(--muted); }

/* pull quote + rule */
blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: 1.35rem; line-height: 1.5; color: var(--walnut);
  margin: 0;
}
.rule { border: none; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- watch / poster ---------- */
.watch-poster {
  position: relative; max-width: 900px; margin: 2.8em auto 0;
  aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: #171c11 url("images/bts-5.jpg") center 36% / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.32);
}
.watch-poster::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,22,13,0.55) 0%, rgba(18,22,13,0.34) 42%, rgba(18,22,13,0.74) 100%),
    radial-gradient(ellipse at center, rgba(18,22,13,0.12) 0%, rgba(18,22,13,0.46) 100%);
}
.watch-poster-inner { position: relative; text-align: center; padding: 24px; }
.wp-eyebrow {
  font-family: "Work Sans", sans-serif; text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 0.82rem; font-weight: 600; color: #E8CC7E;
  margin: 0 0 0.6em; padding-left: 0.3em; text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}
.wp-title {
  font-family: "Fraunces", Georgia, serif; font-weight: 500; color: #fff;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 0.98; margin: 0;
  text-shadow: 0 2px 22px rgba(0,0,0,0.5);
}
.wp-divider { display: block; width: 74px; height: 2px; background: var(--gold); margin: 0.78em auto; }
.wp-episode {
  font-family: "Work Sans", sans-serif; text-transform: uppercase;
  letter-spacing: 0.36em; font-size: 0.8rem; font-weight: 600; color: rgba(245,240,230,0.95);
  margin: 0; padding-left: 0.36em; text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}
@media (max-width: 560px) {
  .wp-eyebrow, .wp-episode { letter-spacing: 0.2em; font-size: 0.75rem; }
}
.video-embed { position: relative; aspect-ratio: 16/9; margin: 2.4em auto 0; max-width: 860px; border-radius: 8px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- meet arie ---------- */
.meet { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.meet-photo { margin: 0; }
.meet-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 18% center; border-radius: 6px; display: block; }
.meet-text p { color: var(--muted); }
.meet-text p:first-of-type { color: var(--ink); }
@media (max-width: 840px) {
  .meet { grid-template-columns: 1fr; gap: 30px; }
  .meet-photo img { aspect-ratio: 3/2; }
}

/* ---------- roadmap ---------- */
.roadmap { list-style: none; margin: 2.6em 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.rm-step { position: relative; padding-top: 52px; padding-right: 12px; }
.rm-step::before {
  content: ""; position: absolute; top: 15px; left: 34px;
  width: calc(100% - 34px); height: 2px; background: #c9bfa8; z-index: 1;
}
.rm-step:last-child::before { display: none; }
.rm-dot {
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Work Sans", sans-serif; font-size: 0.85rem; font-weight: 600;
  background: transparent; border: 1.5px solid #b3a889; color: var(--muted); z-index: 2;
}
.rm-step.done .rm-dot { background: var(--olive); border-color: var(--olive); color: #fff; }
.rm-step.now  .rm-dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.rm-check { font-size: 0.8rem; }
.rm-label { display: block; font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink); }
.rm-note {
  display: block; margin-top: 4px; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dk);
}
@media (max-width: 720px) {
  .roadmap { grid-template-columns: 1fr; gap: 0; }
  .rm-step { padding: 0 0 30px 48px; }
  .rm-step::before { top: 6px; left: 16px; width: 2px; height: 100%; }
  .rm-step:last-child::before { display: none; }
  .rm-dot { top: 2px; }
}

/* ---------- proof gallery ---------- */
.proof-sub { color: var(--muted); margin-bottom: 2.4em; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; display: block; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- invitation ---------- */
#invite { scroll-margin-top: 86px; }
#invite .btn { margin: 0.6em 0 1.8em; }
.partner-note { max-width: 560px; margin: 0 auto 28px; color: var(--ink); font-size: 1rem; line-height: 1.65; text-wrap: pretty; }
.partner-note a, .other-giving a { color: var(--olive); text-underline-offset: 3px; }
.other-giving { max-width: 980px; margin: 48px auto 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.other-giving h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 0 0 32px; }
.giving-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.giving-method { min-width: 0; }
.giving-method-icon { display: block; margin: 0 auto 20px; object-fit: contain; }
.other-giving h3 { margin: 0 0 14px; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--olive); }
.other-giving p, .other-giving address { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; font-style: normal; }
.other-giving address { color: var(--ink); }
.other-giving a { overflow-wrap: anywhere; }
.other-giving a:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
.giving-method-copy > :last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .other-giving { margin-top: 36px; padding-top: 32px; }
  .giving-methods { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .giving-method { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .giving-method-icon { width: 40px; height: 40px; margin: 0; }
  .other-giving h3 { margin-bottom: 10px; }
}
.fineprint { font-size: 0.85rem; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ---------- footer ---------- */
.site-footer { background: var(--olive); color: rgba(233,226,209,0.7); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; }
.foot-brand { font-family: "Fraunces", Georgia, serif; color: var(--paper); font-size: 1.1rem; margin: 0 0 6px; }
.foot-brand span { color: var(--gold); font-size: 0.9rem; }
.foot-muted { margin: 0; font-size: 0.85rem; max-width: 420px; }
.foot-right { text-align: right; font-size: 0.85rem; }
.foot-right p { margin: 0 0 5px; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 620px) { .footer-inner { flex-direction: column; } .foot-right { text-align: left; } }
