/* Long-form post styling — high-dwell, calm, scannable.
   Layered on top of pages.css for blog/* posts. */

.post-hero{
  padding: clamp(56px, 9vw, 96px) 0 clamp(20px, 3vw, 36px);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.post-hero::before{
  content:""; position:absolute; inset:-8%;
  background:
    radial-gradient(540px 380px at 18% 20%, rgba(232,155,142,.30), transparent 65%),
    radial-gradient(560px 400px at 82% 30%, rgba(159,212,179,.28), transparent 65%),
    radial-gradient(440px 320px at 50% 100%, rgba(255,201,138,.32), transparent 65%);
  z-index:-1;
  filter: blur(2px);
  animation: postHeroAura 24s ease-in-out infinite alternate;
}
@keyframes postHeroAura{
  0%   { transform: translate3d(0,0,0) scale(1) }
  50%  { transform: translate3d(-1.5%, 1%, 0) scale(1.03) }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1.02) }
}
@media (prefers-reduced-motion: reduce){ .post-hero::before{ animation: none } }
.post-hero .crumbs{
  font-size: .82rem;
  color: var(--navy-soft);
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.post-hero .crumbs a{
  color: var(--navy-soft);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.post-hero .crumbs a:hover{ color: var(--blush-deep); border-color: var(--blush) }
.post-hero .crumbs span[aria-hidden]{ margin: 0 8px; opacity: .6 }
.post-hero .tag{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,253,248,.85);
  border: 1px solid rgba(44,62,80,.1);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--blush-deep);
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.post-hero h1{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 22ch;
  margin: 0 auto 18px;
  color: var(--navy);
  text-wrap: balance;
}
.post-hero h1 .swoop{
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--blush-deep);
  font-variation-settings: "opsz" 144;
}
.post-hero h1 .swoop::after{
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M2 10 C 60 2, 120 14, 180 6 S 290 4, 298 8' stroke='%23EA8E7F' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  opacity: 0;
  animation: postSwoop .7s var(--ease-smooth) .8s forwards;
}
@keyframes postSwoop{ from{ opacity:0; clip-path: inset(0 100% 0 0) } to{ opacity:1; clip-path: inset(0 0 0 0) } }
.post-hero .lead{
  color: var(--navy-soft);
  max-width: 56ch;
  margin: 0 auto 24px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}
.post-hero .byline{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  background: rgba(255,253,248,.78);
  border-radius: 999px;
  border: 1px solid rgba(44,62,80,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .88rem;
  color: var(--navy);
  text-align: left;
}
.post-hero .byline .av{
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blush) 0%, var(--blush-deep) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600;
  flex-shrink: 0;
}
.post-hero .byline b{ color: var(--navy); font-weight: 600 }
.post-hero .byline small{ color: var(--navy-soft); font-size: .78rem }

/* Long-form body — wider, taller line-height, reading-grade typography */
.post-prose{
  max-width: 700px;
  margin: clamp(20px, 3vw, 36px) auto;
  padding: 0 clamp(18px, 4vw, 28px);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
}
.post-prose p{ margin: 0 0 1.2em; text-wrap: pretty }
.post-prose h2{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--navy);
  margin: 2em 0 .5em;
  letter-spacing: -.01em;
}
.post-prose h3{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.18rem, 1.8vw, 1.32rem);
  color: var(--navy);
  margin: 1.5em 0 .4em;
}
.post-prose ul, .post-prose ol{
  padding-left: 1.5em;
  margin: 0 0 1.4em;
}
.post-prose ol{ counter-reset: item; padding-left: 0; list-style: none }
.post-prose ol li{
  counter-increment: item;
  position: relative;
  padding-left: 2.4em;
  margin-bottom: .6em;
}
.post-prose ol li::before{
  content: counter(item, decimal-leading-zero);
  position: absolute; left: 0; top: .15em;
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  color: var(--blush-deep);
  font-size: .98em;
  letter-spacing: -.02em;
  width: 2em;
}
.post-prose ul li{ margin-bottom: .4em }
.post-prose strong{ color: var(--navy); font-weight: 600 }
.post-prose em.hand{
  font-family: var(--f-hand);
  font-style: normal;
  color: var(--blush-deep);
  font-weight: 600;
  font-size: 1.18em;
}
.post-prose a{
  color: var(--blush-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.post-prose a:hover{ color: var(--navy) }
.post-prose hr{
  border: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--blush) 0 6px, transparent 6px 14px);
  margin: clamp(36px, 5vw, 56px) 0;
}

.post-prose .dropcap::first-letter{
  float: left;
  font-family: var(--f-display);
  font-size: 4.4em;
  line-height: .9;
  font-weight: 400;
  font-style: italic;
  color: var(--blush-deep);
  padding: .04em .12em 0 0;
  font-variation-settings: "opsz" 144;
}

.post-prose .callout{
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 28px);
  margin: clamp(28px, 4vw, 44px) 0;
  background:
    radial-gradient(360px 220px at 20% 0%, rgba(255,201,138,.4), transparent 70%),
    linear-gradient(135deg, rgba(255,201,138,.18), rgba(159,212,179,.22));
  border: 1px solid rgba(190,82,65,.15);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-warm);
}
.post-prose .callout p{ margin: 0 0 .6em }
.post-prose .callout-icon{
  font-size: 2.2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(190,82,65,.25));
}

.post-prose blockquote{
  margin: 1.5em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--blush);
  background: rgba(232,155,142,.06);
  border-radius: 0 12px 12px 0;
  font-family: var(--f-display);
  font-style: italic;
  color: var(--navy);
  font-size: 1.08em;
  line-height: 1.5;
}

.post-prose figure{
  margin: 2em 0;
  text-align: center;
}
.post-prose figcaption{
  font-size: .88rem;
  color: var(--navy-soft);
  margin-top: 8px;
  font-style: italic;
}

/* Smooth fade-in on hero block */
.post-hero > .wrap > *{
  animation: postRise .8s var(--ease-smooth) both;
}
.post-hero > .wrap > *:nth-child(1){ animation-delay: .05s }
.post-hero > .wrap > *:nth-child(2){ animation-delay: .15s }
.post-hero > .wrap > *:nth-child(3){ animation-delay: .25s }
.post-hero > .wrap > *:nth-child(4){ animation-delay: .35s }
.post-hero > .wrap > *:nth-child(5){ animation-delay: .45s }
@keyframes postRise{
  from{ opacity:0; transform: translateY(18px) }
  to{ opacity:1; transform: none }
}
@media (prefers-reduced-motion: reduce){
  .post-hero > .wrap > *{ animation: none }
  .post-hero h1 .swoop::after{ animation: none; opacity: 1; clip-path: none }
}
