/* =============================================
   ZAYTONA GRILL — story.css  v3
   ============================================= */

/* HERO: plain calm olive/ink panel. Photo slot is documented in our-story.html (.story-hero.has-photo). */
.story-hero {
  /* Dark only where the text sits (left), clear on the right so the church shows. */
  --story-hero-photo-overlay:
    linear-gradient(90deg, rgba(10,14,5,0.74) 0%, rgba(10,14,5,0.52) 55%, rgba(10,14,5,0.04) 88%),
    linear-gradient(0deg, rgba(10,14,5,0.35) 0%, rgba(10,14,5,0) 40%),
    linear-gradient(180deg, rgba(10,14,5,0.6) 0, rgba(10,14,5,0) 7.5rem);
  min-height: clamp(26rem, 64vh, 36rem);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--olive-dark);
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
}
.story-hero-bg { position: absolute; inset: 0; }
.story-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 76% 25%;
}
.story-hero.has-photo .story-hero-bg::after {
  content: ""; position: absolute; inset: 0; background: var(--story-hero-photo-overlay);
}
.story-hero-content {
  position: relative; z-index: 2;
  color: #fff;
}
.story-hero-content > * { max-width: 700px; }
.story-hero-content h1 { color: #fff; margin: 0.75rem 0 0.875rem; }
.story-hero-content h1 em { color: #e9c46a; }
.story-hero-content p  { color: #f1eee6; font-size: var(--fs-body); }
.story-hero-content p.eyebrow { color: #f1eee6; font-size: var(--fs-small); margin-bottom: 0; }
/* Phones: the text spans the width, so darken from the bottom up and leave the top clear for the church. */
@media (max-width: 700px) {
  .story-hero {
    --story-hero-photo-overlay:
      linear-gradient(0deg, rgba(10,14,5,0.86) 0%, rgba(10,14,5,0.66) 42%, rgba(10,14,5,0.10) 78%),
      linear-gradient(180deg, rgba(10,14,5,0.35) 0%, rgba(10,14,5,0) 22%);
    min-height: 30rem;
  }
}

/* MAIN BODY */
.story-main { background: var(--off-white); padding: 3rem 0; }
.story-body {
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* STORY TEXT: the client's seven paragraphs */
.story-text { max-width: 760px; }
.story-text p { color: var(--ink-mid); font-size: var(--text-md); line-height: 1.85; }
.story-text p + p { margin-top: 1.25rem; }

/* CALLS TO ACTION */
.promise-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Desktop-only photo credit (CC BY-SA 2.0). The wide crop is not served under 900px, so neither is the credit. */
.story-hero-credit { display: none; }
@media (min-width: 900px) {
  .story-hero-credit { display: block; position: absolute; right: var(--gutter); bottom: .75rem; z-index: 2; margin: 0; font-size: var(--text-xs, .75rem); }
  .story-hero-credit a { color: rgba(255,255,255,.8); text-decoration: none; }
  .story-hero-credit a:hover, .story-hero-credit a:focus-visible { color: #fff; text-decoration: underline; }
}
