/* AQF BUILD VERSION: client-story.css hero-reset-v3 | 2026-07-01 | Split hero reset with compact story meta row */

.client-story-page {
  --story-blue: #00AEEF;
  --story-orange: #F7931F;
  --story-navy: #000033;
  --story-ink: #071E2D;
  --story-muted: rgba(7,30,45,.68);
  --story-sand: #f6f1e8;
  --story-soft: #eefbfe;
  --story-white: #ffffff;
  --story-serif: "Libre Baskerville", Georgia, serif;
  --story-sans: "Montserrat", Arial, sans-serif;
  background: #fff;
  color: var(--story-ink);
}

.client-story-page h1,
.client-story-page h2,
.client-story-page h3 { font-family: var(--story-serif); letter-spacing: -0.035em; }
.client-story-page p,
.client-story-page a,
.client-story-page span { font-family: var(--story-sans); }

.story-kicker,
.story-label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--story-orange); font-size: .72rem; font-weight: 900; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase; }
.story-back-link { display: inline-flex; margin-bottom: 28px; color: rgba(255,255,255,.76); font-family: var(--story-sans); font-size: .75rem; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; text-decoration: none; transition: color 160ms ease; }
.story-back-link:hover { color: var(--story-orange); }

/* STORY HERO
   Section: Work Out Your Babies hero reset
   Purpose: Buildable split hero: teal/navy reading field left, image right, compact story meta row below. */
.story-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  /* Reach pure navy by 20% — the exact point where the image panel now begins — so the
     teal→navy wash meets the image's navy overlay edge with no visible seam. */
  background:
    linear-gradient(
      90deg,
      #006778 0%,
      #00495f 11%,
      #001c35 16%,
      #000033 20%,
      #000033 100%
    );
  color: #fff;
}

.story-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 20%;
  min-height: 650px;
  overflow: hidden;
}

.story-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,51,1) 0%,
      rgba(0,0,51,.8) 5%,
      rgba(0,0,51,.34) 14%,
      rgba(0,0,51,.08) 25%,
      rgba(0,0,51,0) 35%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,51,0) 0%,
      rgba(0,0,51,0) 44%,
      rgba(0,0,51,.30) 100%
    );
  pointer-events: none;
}

.story-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 58%;
  filter: saturate(1.14) contrast(1.1) brightness(1.03);
}

.story-hero__content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 104px 0 120px clamp(40px, 5.6vw, 78px);
}

.story-hero__content::before {
  content: "";
  display: none;
}

.story-label {
  margin-bottom: 30px;
}

.story-label::after {
  content: "";
  display: block;
  width: 66px;
  height: 2px;
  margin-top: 18px;
  background: var(--story-orange);
}

.story-hero h1 {
  max-width: 560px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(4rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 0 14px 34px rgba(0,0,51,.34);
}

.story-hero-copy {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.72;
  font-weight: 600;
}

.story-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 280px;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 28px;
  border: 2px solid rgba(255,255,255,.92);
  color: #fff;
  background: rgba(0,0,51,.08);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.story-hero-cta span {
  color: var(--story-orange);
  font-size: 1.3rem;
  line-height: 1;
}

.story-hero-cta:hover {
  border-color: var(--story-orange);
  color: var(--story-orange);
  background: rgba(255,255,255,.07);
}

.story-snapshot {
  position: relative;
  z-index: 4;
  margin-top: -80px;
  background: rgba(0,0,51,.92);
  border-top: 1px solid rgba(180,238,242,.55);
  border-bottom: 1px solid rgba(0,0,51,.16);
}

.story-snapshot__grid {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.story-snapshot__item {
  min-height: 80px;
  padding: 18px clamp(18px, 3vw, 40px);
  border-right: 1px solid rgba(180,238,242,.55);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 16px;
}

.story-snapshot__item:last-child {
  border-right: 0;
}

.story-snapshot__item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.94);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.story-snapshot__item strong {
  display: block;
  color: #fff;
  font-family: var(--story-sans);
  font-size: clamp(.95rem, 1.2vw, 1.06rem);
  line-height: 1.35;
  font-weight: 600;
}

.story-snapshot__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: rgba(198, 244, 247, 0.92);
}
.story-snapshot__text { min-width: 0; }

