/* Page sections, top to bottom. */

/* ── Top bar ── */
.site-bar {
  position: fixed;
  background: linear-gradient(to bottom, rgba(16, 13, 11, 0.94) 0%, rgba(16, 13, 11, 0.7) 60%, rgba(16, 13, 11, 0) 100%);
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px var(--gutter);
}
.site-bar-credit {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-right: auto;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-portrait {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(56vw, 900px);
  z-index: -1;
}
.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 52% 48%, rgba(107, 74, 52, 0.38), transparent 70%);
}
.hero-portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 96%);
  mask-composite: intersect;
}
.hero-copy { position: relative; }
.hero-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(5.5rem, 16.5vw, 15.5rem);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 18px 0 26px -0.04em;
}
.hero-title img { width: clamp(260px, 42.5vw, 600px); height: auto; }
.hero-lede { max-width: 46ch; margin-top: 22px; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 36px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(32px, 6vw, 88px);
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 24px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.hero-facts dd { font-family: var(--font-label); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); margin-top: 6px; }

/* ── Shared section frame ── */
.section {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3.2fr);
  column-gap: clamp(32px, 6vw, 96px);
}
.band, .give { scroll-margin-top: 72px; }

/* ── Bands: each section is a full-width block of one tone, so the page reads as distinct parts ── */
.band { padding-block: clamp(72px, 9vw, 136px); }
.band-ink { background: var(--ink); }
.band-warm { background: #1d1511; border-block: 1px solid var(--line); }
.band-black { background: #060504; border-top: 1px solid var(--line); }
.band-cream { background: var(--cream); color: #2e2621; }
.band-cream .display { color: var(--ink); }
.section-head { grid-column: 1 / -1; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-lede { margin-top: 14px; max-width: 54ch; font-size: 1.1rem; }
.section-head .display { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 20ch; }
.section-head .eyebrow { margin-bottom: 14px; }
.story-body, .gifts-body { grid-column: 2; }
.director-body { grid-column: 1 / -1; }
.section-cta { margin-top: 36px; }

/* ── Story ── */
.story { grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); align-items: start; }
.story-art { grid-column: 1; width: 100%; }
.story-body > * + * { margin-top: 28px; }
.story-body p { max-width: 62ch; }
/* The one line in a section that should stand out from the body text. */
.story-body .pull-line { font-family: var(--font-label); font-weight: 600; font-size: clamp(1.2rem, 1.75vw, 1.55rem); line-height: 1.4; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream); max-width: 30ch; margin-top: 44px; position: relative; padding-left: 26px; }
/* Statement lines: red, all caps, no italics. */
.story-lead { font-family: var(--font-label); font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); max-width: none !important; white-space: nowrap; }

/* ── Teaser ── */
.teaser { display: block; }
.teaser-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #070605;
  border: 1px solid var(--line);
  overflow: hidden;
}
.teaser-title { font-family: var(--font-title); font-size: clamp(4rem, 19vw, 17rem); line-height: 1; color: var(--cream); opacity: 0.94; }
.teaser-play {
  position: absolute;
  width: clamp(64px, 8vw, 104px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 40px -18px rgba(16, 13, 11, 0.9);
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.teaser-play svg { width: 44%; }
.teaser-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.teaser-play:hover { transform: scale(1.06); background: var(--red-deep); }
.teaser-play:active { transform: scale(0.97); }
.teaser-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }

/* ── Funds ── */
.funds-body { grid-column: 2; }
.funds-copy > * + * { margin-top: 28px; }
.funds-copy p { max-width: 62ch; }
.funds-copy .funds-line { font-family: var(--font-label); font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); max-width: 32ch; margin-top: 44px; }
.goal-amount { font-family: var(--font-title); font-size: clamp(4rem, 11vw, 9rem); line-height: 0.95; color: var(--cream); margin: 10px 0 26px; }
.goal-bar { height: 6px; background: rgba(236, 227, 210, 0.12); }
.goal-bar span { display: block; height: 100%; width: 0; background: var(--red); }
.goal-note { margin-top: 16px; font-size: 0.92rem; color: var(--cream-faint); }

/* ── Gifts ── */
.tiers { border-top: 1px solid var(--line); }
.tier { border-bottom: 1px solid var(--line); }
.tier summary { display: grid; grid-template-columns: minmax(96px, 9.5rem) minmax(0, 1fr) 20px; align-items: baseline; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.tier summary::-webkit-details-marker { display: none; }
.tier summary::after { content: '+'; font-family: var(--font-label); font-size: 1.3rem; line-height: 1; color: var(--red); justify-self: end; }
.tier details[open] summary::after { content: '\2212'; }
.tier-amount { font-family: var(--font-title); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; color: var(--cream); }
.tier-amount sup { font-size: 0.5em; color: var(--red); vertical-align: top; margin-left: 2px; }
.tier-gift { display: block; }
.tier-name { display: block; font-family: var(--font-label); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.tier-summary { display: block; margin-top: 4px; color: var(--cream); line-height: 1.45; max-width: 54ch; }
.tier summary:hover .tier-summary { text-decoration: underline; text-underline-offset: 3px; }
.tier-perks { padding: 4px 0 24px 0; margin-left: calc(9.5rem + 34px); max-width: 58ch; }
.tier-perks li { position: relative; padding-left: 24px; line-height: 1.5; }
.tier-perks li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--red); }
.tier-perks li + li { margin-top: 12px; }
.tier-perks strong { color: var(--cream); font-weight: 600; }
.tier-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: -4px 0 22px calc(9.5rem + 34px); }

