/* ==========================================================================
   HOME PAGE STYLES
   ========================================================================== */

.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---- Hero ---- */
.hero{
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(228,168,132,.35), transparent 65%),
    radial-gradient(50% 50% at 8% 92%, rgba(196,108,116,.16), transparent 65%),
    var(--cream);
}
.hero-blob{
  position:absolute; top:-15%; right:-12%; width:56vw; height:56vw; max-width:780px; max-height:780px;
  background: radial-gradient(circle at 35% 35%, var(--rose-200), var(--blush) 60%, transparent 72%);
  border-radius: 44% 56% 62% 38% / 45% 40% 60% 55%;
  animation: blobmorph 16s ease-in-out infinite;
  z-index: 0; opacity: .8;
}
@keyframes blobmorph{
  0%,100%{ border-radius: 44% 56% 62% 38% / 45% 40% 60% 55%; transform: rotate(0deg) scale(1); }
  50%{ border-radius: 60% 40% 38% 62% / 55% 62% 38% 45%; transform: rotate(8deg) scale(1.04); }
}
.hero-inner{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-copy h1{ margin-top: .7rem; }
.hero-copy h1 .script{ font-size: 1.05em; }
.hero-lede{ margin-top: 1.3rem; max-width: 46ch; font-size: 1.08rem; }
.hero-cta{ display:flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats{ display:flex; gap: clamp(1.4rem, 4vw, 2.6rem); margin-top: 2.8rem; }
.hero-stats div{ display:flex; flex-direction:column; }
.hero-stats strong{ font-family: var(--font-display); font-size: 1.7rem; color: var(--rose-600); line-height:1; }
.hero-stats span{ font-size: .78rem; color: var(--ink-faint); margin-top: .35rem; letter-spacing:.02em; }

.hero-visual{ position: relative; }
.hero-frame{
  position: relative; border-radius: 62% 38% 55% 45% / 48% 55% 45% 52%;
  overflow: hidden; box-shadow: var(--shadow-lift);
  border: 6px solid var(--paper);
  aspect-ratio: 4/4.6;
  animation: framewobble 14s ease-in-out infinite;
}
.hero-frame img{ width:100%; height:100%; object-fit: cover; }
@keyframes framewobble{
  0%,100%{ border-radius: 62% 38% 55% 45% / 48% 55% 45% 52%; }
  50%{ border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
}
.hero-verdict{
  position: absolute; left: -10px; bottom: 26px;
  background: var(--paper); box-shadow: var(--shadow-soft);
  animation: floaty 7s ease-in-out infinite;
}
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 340px; margin-inline:auto; }
  .hero-copy{ text-align:center; }
  .hero-copy .eyebrow{ justify-content:center; }
  .hero-lede{ margin-inline:auto; }
  .hero-cta{ justify-content:center; }
  .hero-stats{ justify-content:center; }
}

/* ---- Pillars ---- */
.pillar-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.pillar-card{
  background: var(--paper); border-radius: var(--radius-md); padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  display:flex; flex-direction:column; gap: .55rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.pillar-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: var(--rose-300); }
.pillar-card svg{ width: 30px; height: 30px; color: var(--rose-500); margin-bottom: .3rem; }
.pillar-card h3{ font-size: 1.12rem; }
.pillar-card p{ font-size: .9rem; line-height: 1.65; flex: 1; }
.pillar-link{ font-size: .82rem; font-weight: 700; color: var(--gold-500); margin-top: .3rem; }

@media (max-width: 1080px){ .pillar-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .pillar-grid{ grid-template-columns: 1fr; } }

/* ---- Featured posts ---- */
.post-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; }

@media (max-width: 980px){ .post-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .post-grid{ grid-template-columns: 1fr; } }

/* ---- About teaser ---- */
.about-teaser-grid{ display:grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items:center; }
.about-teaser-frame{
  border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lift);
  aspect-ratio: 1/1; max-width: 420px;
}
.about-teaser-frame img{ width:100%; height:100%; object-fit:cover; }
@media (max-width: 860px){
  .about-teaser-grid{ grid-template-columns: 1fr; text-align:center; }
  .about-teaser-frame{ margin-inline:auto; }
  .about-teaser .eyebrow{ justify-content:center; }
}

/* ---- Newsletter ---- */
.newsletter-card{
  position: relative; overflow:hidden;
  background: linear-gradient(120deg, var(--rose-600), var(--rose-800));
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem);
  display:flex; align-items:center; justify-content:space-between; gap: 2rem; flex-wrap: wrap;
}
.newsletter-card > div{ max-width: 480px; }
.newsletter-card h2{ margin-top:.5rem; }
.newsletter-card p{ margin-top:.7rem; }
.newsletter-form{ display:flex; gap:.7rem; flex-wrap:wrap; }
.newsletter-form input{
  padding: .95em 1.2em; border-radius: var(--radius-pill); border: 0; min-width: 230px;
  font-size: .95rem;
}
.form-note{ width:100%; color: #ffe3c2; font-size:.85rem; margin-top:.6rem; min-height: 1.2em; }

@media (max-width: 720px){
  .newsletter-card{ flex-direction:column; align-items:flex-start; }
  .newsletter-form{ width:100%; }
  .newsletter-form input{ flex:1; }
}
