/* ===== Cover Story UI redesign 2026-10-01 ===== */
body.ce-coverstory { overflow-x: hidden; }
.cs-cover {
  position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end;
  padding: 0 0 2.5rem; color: #f6f1e7; isolation: isolate;
}
.cs-cover-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.cs-cover-atmos {
  position: absolute; inset: -8% -4%; width: 108%; height: 116%; object-fit: cover;
  transform: scale(1.06); animation: csKen 28s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.05);
}
.cs-mosaic {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 6px; padding: 6px; opacity: .92; mix-blend-mode: normal;
}
.cs-mosaic img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.cs-mosaic img:nth-child(1) { grid-row: 1 / 3; }
.cs-cover-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,40,34,.25) 0%, rgba(22,40,34,.55) 45%, rgba(15,28,24,.88) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(31,75,63,.35), transparent 55%);
}
.cs-cover-fore { position: relative; z-index: 2; padding-bottom: .5rem; max-width: 40rem; }
.cs-eyebrow {
  display: inline-flex; gap: .6rem; font: 600 .72rem/1 Inter,system-ui,sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: #cfe0d8; margin: 0 0 .85rem;
}
.cs-title {
  font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: clamp(2.2rem, 8vw, 3.6rem);
  line-height: 1.02; letter-spacing: -.03em; margin: 0 0 .75rem; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.cs-lede {
  font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  line-height: 1.45; color: #e8efe9; margin: 0 0 1.25rem; max-width: 32rem;
}
.cs-cover-cta { box-shadow: 0 12px 32px rgba(0,0,0,.28); }
@keyframes csKen { from { transform: scale(1.06) translate3d(0,0,0);} to { transform: scale(1.12) translate3d(-1.5%, -1%, 0);} }

.cs-bento { padding: 2.5rem 0 1.5rem; background: #f6f1e7; }
.cs-section-head { margin-bottom: 1.25rem; }
.cs-section-head p { color: #3f3b33; max-width: 36em; margin: .4rem 0 0; }
.cs-bento-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .cs-bento-grid { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; }
  .cs-card:nth-child(1) { grid-row: span 2; }
  .cs-card:nth-child(1) .cs-card-media { aspect-ratio: 4/5; min-height: 100%; }
}
.cs-card {
  display: flex; flex-direction: column; background: #fbf8f2; border: 1px solid #dbd1bd;
  border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 10px 28px rgba(30,28,24,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cs-card:hover, .cs-card:focus-visible {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(30,28,24,.12);
}
.cs-card-media { margin: 0; aspect-ratio: 16/10; overflow: hidden; background: #1f4b3f; }
.cs-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s ease;
}
.cs-card:hover .cs-card-media img { transform: scale(1.06); }
.cs-card-body { padding: 1rem 1.1rem 1.15rem; }
.cs-card-body h3 {
  font-family: Fraunces, Georgia, serif; font-size: 1.35rem; line-height: 1.15;
  margin: 0 0 .45rem; letter-spacing: -.02em;
}
.cs-card-body p { margin: 0 0 .75rem; color: #3f3b33; font-size: .98rem; }

/* mobile horizontal snap for first-screen linger */
@media (max-width: 719px) {
  .cs-bento-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    padding-bottom: .5rem; -webkit-overflow-scrolling: touch;
  }
  .cs-card { min-width: min(86vw, 340px); scroll-snap-align: start; flex: 0 0 auto; }
}

.cs-ask { padding: 1.25rem 0 2.5rem; background: linear-gradient(180deg, #f6f1e7, #efe6d6); }
.cs-ask-shell {
  display: grid; gap: 1.25rem; padding: 1.35rem; border-radius: 18px;
  background: rgba(251,248,242,.92); border: 1px solid #dbd1bd;
  box-shadow: 0 16px 40px rgba(31,75,63,.08);
}
@media (min-width: 860px) { .cs-ask-shell { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.cs-ask-field { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-ask-field input {
  flex: 1 1 220px; min-height: 48px; border-radius: 10px; border: 1.5px solid #1f4b3f;
  padding: 0 14px; font: 500 1rem/1.2 Inter,system-ui,sans-serif; background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.cs-ask-field input:focus {
  outline: none; box-shadow: 0 0 0 4px rgba(31,75,63,.22); border-color: #163a30;
}
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cs-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid #1f4b3f; color: #1f4b3f; text-decoration: none;
  font: 600 .88rem/1 Inter,system-ui,sans-serif; background: #e1eae2;
  animation: csChipPulse 3.6s ease-in-out infinite;
  animation-delay: calc(var(--c, 0) * .2s);
}
.cs-chip:nth-child(1){--c:0}.cs-chip:nth-child(2){--c:1}.cs-chip:nth-child(3){--c:2}.cs-chip:nth-child(4){--c:3}
.cs-chip:hover { background: #1f4b3f; color: #f6f1e7; }
@keyframes csChipPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(31,75,63,0); }
  50% { box-shadow: 0 0 0 6px rgba(31,75,63,.08); }
}

.cs-trust { padding: 0 0 2.75rem; background: #efe6d6; }
.cs-trust-in {
  padding: 1.1rem 1.2rem; border-left: 4px solid #1f4b3f; background: #fbf8f2;
  border-radius: 0 12px 12px 0;
}
.cs-disclose { margin: .75rem 0 0; font-size: .92rem; color: #3f3b33; }

/* reveals */
.cs-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.cs-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .cs-cover-atmos { animation: none !important; }
  .cs-chip { animation: none !important; }
  .cs-reveal { opacity: 1; transform: none; transition: none; }
  .cs-card, .cs-card-media img { transition: none !important; }
}

/* fallback if atmosphere missing */
.cs-cover-atmos[src$="cover-atmosphere.png"] { background: #1f4b3f; }

/* ===== EDGE: recipient-first shortlists 2026-10-01 ===== */
.cs-cover { min-height: min(96vh, 900px); align-items: flex-end; }
.cs-cover-fore { max-width: 42rem; }
.cs-edge { margin: 0 0 1.15rem; }
.cs-edge-label {
  margin: 0 0 .45rem; font: 600 .7rem/1.2 Inter,system-ui,sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: #cfe0d8;
}
.cs-edge-label + .cs-who,
.cs-edge-label + .cs-budget { margin-bottom: .85rem; }
.cs-who, .cs-budget { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-who-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 16px; border-radius: 999px;
  background: rgba(246,241,231,.96); color: #163a30; text-decoration: none;
  font: 700 .95rem/1 Inter,system-ui,sans-serif; letter-spacing: -.01em;
  border: 1px solid rgba(246,241,231,.55);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.cs-who-chip:hover, .cs-who-chip:focus-visible {
  background: #1f4b3f; color: #f6f1e7; transform: translateY(-2px);
  outline: none;
}
.cs-budget-pill {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px;
  border-radius: 999px; text-decoration: none; color: #e8efe9;
  font: 600 .82rem/1 Inter,system-ui,sans-serif;
  border: 1px solid rgba(207,224,216,.55); background: rgba(22,40,34,.35);
  backdrop-filter: blur(6px); transition: background .18s ease, border-color .18s ease;
}
.cs-budget-pill:hover, .cs-budget-pill:focus-visible {
  background: rgba(31,75,63,.85); border-color: #cfe0d8; outline: none;
}
@media (max-width: 719px) {
  .cs-title { font-size: clamp(1.85rem, 7.2vw, 2.6rem); }
  .cs-who-chip { flex: 1 1 calc(50% - 8px); min-width: calc(50% - 8px); }
  .cs-cover { min-height: min(100svh, 860px); padding-bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-who-chip, .cs-budget-pill { transition: none !important; }
}