.story-section { padding: clamp(76px, 8vw, 116px) 0; }
.story-split,
.story-media-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(34px, 6vw, 72px); align-items: center; }
.story-split--reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.story-split--reverse .story-copy { order: 2; }
.story-split--reverse .story-image-card { order: 1; }
.story-copy h2,
.story-section-head h2,
.story-final-note h2,
.story-cta h2 { margin: 0; color: var(--story-navy); font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.12; }
.story-copy p:not(.story-kicker),
.story-section-head p:not(.story-kicker),
.story-final-note p:not(.story-kicker),
.story-cta p:not(.story-kicker) { margin: 20px 0 0; color: var(--story-muted); font-size: 1.02rem; line-height: 1.82; font-weight: 600; }
.story-image-card { position: relative; margin: 0; overflow: hidden; border-radius: 28px; background: var(--story-navy); box-shadow: 0 30px 70px rgba(7,30,45,.18); }
.story-image-card img { width: 100%; height: clamp(430px, 42vw, 620px); object-fit: cover; object-position: center; filter: saturate(1.05) contrast(1.04); }
.story-image-card--tall img { height: clamp(500px, 46vw, 700px); }
.story-image-card figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 12px 14px; border-radius: 16px; background: rgba(0,0,51,.70); color: rgba(255,255,255,.88); font-family: var(--story-sans); font-size: .76rem; font-weight: 700; line-height: 1.45; backdrop-filter: blur(8px); }