/* ── Director ── */
.director-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; gap: clamp(32px, 6vw, 88px); }
.director-video {
  position: relative;
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  background: radial-gradient(80% 60% at 50% 38%, rgba(107, 74, 52, 0.45), #070605 78%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.director-video-label { position: absolute; left: 22px; bottom: 56px; font-family: var(--font-label); font-weight: 600; font-size: 1.5rem; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream); }
.director-video-flag { position: absolute; left: 22px; bottom: 18px; }
.director-note { max-width: 56ch; }
.director-note > * + * { margin-top: 22px; }
.director-note blockquote:not(.placeholder) { font-family: var(--font-label); font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream); position: relative; padding-left: 26px; }
/* The bar beside a quote or pull line is the red-and-black texture Jackie supplied, not a flat line. */
.director-note blockquote:not(.placeholder)::before, .story-body .pull-line::before { content: ''; position: absolute; left: 0; top: 0.25em; bottom: 0.25em; width: 8px; background: rgba(16, 13, 11, 0.5) url('../assets/quote-bar.webp?v=20261006f') center / 100% 100% no-repeat; }
.director-credit { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-left: 26px; }
.director-credit + p { margin-top: 32px; }
.director-name { font-family: var(--font-label); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); }
.director-role { font-family: var(--font-serif); font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-faint); }

.tiers-note { max-width: 68ch; margin-top: 20px; font-size: 0.86rem; line-height: 1.6; color: var(--cream-faint); }
.tiers-note a { color: var(--cream-soft); }

/* ── Give (red action band under the hero) ── */
/* The red texture is supplied art. The dark wash keeps cream text readable on it. */
.give, .closing { background: linear-gradient(rgba(16, 13, 11, 0.24), rgba(16, 13, 11, 0.24)), var(--red-deep) url('../assets/red-texture.jpg?v=20261006f') center / cover no-repeat; }
.give-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 104px); }
.give-goal-label { font-family: var(--font-label); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream); }
.give .goal-amount { font-size: clamp(3.6rem, 8vw, 7rem); }
.give .goal-bar { background: rgba(16, 13, 11, 0.32); }
.give .goal-bar span { background: var(--cream); }
.give .goal-note { color: rgba(236, 227, 210, 0.82); }
.give .placeholder { border-color: rgba(236, 227, 210, 0.6); color: rgba(236, 227, 210, 0.82); }
.give-title { font-family: var(--font-label); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--cream); margin: 0 0 28px; }
.give-title span { display: block; font-family: var(--font-title); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 0.95; margin-top: 6px; }
.witness-steps { list-style: none; max-width: 46ch; margin: 0 0 36px; padding: 0; border-top: 1px solid rgba(236, 227, 210, 0.3); }
.witness-steps li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(236, 227, 210, 0.3); color: var(--cream); }
.witness-steps strong { font-family: var(--font-label); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; }
.witness-steps a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ── Closing ── */
.closing-inner { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 4.9vw, 72px); }
.closing-art { width: min(100%, 360px); justify-self: center; }
.closing-copy .display { margin-top: 22px; }

/* ── Footer ── */
.site-footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding-block: 44px 84px; font-size: 0.85rem; color: var(--cream-faint); }
.site-footer p:first-of-type { font-family: var(--font-serif); letter-spacing: 0.3em; text-transform: uppercase; }
.footer-legal { margin-left: auto; max-width: 62ch; }

/* ── Small screens: one column ── */
@media (max-width: 860px) {
  .site-bar-credit { display: none; }
  .site-bar .wordmark { margin-right: auto; }
  .hero { padding-top: 0; }
  .hero-portrait { position: relative; inset: auto; width: 100%; height: 62vw; min-height: 300px; margin-bottom: -18vw; }
  .hero-portrait img { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 98%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 98%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero-title { font-size: clamp(5rem, 29vw, 11rem); }
  .hero .tagline { letter-spacing: 0.16em; font-size: 0.98rem; }
  .button { width: 100%; }
  .button-small { width: auto; }
  .section { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .funds-body, .story-body, .gifts-body { grid-column: 1; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-art { max-width: 420px; }
  .story-lead { white-space: normal; }
  .hero-title img { width: min(100%, 520px); }
  .tier summary { grid-template-columns: 84px minmax(0, 1fr) 20px; gap: 12px; }
  .tier-perks { margin-left: 0; }
  .tier-cta { margin-left: 0; }
  .give-inner, .closing-inner { grid-template-columns: minmax(0, 1fr); }
  .director-body { grid-template-columns: minmax(0, 1fr); }
  .director-video { max-width: 340px; }
  .closing-art { order: 2; max-width: 220px; justify-self: start; }
  .footer-legal { margin-left: 0; }
}
