/* Infant Nook · An editorial journey through everyday family moments. */
:root {
  --editorial-green: #44766c;
  --editorial-line: #d9ded2;
}
html:not(.visual-ready) [data-visual-control] { display: none; }
.top-note { background: #e6efe6; }
.hero-editorial { padding: 38px 0 52px; }
.hero-editorial-layout {
  display: grid;
  grid-template-columns: .94fr 1.16fr;
  gap: clamp(35px, 5vw, 78px);
  align-items: center;
}
.hero-editorial-copy { padding: 6px 0 18px; position: relative; z-index: 1; }
.hero-editorial-copy .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; font-size: 10px; }
.editorial-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px #30d5c814; }
.hero-editorial h1 { font-size: clamp(64px, 6.7vw, 96px); line-height: .99; letter-spacing: -.065em; }
.hero-editorial h1 > span { color: var(--editorial-green); }
.hero-kicker { font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; margin-top: 27px; letter-spacing: -.025em; }
.hero-editorial-description { color: var(--muted); font-size: 15px; max-width: 410px; margin-top: 12px; line-height: 1.85; }
.editorial-actions { display: flex; flex-wrap: wrap; gap: 15px 23px; align-items: center; margin-top: 27px; }
.editorial-actions .button { font-size: 13px; padding-inline: 24px; gap: 23px; }
.editorial-actions .text-button { font-size: 12px; }
.hero-explore { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; margin-top: 35px; color: var(--muted); }
.hero-explore > span { display: grid; place-items: center; border: 1px solid #b9c8be; border-radius: 50%; width: 30px; height: 30px; font-size: 16px; transition: transform .3s; }
.hero-explore:hover > span { transform: translateY(4px); }
.hero-visual { min-width: 0; --pointer-x: 0; --pointer-y: 0; }
.hero-photo-shell { position: relative; }
#hero-gallery {
  position: relative;
  height: clamp(500px, 44vw, 625px);
  overflow: hidden;
  border-radius: 150px 24px 24px 24px;
  background: #e7e1d4;
  isolation: isolate;
}
#hero-gallery > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.055) translate(calc(var(--pointer-x) * -6px), calc(var(--pointer-y) * -6px));
  transition: opacity .65s ease, transform 1s cubic-bezier(.2,.65,.3,1);
}
#hero-gallery > img.is-active { opacity: 1; }
[data-hero-scene="connection"], [data-scene="connection"] { object-position: 52% 50%; }
[data-hero-scene="food"], [data-scene="food"] { object-position: 45% 50%; }
[data-hero-scene="rest"], [data-scene="rest"] { object-position: 48% 50%; }
.hero-photo-note {
  position: absolute; left: -24px; bottom: 29px;
  font-size: 15px; line-height: 1.45; letter-spacing: -.025em;
  padding: 18px 25px; background: var(--peach); border-radius: 3px 20px 20px 20px;
  transform: translate(calc(var(--pointer-x) * 4px), calc(var(--pointer-y) * 4px));
  transition: transform .6s ease;
}
.hero-photo-note strong { font-size: 18px; }
.hero-photo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 20px; }
.photo-series-label { font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.hero-scene-controls { display: flex; gap: 4px; }
.hero-scene-controls button { background: transparent; padding: 9px 13px; min-height: 40px; border-radius: 30px; font-size: 11px; color: #52645b; transition: background .2s, color .2s; }
.hero-scene-controls button[aria-pressed="true"] { color: var(--ink); background: #dfece2; font-weight: 800; }
.hero-scene-controls button:hover { background: #ebeee4; }
.editorial-values { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--editorial-line); padding-block: 24px; font-size: 11px; color: #596d61; }
.editorial-values p { font-size: 14px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.editorial-values > span { display: flex; align-items: center; gap: 12px; }
.editorial-values > span:before { content: ''; height: 4px; width: 4px; background: #68a295; border-radius: 50%; }
.editorial-universe { padding-top: 110px; padding-bottom: 50px; }
.story-heading { margin-bottom: 52px; }
.story-heading h2 { font-size: clamp(37px, 4.3vw, 59px); }
.story-heading h2 > span { color: var(--editorial-green); }
.story-heading > p { max-width: 300px; }
.story-stage { display: none; }
.story-chapters { display: grid; gap: 70px; }
.story-step { min-width: 0; scroll-margin-top: 120px; }
.story-mobile-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.story-copy { padding: 30px 0 0; }
.story-copy .eyebrow { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; color: #4c6c60; font-size: 10px; }
.story-copy .eyebrow > span { letter-spacing: -.06em; font-size: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b8c8bb; border-radius: 50%; }
.story-copy h3 { font-size: clamp(34px, 3.65vw, 50px); line-height: 1.12; letter-spacing: -.055em; }
.story-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.9; color: var(--muted); margin-top: 25px; max-width: 340px; }
.story-link { display: inline-flex; gap: 27px; align-items: center; margin-top: 30px; padding-bottom: 8px; border-bottom: 1px solid #aebfb1; font-size: 13px; font-weight: 800; }
.story-link > span { font-size: 22px; transition: transform .25s; }
.story-link:hover > span { transform: translate(3px,-3px); }
.scene-credit { font-size: 10px; color: #667469; margin-top: 34px; }
.story-enhanced .story-layout { display: grid; grid-template-columns: 1.2fr .85fr; gap: clamp(55px, 7.5vw, 112px); align-items: start; }
.story-enhanced .story-stage { display: block; position: sticky; top: 118px; }
.story-enhanced .story-mobile-image { display: none; }
.story-enhanced .story-chapters { display: block; }
.story-enhanced .story-step { min-height: max(630px, 78svh); display: flex; flex-direction: column; justify-content: center; }
.story-enhanced .story-step:last-child { min-height: max(590px, 73svh); }
.story-enhanced .story-copy { padding: 25px 0 45px; }
.story-photo-frame { position: relative; height: min(65svh, 640px); min-height: 380px; border-radius: 24px 100px 24px 24px; overflow: hidden; background: #e9e0d3; isolation: isolate; }
.story-photo-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.055); transition: opacity .7s ease, transform 1.5s cubic-bezier(.2,.6,.35,1); }
.story-photo-frame > img.is-active { opacity: 1; transform: scale(1); }
.story-photo-brand { position: absolute; bottom: 24px; right: 26px; color: #fff8eb; font-size: 19px; font-weight: 800; letter-spacing: -.055em; text-shadow: 0 1px 12px #253f3c3d; }
.story-stage-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 15px 10px; gap: 15px; }
.story-stage-bottom > span { font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.story-controls { display: flex; gap: 8px; }
.story-controls button { background: transparent; width: 36px; height: 36px; border-radius: 50%; color: #627468; font-size: 11px; transition: background .3s, color .3s; }
.story-controls button[aria-current="step"] { background: var(--ink); color: var(--cream); }
.story-controls button:hover { background: #dfece2; color: var(--ink); }
#story-progress { height: 2px; background: #dce3d7; overflow: hidden; }
#story-progress > span { display: block; width: 100%; height: 100%; transform: scaleX(var(--story-progress,0)); transform-origin: left; background: var(--editorial-green); }
.books-section { background: #f0f2e9; padding-top: 90px; }
.books-section:before, .books-section:after { display: none; }
.book-stage { border-radius: 18px; min-height: 365px; }
.book-stage:after { display: none; }
.book-stage > img { height: 265px; transform: rotate(-3deg); }
.book:nth-child(2n) .book-stage > img { transform: rotate(3deg); }
.stage-mint { background: #dce8dc; }
.stage-peach { background: #f2e2d4; }
.stage-butter { background: #e8e5cc; }
.stage-lilac { background: #e3e3e6; }
#planificador { padding-bottom: 60px; }
.planner-panel { grid-template-columns: 1fr 1fr; padding: 0; gap: 0; border-radius: 26px; align-items: stretch; }
.planner-copy { padding: 65px 55px; align-self: center; }
.planner-copy h2 { font-size: clamp(30px, 3vw, 43px); }
.planner-editorial-art { position: relative; min-height: 540px; overflow: hidden; }
.planner-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 45% 50%; }
.planner-book { position: absolute; bottom: 100px; left: 35px; width: 126px; transform: rotate(-9deg); box-shadow: -4px 4px 0 #fff8, 8px 15px 30px #16241d50; }
.planner-book img { width: 100%; height: auto; }
.planner-photo-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 35px; background: var(--peach); color: var(--ink); font-size: 12px; line-height: 1.65; }
.planner-photo-caption strong { font-size: 14px; }
.about { padding-top: 70px; }
.about-intro h2 { font-size: clamp(34px, 3.8vw, 51px); }
.editorial-note { border-radius: 14px; }
.newsletter-section { background: #e2eee3; }
.newsletter-card { border-radius: 22px; box-shadow: 0 12px 60px #263f2e08; }
@media (min-width: 901px) {
  #visual-story:not(.story-enhanced) .story-step { display: grid; grid-template-columns: 1.2fr .85fr; gap: 70px; align-items: center; }
  #visual-story:not(.story-enhanced) .story-mobile-image { aspect-ratio: 5 / 4; }
}
@media (max-width: 1150px) and (min-width: 901px) {
  .hero-editorial-layout { gap: 35px; grid-template-columns: 1fr 1.1fr; }
  .hero-editorial h1 { font-size: 73px; }
  #hero-gallery { height: 570px; border-top-left-radius: 115px; }
  .hero-photo-bottom { flex-wrap: wrap; gap: 7px; }
  .photo-series-label { display: none; }
  .hero-scene-controls { margin-left: auto; }
  .story-enhanced .story-layout { gap: 55px; }
  .story-copy h3 { font-size: 38px; }
  .planner-copy { padding: 42px 34px; }
  .book-stage { min-height: 320px; }
  .book-stage > img { height: 230px; }
}
@media (max-width: 900px) {
  .hero-editorial { padding-top: 35px; }
  .hero-editorial-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-editorial h1 { font-size: clamp(55px, 7.3vw, 68px); }
  .hero-editorial-copy .eyebrow { font-size: 8px; letter-spacing: .1em; }
  .hero-kicker { font-size: 18px; margin-top: 20px; }
  .hero-editorial-description { font-size: 13px; }
  .editorial-actions { gap: 17px; margin-top: 22px; }
  .hero-explore { margin-top: 24px; font-size: 10px; }
  #hero-gallery { height: 520px; border-radius: 95px 18px 18px 18px; }
  .hero-photo-note { left: -10px; padding: 14px 16px; font-size: 12px; }
  .hero-photo-note strong { font-size: 15px; }
  .hero-photo-bottom { padding-top: 13px; justify-content: flex-end; }
  .photo-series-label { display: none; }
  .hero-scene-controls button { padding: 7px 10px; font-size: 10px; }
  .editorial-values { flex-wrap: wrap; justify-content: center; font-size: 10px; gap: 10px 30px; }
  .editorial-values p { flex-basis: 100%; text-align: center; }
  .editorial-universe { padding-top: 80px; padding-bottom: 65px; }
  .story-heading { margin-bottom: 38px; }
  .story-heading h2 { font-size: 44px; }
  .story-step { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
  .story-mobile-image { aspect-ratio: 4 / 5; border-radius: 20px 65px 20px 20px; }
  .story-copy { padding: 0; }
  .story-copy .eyebrow { gap: 13px; margin-bottom: 20px; font-size: 9px; }
  .story-copy h3 { font-size: 35px; }
  .story-copy > p:not(.eyebrow) { font-size: 14px; margin-top: 20px; }
  .story-link { margin-top: 22px; gap: 15px; font-size: 12px; }
  .scene-credit { margin-top: 35px; }
  .book-stage { min-height: 285px; }
  .book-stage > img { height: 205px; }
  .planner-copy { padding: 38px 30px; }
  .planner-editorial-art { min-height: 480px; }
  .planner-book { width: 100px; left: 22px; }
  .planner-photo-caption { padding: 17px 22px; }
  .planner-photo-caption strong { font-size: 12px; }
}
@media (max-width: 650px) {
  .hero-editorial { padding: 24px 0 27px; }
  .hero-editorial-layout { display: flex; flex-direction: column; gap: 30px; align-items: stretch; }
  .hero-editorial-copy { padding: 0; }
  .hero-editorial-copy .eyebrow { font-size: 8px; margin-bottom: 20px; }
  .hero-editorial h1 { font-size: clamp(65px, 16.5vw, 98px); line-height: .98; }
  .hero-kicker { font-size: 20px; margin-top: 23px; }
  .hero-editorial-description { font-size: 14px; max-width: 430px; margin-top: 10px; line-height: 1.8; }
  .editorial-actions { gap: 16px; margin-top: 24px; }
  .editorial-actions .button { padding: 13px 20px; min-height: 50px; font-size: 12px; gap: 16px; }
  .editorial-actions .text-button { font-size: 11px; }
  .hero-explore { display: none; }
  #hero-gallery { height: auto; aspect-ratio: 1 / 1.03; border-radius: 85px 16px 16px 16px; }
  .hero-photo-note { left: -8px; bottom: 20px; font-size: 12px; padding: 13px 20px; }
  .hero-photo-note strong { font-size: 16px; }
  .hero-photo-bottom { padding-top: 12px; justify-content: space-between; }
  .photo-series-label { display: inline; font-size: 7px; letter-spacing: .1em; }
  .hero-scene-controls { gap: 1px; }
  .hero-scene-controls button { font-size: 10px; padding: 7px 10px; min-height: 38px; }
  .editorial-values { gap: 11px 15px; padding-block: 22px; font-size: 9px; }
  .editorial-values > span { gap: 6px; }
  .editorial-values p { font-size: 13px; }
  .editorial-universe { padding-top: 65px; padding-bottom: 48px; }
  .story-heading { gap: 20px; margin-bottom: 35px; }
  .story-heading h2 { font-size: clamp(34px, 8.8vw, 48px); }
  .story-heading > p { max-width: 350px; font-size: 14px; }
  .story-chapters { gap: 56px; }
  .story-step { display: block; scroll-margin-top: 90px; }
  .story-mobile-image { aspect-ratio: 5 / 4; border-radius: 16px 65px 16px 16px; }
  .story-copy { padding: 26px 4px 0; }
  .story-copy .eyebrow { margin-bottom: 18px; }
  .story-copy .eyebrow > span { width: 34px; height: 34px; font-size: 12px; }
  .story-copy h3 { font-size: clamp(34px, 8.7vw, 45px); }
  .story-copy > p:not(.eyebrow) { font-size: 14px; margin-top: 17px; max-width: 400px; }
  .story-link { margin-top: 20px; }
  .scene-credit { font-size: 9px; line-height: 1.7; margin-top: 40px; }
  .books-section { padding-top: 58px; }
  .book-stage { min-height: 250px; border-radius: 14px; }
  .book-stage > img { height: 180px; }
  .book-tag { font-size: 7px; }
  #planificador { padding-top: 55px; padding-bottom: 40px; }
  .planner-panel { grid-template-columns: 1fr; padding: 0; border-radius: 20px; }
  .planner-copy { padding: 37px 27px 32px; }
  .planner-copy h2 { font-size: 32px; }
  .planner-editorial-art { min-height: 370px; }
  .planner-photo { object-position: 45% 38%; }
  .planner-book { width: 110px; left: 25px; bottom: 85px; }
  .planner-photo-caption { padding: 16px 25px; font-size: 11px; }
  .planner-photo-caption strong { font-size: 13px; }
  .about { padding-top: 32px; }
  .about-intro h2 { font-size: 36px; }
}
@media (max-width: 375px) {
  .hero-editorial h1 { font-size: clamp(52px, 17vw, 62px); }
  .hero-kicker { font-size: 17px; }
  .hero-editorial-description { font-size: 13px; }
  .editorial-actions { gap: 12px; }
  .editorial-actions .button { font-size: 11px; padding-inline: 16px; gap: 12px; }
  .editorial-actions .text-button { font-size: 10px; }
  .photo-series-label { display: none; }
  .hero-photo-bottom { justify-content: flex-end; }
  .editorial-values { gap: 9px 10px; font-size: 8px; }
  .book-stage { min-height: 220px; }
  .book-stage > img { height: 155px; }
}
@media (prefers-reduced-motion: reduce) {
  #hero-gallery > img { transform: none; }
  .hero-photo-note { transform: none; }
}