.story-water-sense { padding: clamp(80px, 8vw, 118px) 0; background: linear-gradient(180deg, #eef9fb 0%, #f7f4ec 100%); }
.story-section-head { max-width: 980px; margin: 0 auto 44px; text-align: center; }
.story-section-head--left { margin-left: 0; text-align: left; }
.story-section-head h2 { max-width: 880px; margin: 0 auto; }
.story-section-head--left h2 { margin-left: 0; }
.story-section-head p:not(.story-kicker) { max-width: 810px; margin-left: auto; margin-right: auto; }
.story-section-head--left p:not(.story-kicker) { margin-left: 0; }
.story-benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.story-benefit { min-height: 280px; padding: 30px 26px; border-radius: 24px; background: rgba(255,255,255,.92); border: 1px solid rgba(7,30,45,.08); box-shadow: 0 24px 56px rgba(7,30,45,.10); }
.story-benefit span { display: inline-flex; margin-bottom: 22px; color: rgba(247,147,31,.82); font-family: var(--story-serif); font-size: 2.4rem; line-height: 1; }
.story-benefit h3 { margin: 0 0 12px; color: var(--story-navy); font-size: 1.3rem; line-height: 1.25; }
.story-benefit p { margin: 0; color: rgba(7,30,45,.66); font-size: .92rem; line-height: 1.7; font-weight: 600; }

.story-media-moment { background: #fff; }
.story-media-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.story-video-card { position: relative; min-height: 560px; border-radius: 30px; overflow: hidden; background: var(--story-navy); box-shadow: 0 30px 70px rgba(7,30,45,.18); }
.story-video-card img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center; filter: saturate(1.08) contrast(1.05); }
.story-video-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,51,.06), rgba(0,0,51,.52)), radial-gradient(circle at 50% 50%, rgba(0,174,239,.12), transparent 44%); }
.story-video-overlay { position: absolute; left: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 999px; background: rgba(0,0,51,.72); color: #fff; font-family: var(--story-sans); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.story-play { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--story-orange); color: var(--story-navy); font-size: .9rem; }
.story-video-overlay p { margin: 0; color: #fff; font-size: .72rem; }

.story-focus-band { padding: 34px 0; background: var(--story-navy); color: #fff; }
.story-focus-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.story-focus-item { min-height: 94px; display: grid; place-items: center; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); text-align: center; }
.story-focus-item span { color: rgba(255,255,255,.88); font-size: .76rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

.story-gallery { background: radial-gradient(circle at top right, rgba(0,174,239,.12), transparent 30%), var(--story-sand); }
.story-gallery-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; margin-top: 38px; }
.story-gallery-grid figure { margin: 0; border-radius: 28px; overflow: hidden; background: var(--story-navy); box-shadow: 0 24px 56px rgba(7,30,45,.13); }
.story-gallery-grid img { width: 100%; height: clamp(360px, 36vw, 520px); object-fit: cover; object-position: center; }
.story-final-note { padding: clamp(76px, 8vw, 114px) 0; background: #fff; }
.story-final-note__inner { max-width: 920px; text-align: center; }
.story-final-note h2 { color: var(--story-navy); }
.story-final-note p:not(.story-kicker) { max-width: 780px; margin-left: auto; margin-right: auto; color: rgba(7,30,45,.74); font-size: clamp(1.05rem, 1.55vw, 1.28rem); }

.story-cta { position: relative; overflow: hidden; padding: clamp(76px, 8vw, 112px) 0; color: #fff; background: linear-gradient(135deg, rgba(0,0,51,.72), rgba(0,0,51,.48)), url("../images/clients/template/water-story-texture.jpg") center center / cover no-repeat; }
.story-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(0,174,239,.22), transparent 30%), radial-gradient(circle at 86% 72%, rgba(247,147,31,.14), transparent 28%); pointer-events: none; }
.story-cta__inner { position: relative; z-index: 2; max-width: 850px; text-align: center; }
.story-cta h2 { color: #fff; }
.story-cta p:not(.story-kicker) { max-width: 720px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,.86); }
.story-cta-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; margin-top: 30px; padding: 16px 26px; border: 1px solid rgba(255,255,255,.68); color: var(--story-orange); background: rgba(0,0,51,.12); font-family: var(--story-sans); font-size: .74rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; transition: border-color 160ms ease, color 160ms ease, background 160ms ease; }
.story-cta-link span { display: inline-block; width: 34px; height: 1px; background: var(--story-blue); transition: width 180ms ease, background 160ms ease; }
.story-cta-link:hover { border-color: var(--story-orange); color: #fff; background: rgba(255,255,255,.08); }
.story-cta-link:hover span { width: 48px; background: var(--story-orange); }

@media (max-width: 1100px) {
  .story-hero { min-height: 610px; }
  .story-hero__media { left: 38%; min-height: 610px; }
  .story-hero__media img { object-position: 44% 50%; }
  .story-hero__content { max-width: 560px; padding-left: 48px; padding-top: 88px; }
  .story-hero h1 { font-size: clamp(3.45rem, 6.4vw, 4.65rem); }
  .story-snapshot__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .story-snapshot__item:nth-child(2) { border-right: 0; }
  .story-snapshot__item:nth-child(1), .story-snapshot__item:nth-child(2) { border-bottom: 1px solid rgba(180,238,242,.40); }
  .story-benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .story-focus-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .story-hero, .story-hero--image-left {
    display: flex;
    flex-direction: column;
    min-height: auto;
    background: linear-gradient(180deg, #006778 0%, #000033 100%);
  }

  .story-hero__media,
  .story-hero--image-left .story-hero__media {
    position: relative;
    order: 1;
    inset: auto;
    width: 100%;
    min-height: 390px;
    clip-path: none;
  }

  .story-hero__media::before {
    background:
      linear-gradient(180deg, rgba(0,0,51,.06) 0%, rgba(0,0,51,.34) 100%),
      linear-gradient(90deg, rgba(0,0,51,.18), rgba(0,0,51,0) 42%);
  }

  .story-hero__media img {
    height: 390px;
    object-position: 48% 50%;
  }

  .story-hero__content,
  .story-hero--image-left .story-hero__content {
    order: 2;
    max-width: 100%;
    padding: 44px 30px 58px;
  }

  .story-label { margin-bottom: 32px; }
  .story-hero h1 { font-size: clamp(2.55rem, 9vw, 4rem); }
  .story-hero-cta { width: 100%; max-width: 320px; }

  .story-snapshot {
    margin-top: 0;
  }

  .story-snapshot__grid,
  .story-split,
  .story-split--reverse,
  .story-media-grid,
  .story-gallery-grid {
    grid-template-columns: 1fr;
  }

  .story-split--reverse .story-copy,
  .story-split--reverse .story-image-card {
    order: initial;
  }

  .story-section { padding: 64px 0; }
  .story-copy h2, .story-section-head h2, .story-final-note h2, .story-cta h2 { font-size: clamp(1.8rem, 7vw, 2.55rem); }
  .story-video-card, .story-video-card img { min-height: 420px; }
  .story-focus-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .story-hero__media, .story-hero__media img { min-height: 320px; height: 320px; }
  .story-hero__media img { object-position: 50% 50%; }
  .story-hero__content { padding: 38px 24px 50px; }
  .story-label, .story-kicker { font-size: .62rem; letter-spacing: .12em; }
  .story-hero h1 { font-size: clamp(2.15rem, 12vw, 3rem); }
  .story-hero-copy { font-size: .94rem; line-height: 1.68; }
  .story-hero-cta { min-width: 0; max-width: none; }
  .story-snapshot__grid { grid-template-columns: 1fr; border-radius: 0; }
  .story-snapshot__item { min-height: auto; padding: 18px 22px; border-right: 0; border-bottom: 1px solid rgba(180,238,242,.34); }
  .story-snapshot__item:last-child { border-bottom: 0; }
  .story-section, .story-water-sense, .story-final-note, .story-cta { padding: 56px 0; }
  .story-copy p:not(.story-kicker), .story-section-head p:not(.story-kicker), .story-final-note p:not(.story-kicker), .story-cta p:not(.story-kicker) { font-size: .94rem; line-height: 1.7; }
  .story-image-card { border-radius: 20px; }
  .story-image-card img, .story-image-card--tall img, .story-gallery-grid img { height: 330px; }
  .story-image-card figcaption { position: static; border-radius: 0; background: var(--story-navy); }
  .story-benefit-grid, .story-focus-grid { grid-template-columns: 1fr; }
  .story-benefit { min-height: auto; }
  .story-video-card, .story-video-card img { min-height: 340px; }
  .story-video-overlay { left: 18px; bottom: 18px; gap: 10px; }
  .story-play { width: 36px; height: 36px; }
  .story-cta-link { width: 100%; gap: 12px; }
}
