/* ═══ INDEX ═══ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero-sky-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    #a8d4f0 0%, #c0e0f8 25%,
    #cce8f0 50%, #d8eee0 75%,
    #b8d8a0 100%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 10rem;
  width: 100%;
}
.hero-date {
  font-family: var(--sans);
  font-size: .75rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: .8rem;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem,7vw,5.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--ink); margin-bottom: 1.2rem;
  text-wrap: balance;
}
.hero-h1 em { color: var(--ink-soft); font-weight: 400; }
.hero-sub {
  font-family: var(--serif); font-size: 1.05rem;
  font-style: italic; color: var(--ink-soft);
  line-height: 1.7; max-width: 42ch;
  margin-bottom: 2rem;
}
.hero-counter {
  display: flex; align-items: center; gap: .75rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  padding: 1rem 1.5rem;
  margin-bottom: .75rem;
  width: fit-content;
}
.hc-block { display: flex; flex-direction: column; align-items: center; }
.hc-num {
  font-family: var(--serif); font-size: 2rem;
  font-weight: 600; color: var(--ink); line-height: 1;
  min-width: 3ch; text-align: center;
}
.hc-lbl { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-top: .2rem; }
.hc-sep { font-family: var(--serif); font-size: 1.5rem; color: var(--ink-mute); opacity: .5; }
.hc-caption { font-family: var(--serif); font-size: .85rem; font-style: italic; color: var(--ink-mute); }

/* Foto hero */
.hero-photo-col { display: flex; justify-content: center; align-items: center; }
.hero-photo-frame {
  position: relative;
  width: 340px; max-width: 100%;
  aspect-ratio: 3/4;
  border-radius: 55% 45% 50% 50% / 55% 50% 50% 45%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.85);
  box-shadow: 0 24px 70px rgba(44,62,45,.22), 0 4px 18px rgba(44,62,45,.1);
}
.hero-photo-frame img { position: absolute; inset: 0; }
.hero-photo-deco { position: absolute; inset: 0; pointer-events: none; }
.kodama {
  position: absolute; width: 38px; height: 50px;
  animation: kodamaBob 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
.k1 { bottom: 18%; right: -18px; animation-delay: 0s; }
.k2 { bottom: 30%; right: -28px; animation-delay: .8s; width: 30px; }
@keyframes kodamaBob {
  0%,100%{ transform:translateY(0) rotate(-5deg); }
  50%    { transform:translateY(-10px) rotate(5deg); }
}

/* Pasto hero */
.hero-grass {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, #4a8c40 55%, #2d5a27 100%);
  clip-path: ellipse(60% 70% at 50% 100%);
  z-index: 2;
}

/* Soot sprites */
.soot-sprites { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.soot {
  position: absolute;
  border-radius: 50%;
  background: #1a1a1a;
  animation: sootFloat ease-in-out infinite;
}
.soot::before,.soot::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}
.s1{width:18px;height:18px;left:8%;top:65%;animation-duration:8s;animation-delay:0s;}
.s1::before{width:4px;height:4px;top:3px;left:4px;}
.s1::after{width:4px;height:4px;top:3px;right:4px;}
.s2{width:14px;height:14px;left:15%;top:72%;animation-duration:10s;animation-delay:2s;}
.s2::before{width:3px;height:3px;top:2px;left:3px;}
.s2::after{width:3px;height:3px;top:2px;right:3px;}
.s3{width:20px;height:20px;right:12%;top:68%;animation-duration:7s;animation-delay:1s;}
.s3::before{width:4px;height:4px;top:4px;left:4px;}
.s3::after{width:4px;height:4px;top:4px;right:4px;}
.s4{width:12px;height:12px;right:20%;top:75%;animation-duration:12s;animation-delay:3s;}
.s4::before{width:2.5px;height:2.5px;top:2px;left:2.5px;}
.s4::after{width:2.5px;height:2.5px;top:2px;right:2.5px;}
.s5{width:16px;height:16px;left:42%;top:78%;animation-duration:9s;animation-delay:4s;}
.s5::before{width:3px;height:3px;top:3px;left:3px;}
.s5::after{width:3px;height:3px;top:3px;right:3px;}
@keyframes sootFloat{
  0%,100%{transform:translateY(0) rotate(0deg);}
  25%    {transform:translateY(-12px) rotate(15deg);}
  50%    {transform:translateY(-6px) rotate(-8deg);}
  75%    {transform:translateY(-14px) rotate(12deg);}
}

/* ── Chapters ── */
.chapters-section { padding: 8rem 0 6rem; background: var(--cream); }
.ch-header { text-align: center; margin-bottom: 4rem; }
.ch-kicker {
  font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: .6rem;
}
.ch-title {
  font-family: var(--serif);
  font-size: clamp(2rem,4.5vw,3.2rem);
  font-weight: 300; color: var(--ink);
}
.ch-title em { color: var(--teal); }
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.ch-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1.5px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  cursor: pointer;
}
.ch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(44,62,45,.14);
}
.ch-card-art {
  height: 200px; overflow: hidden;
  background: var(--c, #e8f4e0);
  position: relative;
}
.ch-card-art svg { width: 100%; height: 100%; }
.ch-card.ch-card-wide { grid-column: span 2; flex-direction: row; }
.ch-card.ch-card-wide .ch-card-art { width: 50%; height: auto; flex-shrink: 0; }
.wide-art svg { height: 100%; }
.ch-card-text {
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .5rem;
  flex: 1;
  background: white;
}
.ch-num { font-size: .65rem; letter-spacing: .2em; color: var(--ink-mute); }
.ch-card-text h3 {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 400; color: var(--ink);
}
.ch-card-text p {
  font-family: var(--serif); font-size: .95rem;
  color: var(--ink-soft); line-height: 1.6;
  font-style: italic; flex: 1;
}
.ch-arrow {
  font-size: .78rem; letter-spacing: .1em;
  color: var(--teal); font-weight: 500;
  transition: gap .2s ease;
}
.ch-card:hover .ch-arrow { letter-spacing: .18em; }

/* ── Marquee strip ── */
.love-strip {
  background: var(--forest);
  overflow: hidden; padding: 1rem 0;
}
.ls-track {
  display: flex; gap: 2rem;
  white-space: nowrap;
  animation: lsRoll 28s linear infinite;
  font-family: var(--serif);
  font-size: 1rem; font-style: italic;
  color: rgba(200,240,200,.75);
}
.ls-track span { flex-shrink: 0; }
@keyframes lsRoll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* Responsive */
@media(max-width:900px){
  .hero-inner { grid-template-columns:1fr; padding-bottom:12rem; }
  .hero-photo-frame { width:260px; }
  .hero-photo-col { order:-1; }
  .chapters-grid { grid-template-columns:1fr; }
  .ch-card.ch-card-wide { flex-direction:column; }
  .ch-card.ch-card-wide .ch-card-art { width:100%; height:200px; grid-column:auto; }
  .ch-card.ch-card-wide { grid-column:auto; }
}
@media(max-width:600px){
  .hero-counter { gap:.5rem; }
  .hc-num { font-size:1.6rem; }
}
