/* A little king's discovery stage. Motion settles; search stays still. */
.discovery-hero {
  overflow: hidden;
  position: relative;
  background: #fff8e9;
  border-bottom: 1px solid #e9d9bc;
}
.discovery-hero-inner {
  position: relative;
  max-width: 1240px;
  padding: 72px 40px 48px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 32px;
}
.discovery-heading { grid-column: 1; grid-row: 1; z-index: 1; align-self: end; }
.discovery-heading h1 {
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.42;
  letter-spacing: -.045em;
  color: #663d29;
}
.discovery-copy { grid-column: 1; grid-row: 2; z-index: 1; }
.discovery-copy > p { font-size: 16px; line-height: 2; margin: 24px 0 26px; color: #695340; }
.discovery-copy .search-form { max-width: 470px; min-height: 62px; border-radius: 16px; border-color: #bc9673; box-shadow: 0 5px 0 #e8d5b6; }
.discovery-copy .search-form button { border-radius: 11px; }
.hero-browse { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding-block: 6px; color: var(--brown); font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-browse svg { width: 22px; height: 22px; transition: transform var(--motion-fast) var(--ease-out); }
.discovery-stage { position: relative; grid-column: 2; grid-row: 1 / 3; min-width: 0; align-self: center; height: 470px; }
.hero-sun { position: absolute; width: 91%; aspect-ratio: 1; left: 5%; top: 4%; border-radius: 50%; background: radial-gradient(circle at 42% 36%, #ffe9a5, #f8cf70); }
.hero-orbit { position: absolute; inset: 0 -4% 3%; border: 1px dashed #bb8b4670; border-radius: 50%; transform: rotate(-18deg); }
.hero-podium { position: absolute; bottom: 3%; left: 13%; width: 75%; height: 54px; border-radius: 50%; background: #ddb16c; box-shadow: 0 14px 0 #c99a57; }
.hero-mascot { position: absolute; left: 18%; bottom: 8%; width: 64%; height: 87%; padding: 0; border: 0; background: transparent; border-radius: 45%; cursor: pointer; transform-origin: 50% 90%; -webkit-tap-highlight-color: transparent; }
.hero-mascot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 9px #9d632024); pointer-events: none; }
.hero-mascot:focus-visible { outline: 3px solid var(--brown); outline-offset: 8px; }
.hero-question { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--brown); }
.hero-question span { background: #fffdf7; padding: 9px 16px; border-radius: 18px 18px 4px 18px; box-shadow: 0 5px 0 #a2702520; }
.hero-question img { width: 64px; height: 64px; border: 4px solid #fffdf7; border-radius: 50%; box-shadow: 0 5px 0 #a2702520; }
.hero-question-desk { left: -5%; top: 15%; transform: rotate(-7deg); }
.hero-question-bottle { right: -3%; bottom: 18%; transform: rotate(6deg); }
.hero-question-bottle span { border-radius: 18px 18px 18px 4px; }
.hero-spark { position: absolute; color: #b97a25; }
.hero-spark-one { right: 5%; top: 16%; font-size: 38px; }
.hero-spark-two { left: 4%; bottom: 22%; font-size: 30px; }
.hero-greeting { position: absolute; z-index: 3; bottom: -8%; left: 0; width: 100%; text-align: center; color: var(--brown); font-size: 14px; font-weight: 700; }
.hero-promise { display: flex; justify-content: center; gap: 50px; padding: 18px 24px; margin-top: 20px; background: #f2e6d1; color: #73583b; font-size: 13px; font-weight: 700; }
.hero-promise span { display: inline-flex; align-items: center; gap: 9px; }
.hero-promise span::before { content: '✓'; color: #987027; font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mascot { animation: hero-arrive 900ms var(--ease-out) both; }
  .hero-sun { animation: hero-sunrise 1000ms var(--ease-out) both; }
  .hero-question-desk { animation: hero-note-left 700ms 120ms var(--ease-out) both; }
  .hero-question-bottle { animation: hero-note-right 700ms 180ms var(--ease-out) both; }
  .hero-greeting { animation: hero-greeting 700ms 240ms var(--ease-out) both; }
}
@keyframes hero-arrive { from { opacity: 0; transform: translateY(32px) rotate(-8deg) scale(.94); } to { opacity: 1; transform: translateY(0) rotate(0) scale(1); } }
@keyframes hero-sunrise { from { opacity: .2; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-note-left { from { opacity: 0; transform: translateY(16px) rotate(-12deg); } to { opacity: 1; transform: translateY(0) rotate(-7deg); } }
@keyframes hero-note-right { from { opacity: 0; transform: translateY(16px) rotate(12deg); } to { opacity: 1; transform: translateY(0) rotate(6deg); } }
@keyframes hero-greeting { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .hero-browse:hover svg { transform: translateX(4px); }
  .hero-mascot:hover { cursor: pointer; }
}
@media (max-width: 1000px) {
  .discovery-hero-inner { padding: 48px 28px; column-gap: 16px; }
  .discovery-heading h1 { font-size: clamp(36px, 4.6vw, 48px); }
  .discovery-stage { height: 390px; }
  .hero-question { gap: 6px; font-size: 12px; }
  .hero-question img { width: 50px; height: 50px; }
  .hero-question span { padding: 7px 10px; }
  .hero-promise { gap: 28px; }
}
@media (max-width: 700px) {
  .discovery-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); padding: 30px 24px 24px; row-gap: 0; }
  .discovery-heading { grid-column: 1; grid-row: 1; text-align: center; }
  .discovery-heading h1 { font-size: clamp(32px, 8.6vw, 48px); line-height: 1.4; }
  .discovery-stage { grid-column: 1; grid-row: 2; width: 100%; max-width: 400px; height: 310px; margin: 18px auto 26px; }
  .hero-sun { width: 79%; left: 10.5%; top: 3%; }
  .hero-orbit { inset: 0 4% 4%; }
  .hero-mascot { width: 60%; left: 20%; height: 90%; }
  .hero-podium { left: 16%; width: 68%; height: 34px; box-shadow: 0 10px 0 #c99a57; }
  .hero-question-desk { top: 19%; left: -2%; }
  .hero-question-bottle { bottom: 16%; right: -2%; }
  .hero-question { font-size: 11px; gap: 3px; }
  .hero-question img { width: 44px; height: 44px; border-width: 3px; }
  .hero-question span { padding: 6px 9px; }
  .hero-greeting { font-size: 12px; bottom: -8%; }
  .hero-spark-one { right: 5%; top: 8%; font-size: 30px; }
  .hero-spark-two { left: 6%; bottom: 22%; font-size: 24px; }
  .discovery-copy { grid-column: 1; grid-row: 3; text-align: center; }
  .discovery-copy > p { font-size: 14px; line-height: 1.9; margin: 14px 0 20px; }
  .discovery-copy .search-form { margin: 0 auto; text-align: left; min-height: 56px; }
  .hero-browse { margin-top: 16px; }
  .hero-promise { gap: 6px 18px; flex-wrap: wrap; margin-top: 0; padding: 13px 20px; font-size: 11px; }
  .hero-promise span { gap: 5px; }
}
@media (max-width: 360px) {
  .discovery-hero-inner { padding-inline: 18px; }
  .discovery-stage { height: 270px; }
  .hero-question img { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .discovery-hero *, .discovery-hero *::before { animation: none; transition: none; }
}

/* Compact the discovery stage so readers reach the expanded article catalog quickly. */
.discovery-hero-inner {padding-block:36px 30px;}
.discovery-stage {height:340px;}
.hero-promise {margin-top:8px;}
@media (min-width:701px) and (max-width:1000px) {
  .discovery-copy > p {margin-block:14px 18px;}
  .discovery-stage {height:320px;}
}
@media (max-width:700px) {
  .discovery-hero-inner {grid-template-columns:minmax(0,1fr) 110px;padding:24px 20px 20px;gap:12px 6px;}
  .discovery-heading {grid-column:1;grid-row:1;text-align:left;align-self:center;}
  .discovery-heading h1 {font-size:clamp(26px,6.7vw,38px);}
  .discovery-stage {grid-column:2;grid-row:1;width:110px;height:140px;margin:0;}
  .hero-question {display:none;}
  .hero-greeting {bottom:-12px;font-size:11px;width:180px;left:-70px;}
  .discovery-copy {grid-column:1/-1;grid-row:2;text-align:left;}
  .discovery-copy > p {margin:8px 0 16px;}
  .discovery-copy > p br {display:none;}
  .hero-browse {margin-top:12px;}
  .hero-podium {height:16px;box-shadow:0 5px 0 #c99a57;}
  .hero-promise {margin-top:0;}
}
@media (max-width:700px) {
  .discovery-stage {height:120px;}
  .hero-promise span:last-child {display:none;}
}
@media (max-width:360px) {
  .discovery-hero-inner {padding-block:16px 12px;}
  .discovery-stage {height:108px;}
  .discovery-copy > p {margin-block:4px 12px;}
}
.hero-sun {width:min(91%,320px);left:50%;translate:-50% 0;}
@media (max-width:700px) {
  .hero-sun {width:79%;}
}
@media (max-width:360px) {
  .discovery-hero-inner {padding-block:10px 8px;}
  .discovery-copy > p {line-height:1.75;}
}
@media (min-width:701px) and (max-width:1000px) {
  .discovery-hero-inner {padding-block:24px 20px;}
  .discovery-stage {height:280px;}
  .hero-sun {width:min(91%,260px);}
}
@media (min-width:701px) {
  .discovery-hero-inner {padding-block:24px 20px;}
  .discovery-heading h1 {font-size:clamp(36px,4.2vw,52px);line-height:1.35;}
  .discovery-copy > p {margin:12px 0 16px;line-height:1.8;}
  .discovery-copy > p br {display:none;}
  .hero-browse {margin-top:10px;}
  .hero-promise {padding-block:12px;}
}
