/* Mind Shores website: art and motion (round 5). Flat shapes with faces, the app's mood faces, drifting clouds,
   twinkling stars, chunky block words, and sections that build in as you scroll. Everything respects reduced motion. */

/* ---------- motion helpers ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes slideL { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(-12vw); } to { transform: translateX(112vw); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 3deg)); } }
@keyframes wob { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.08); } }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(30px, -70px) scale(1.2); } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-160px) rotate(-25deg); } 60% { opacity: 1; transform: translateY(10px) rotate(6deg); } 80% { transform: translateY(-6px) rotate(-3deg); } 100% { opacity: 1; transform: none; } }
@keyframes bubble { 0%, 8% { opacity: 0; transform: translateY(14px) scale(.96); } 14%, 100% { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fill { from { background-position: 0 100%; } to { background-position: 0 var(--fill-to, 40%); } }
@keyframes typing { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .js .sv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .js .sv-pop { animation: pop linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    .js .sv-l { animation: slideL linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .js .sv-r { animation: slideR linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
  .float { animation: floaty 6s ease-in-out infinite; }
  .float.d2 { animation-delay: -2s; } .float.d3 { animation-delay: -4s; animation-duration: 7s; }
  .wob { animation: wob 3.4s ease-in-out infinite; transform-origin: 50% 90%; }
  .beat { animation: beat 2.4s ease-in-out infinite; }
}

/* ---------- characters that move (see-through videos, still picture as fallback) ---------- */
.chr { display: block; width: 100%; height: auto; background: transparent; }

/* ---------- clouds and sky ---------- */
.clouds-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.cloud-s { position: absolute; left: 0; width: var(--w, 180px); opacity: var(--o, .9); }
.cloud-s svg { width: 100%; height: auto; display: block; fill: #fff; }
@media (prefers-reduced-motion: no-preference) { .cloud-s { animation: drift var(--t, 70s) linear infinite; animation-delay: var(--d, 0s); } }
@media (prefers-reduced-motion: reduce) { .cloud-s { left: var(--x, 10%); } }
.star-s { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .star-s { animation: twinkle var(--t, 3s) ease-in-out infinite; animation-delay: var(--d, 0s); } }

/* ---------- flat shapes with faces ---------- */
.shape { display: inline-block; line-height: 0; }
.shape svg { width: 100%; height: auto; overflow: visible; }

/* ---------- the app's mood faces ---------- */
.mface { display: inline-grid; place-items: center; border-radius: 30%; width: var(--s, 72px); height: var(--s, 72px); box-shadow: 0 10px 22px rgba(40, 30, 80, .14); }
.mface svg { width: 62%; height: 62%; }
.mface .tear { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .fx-laugh { animation: fx-laugh 1.6s ease-in-out infinite; }
  .fx-cry { animation: fx-cry 2.2s ease-in-out infinite; } .fx-cry .tear { animation: fx-tear 2.2s ease-in infinite; }
  .fx-angry { animation: fx-angry .7s ease-in-out infinite; }
  .fx-calm { animation: fx-calm 3s ease-in-out infinite; }
  .fx-tired { animation: fx-tired 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
  .fx-jitter { animation: fx-jitter .45s linear infinite; }
  .fx-love { animation: fx-love 1.3s ease-in-out infinite; }
}
@keyframes fx-laugh { 0%, 100% { transform: translateY(0) rotate(0); } 20% { transform: translateY(-8px) rotate(-7deg); } 40% { transform: translateY(0) rotate(0); } 60% { transform: translateY(-5px) rotate(6deg); } }
@keyframes fx-cry { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px) scale(.96); } }
@keyframes fx-tear { 0% { transform: translateY(-2px); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes fx-angry { 0%, 100% { transform: translateX(0) rotate(0); } 15% { transform: translateX(-4px) rotate(-4deg); } 30% { transform: translateX(4px) rotate(4deg); } 45% { transform: translateX(-3px) rotate(-2deg); } 60% { transform: translateX(3px) rotate(2deg); } }
@keyframes fx-calm { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes fx-tired { 0%, 100% { transform: rotate(0) translateY(0); } 45%, 60% { transform: rotate(-12deg) translateY(5px); } }
@keyframes fx-jitter { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-2px, 1px); } 40% { transform: translate(2px, -1px); } 60% { transform: translate(-1px, -2px); } 80% { transform: translate(1px, 2px); } }
@keyframes fx-love { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.15); } 28% { transform: scale(1); } 42% { transform: scale(1.1); } }

/* faces that fall in, then act out their feeling */
.rain { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 14px; max-width: 640px; margin: 0 auto; }
.rain .drop { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: #2B4650; }
@media (prefers-reduced-motion: no-preference) { .js .rain .drop { animation: drop .9s cubic-bezier(.3, .7, .3, 1.2) both; animation-delay: calc(var(--i) * 90ms); } }

/* ---------- chunky block words ---------- */
.blocks { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 980px; margin: 0 auto; }
.blk { display: inline-block; padding: .12em .38em .18em; border-radius: 18px; font: 700 clamp(38px, 6.4vw, 92px)/1 var(--head); letter-spacing: -0.02em; color: #1E2238; transform: rotate(var(--r, 0deg)); }
@media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) { .js .blk { animation: pop linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; } } }

/* ---------- photo frames and collage ---------- */
.ph-arch { border-radius: 999px 999px 28px 28px; overflow: hidden; }
.ph-blob { border-radius: 58% 42% 47% 53% / 47% 55% 45% 53%; overflow: hidden; }
.ph-round { border-radius: 32px; overflow: hidden; }
.ph-arch img, .ph-blob img, .ph-round img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sticker { position: absolute; z-index: 3; background: #fff; border-radius: 18px; padding: 12px 16px; font-weight: 700; box-shadow: 0 14px 30px rgba(30, 30, 60, .16); font-size: 15px; line-height: 1.3; }
.tape { position: absolute; width: 90px; height: 26px; background: rgba(255, 226, 140, .8); transform: rotate(-8deg); z-index: 3; }

/* ---------- home ---------- */
.home-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #BFDDFF 0%, #DCEBFF 45%, #FFE6D2 100%); padding: 84px 0 0; text-align: center; }
.home-hero h1 { position: relative; z-index: 2; font-size: clamp(46px, 7vw, 96px); max-width: 980px; margin: 0 auto; padding: 0 16px; }
.home-hero h1 .hl { color: #2E64C8; }
.home-hero .lead { position: relative; z-index: 2; margin: 22px auto 30px; max-width: 600px; font-size: clamp(18px, 2vw, 21px); color: #4E5670; padding: 0 16px; }
.home-hero .ctas { position: relative; z-index: 2; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 0 16px; }
.home-hero .sun { position: absolute; z-index: 0; right: 9%; top: 70px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FFE9A0, #FFC94D); box-shadow: 0 0 80px 30px rgba(255, 214, 110, .45); }
.home-hero .shore { position: relative; z-index: 2; margin-top: 30px; height: clamp(300px, 38vw, 520px); }
.home-hero .sea { position: absolute; left: -10%; right: -10%; bottom: 0; height: 40%; background: linear-gradient(180deg, #A8DAF0, #6FBFE0); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.home-hero .sea::after { content: ''; position: absolute; left: 0; right: 0; top: 18%; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 60px, transparent 60px 140px); }
@media (prefers-reduced-motion: no-preference) { .home-hero .sea::after { animation: shimmer 9s linear infinite; } @keyframes shimmer { to { background-position: 280px 0; } } }
.home-hero .sand { position: absolute; left: -10%; right: -10%; bottom: 0; height: 16%; background: #FFF1DF; border-radius: 50% 50% 0 0 / 50% 50% 0 0; }
.home-hero .team { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); width: min(1050px, 98%); z-index: 2; }
.home-hero .shape-a { position: absolute; z-index: 1; left: 6%; top: 52%; width: 90px; --r: -10deg; }
.home-hero .shape-b { position: absolute; z-index: 1; right: 5%; top: 46%; width: 76px; --r: 8deg; }
@media (max-width: 700px) { .home-hero .sun { width: 90px; height: 90px; right: -10px; top: 24px; } .home-hero .shape-a, .home-hero .shape-b { display: none; } }

.feel-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ft { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; padding: 22px; border-radius: 30px; text-decoration: none; color: #1E2238; overflow: hidden; transition: transform .25s cubic-bezier(.3, .7, .3, 1.3); }
.ft:hover { transform: translateY(-8px) rotate(-1.5deg); }
.ft b { font: 700 25px/1.1 var(--head); max-width: 70%; }
.ft small { font-weight: 700; opacity: .7; }
.ft .shape { position: absolute; right: -10px; bottom: -14px; width: 130px; transition: transform .3s ease; }
.ft:hover .shape { transform: rotate(10deg) scale(1.08); }
.ft .go { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .7); display: grid; place-items: center; }
.ft .go svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .feel-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feel-tiles { grid-template-columns: 1fr; } .ft { min-height: 180px; } }

.moments { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.moments figure { margin: 0; position: relative; border-radius: 30px; overflow: hidden; }
.moments figure:first-child { grid-row: span 2; }
.moments img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.moments figure:hover img { transform: scale(1.06); }
.moments figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 20px 18px; color: #fff; background: linear-gradient(180deg, transparent, rgba(15, 20, 40, .72)); font: 700 22px/1.2 var(--head); }
.moments figcaption small { display: block; font: 600 14px var(--body); opacity: .9; margin-top: 4px; }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 240px 240px; } .moments figure:first-child { grid-column: span 2; grid-row: auto; } }

.dayline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dayline::before { content: ''; position: absolute; left: 4%; right: 4%; top: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #FFD564, #8FC6F5, #F6A97C, #4C4E9E); }
.dl { position: relative; text-align: left; }
.dl .t { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; margin-bottom: 18px; position: relative; z-index: 1; box-shadow: 0 10px 22px rgba(30, 30, 60, .12); }
.dl .t svg { width: 46px; height: 46px; }
.dl .pic { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.2; margin-bottom: 14px; }
.dl .pic img { width: 100%; height: 100%; object-fit: cover; }
.dl h3 { font-size: 22px; } .dl p { color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .dayline { grid-template-columns: 1fr 1fr; } .dayline::before { display: none; } }

.lib-card { scroll-snap-align: start; position: relative; height: 340px; border-radius: 28px; overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.lib-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lib-card:hover img { transform: scale(1.07); }
.lib-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 35, 0) 35%, rgba(10, 15, 35, .78)); }
.lib-card > *:not(img) { position: relative; z-index: 1; }
.lib-card .tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(255, 255, 255, .92); color: #1E2238; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; }
.lib-card b { font: 700 21px/1.2 var(--head); } .lib-card span { font-size: 14px; opacity: .9; margin-top: 4px; }
.lib-car { grid-auto-columns: 260px; }
.play { position: absolute; z-index: 2; right: 16px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.play svg { width: 16px; height: 16px; margin-left: 2px; color: #1E2238; }

.quote-band { position: relative; overflow: hidden; background: #FFF4D6; padding: 110px 0; }
.quote-band .shape { position: absolute; }

/* ---------- topic heroes ---------- */
.th { position: relative; overflow: hidden; padding: 80px 0 0; }
.th .g { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; position: relative; z-index: 2; }
.th .copy { padding-bottom: 96px; }
.th h1 { font-size: clamp(46px, 6.2vw, 88px); }
.th .lead { font-size: 21px; margin: 20px 0 30px; max-width: 540px; opacity: .88; }
.th .art { position: relative; min-height: 480px; display: flex; align-items: flex-end; justify-content: center; }
.th .art .guide-v { width: min(320px, 70%); position: relative; z-index: 2; margin-bottom: -4px; }
@media (max-width: 900px) { .th .g { grid-template-columns: 1fr; } .th .copy { padding-bottom: 10px; } .th .art { min-height: 360px; } }
.kick { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-weight: 700; margin-bottom: 18px; }
.kick i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.kick i svg { width: 18px; height: 18px; }

/* chat that types itself */
.chat-live { display: flex; flex-direction: column; gap: 12px; width: min(440px, 100%); position: relative; z-index: 3; margin-bottom: 30px; }
.chat-live .b { max-width: 82%; padding: 14px 18px; border-radius: 22px; font-size: 16px; line-height: 1.45; box-shadow: 0 12px 28px rgba(40, 30, 70, .1); }
.chat-live .me { align-self: flex-end; background: #6A4FE0; color: #fff; border-bottom-right-radius: 6px; }
.chat-live .so { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.chat-live .dots3 { align-self: flex-start; background: #fff; border-radius: 20px; padding: 14px 18px; display: flex; gap: 6px; }
.chat-live .dots3 i { width: 8px; height: 8px; border-radius: 50%; background: #9B8FD0; }
@media (prefers-reduced-motion: no-preference) {
  .chat-live .b { animation: bubble 12s ease-out infinite both; }
  .chat-live .b:nth-child(1) { animation-delay: 0s; } .chat-live .b:nth-child(2) { animation-delay: 1.4s; } .chat-live .b:nth-child(3) { animation-delay: 3s; } .chat-live .b:nth-child(4) { animation-delay: 4.4s; }
  .chat-live .dots3 i { animation: typing 1s infinite; } .chat-live .dots3 i:nth-child(2) { animation-delay: .2s; } .chat-live .dots3 i:nth-child(3) { animation-delay: .4s; }
}
.recs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.recs span { background: #F1ECFD; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; }

.pills-drift { position: relative; height: 220px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pills-drift .row { position: absolute; left: 0; display: flex; gap: 12px; white-space: nowrap; width: max-content; }
.pills-drift .row span { padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 18px; background: #fff; border: 1.5px solid var(--line); }
.pills-drift .r1 { top: 10px; } .pills-drift .r2 { top: 82px; } .pills-drift .r3 { top: 154px; }
@media (prefers-reduced-motion: no-preference) { .pills-drift .row { animation: marq 40s linear infinite; } .pills-drift .r2 { animation-direction: reverse; animation-duration: 48s; } .pills-drift .r3 { animation-duration: 36s; } }

/* scene cards: picture + words, alternating */
.scene { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 30px 0; }
.scene.rev .vis { order: 2; }
.scene .vis { position: relative; }
.scene .vis .ph-arch, .scene .vis .ph-blob, .scene .vis .ph-round { aspect-ratio: .92; }
.scene h2 { font-size: clamp(32px, 4.2vw, 54px); }
.scene p { font-size: 19px; color: var(--muted); margin-top: 14px; max-width: 520px; }
.scene .mini { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.scene .mini span { padding: 9px 15px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 15px; }
@media (max-width: 860px) { .scene { grid-template-columns: 1fr; gap: 26px; } .scene.rev .vis { order: 0; } }

/* stack of colourful cards that fan out */
.fan { position: relative; height: 360px; }
.fan .c { position: absolute; left: 50%; top: 50%; width: 240px; height: 300px; margin: -150px 0 0 -120px; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 20px 40px rgba(40, 30, 70, .14); transition: transform .45s cubic-bezier(.3, .7, .3, 1.2); font: 700 23px/1.25 var(--head); color: #1E2238; }
.fan .c small { font: 700 13px var(--body); opacity: .7; }
.fan .c:nth-child(1) { transform: rotate(-12deg) translateX(-80px); } .fan .c:nth-child(2) { transform: rotate(0deg) translateY(-10px); } .fan .c:nth-child(3) { transform: rotate(12deg) translateX(80px); }
.fan:hover .c:nth-child(1) { transform: rotate(-18deg) translateX(-150px); } .fan:hover .c:nth-child(3) { transform: rotate(18deg) translateX(150px); }

/* finger heart */
.fheart { position: relative; width: 220px; }
.fheart .heart { transform-origin: 50% 60%; }

/* night sky */
.night { background: radial-gradient(120% 80% at 70% 0%, #3B3F8F 0%, #22265E 45%, #171A3D 100%); color: #FFFFFF; }
.night .lead, .night p { color: #E4E2FA; }
.moonglow { position: absolute; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at 38% 38%, #FFF5CF, #FFE08A); box-shadow: 0 0 90px 30px rgba(255, 230, 150, .28); }
.cover-row { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 18px; overflow-x: auto; padding: 10px max(16px, calc((100vw - 1200px) / 2 + 24px)) 30px; scrollbar-width: none; }
.cover-row::-webkit-scrollbar { display: none; }
.cover { position: relative; height: 290px; border-radius: 22px; overflow: hidden; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; box-shadow: 0 18px 34px rgba(0, 0, 0, .3); transition: transform .3s ease; }
.cover:hover { transform: translateY(-8px); }
.cover svg.scene-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover b { position: relative; font: 700 20px/1.2 var(--head); text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.cover small { position: relative; font-weight: 700; font-size: 13px; opacity: .95; margin-top: 6px; }
.zz { position: absolute; font: 700 26px var(--head); color: #fff; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .zz { animation: zz 3.6s ease-out infinite; } .zz.b { animation-delay: 1.2s; font-size: 20px; } .zz.c { animation-delay: 2.4s; font-size: 16px; } }

/* breathing */
.orb { position: relative; width: min(440px, 84vw); aspect-ratio: 1; display: grid; place-items: center; }
.orb .r { position: absolute; inset: 0; border-radius: 50%; }
.orb .r1 { background: rgba(160, 196, 255, .35); } .orb .r2 { inset: 12%; background: rgba(140, 180, 250, .45); } .orb .r3 { inset: 25%; background: #fff; box-shadow: 0 24px 50px rgba(46, 100, 200, .18); }
@media (prefers-reduced-motion: no-preference) { .orb .r1 { animation: bre 8s ease-in-out infinite; } .orb .r2 { animation: bre 8s ease-in-out infinite .25s; } @keyframes bre { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1.08); } } }
.orb .guide-v { position: relative; z-index: 2; width: 44%; }
.orb .word { position: absolute; bottom: -54px; left: 0; right: 0; text-align: center; font: 700 24px var(--head); color: #2E64C8; }
@media (prefers-reduced-motion: no-preference) { .orb .word::before { content: 'Breathe in'; animation: bw 8s steps(1) infinite; } @keyframes bw { 0% { content: 'Breathe in'; } 50% { content: 'Breathe out'; } } }
@media (prefers-reduced-motion: reduce) { .orb .word::before { content: 'Breathe in, breathe out'; } }

/* mood calendar that fills in */
.mcal { background: #fff; border-radius: 32px; padding: 28px; box-shadow: 0 24px 60px rgba(20, 80, 100, .1); }
.mcal .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 14px; }
.mcal .days span { aspect-ratio: 1; display: grid; place-items: center; }
.mcal .days .mface { --s: 100%; border-radius: 30%; box-shadow: none; }
.mcal .wd { color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; }

/* growth: plants that grow */
.sprouts { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 40px); }
.sprouts .p { text-align: center; }
.sprouts .p svg { width: clamp(60px, 8vw, 110px); height: auto; overflow: visible; }
.sprouts .stem { transform-origin: 50% 100%; transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) { .sprouts .stem { animation: grow 1.4s cubic-bezier(.3, .7, .3, 1.2) both; animation-delay: calc(var(--i) * .35s); } }
.sprouts b { display: block; font-size: 14px; margin-top: 8px; } .sprouts small { color: var(--muted); font-size: 12px; }

/* jars that fill */
.jar2 { width: 130px; text-align: center; }
.jar2 i { display: block; height: 160px; border-radius: 28px 28px 38px 38px; border: 3px solid #E9D2DC; position: relative; background: linear-gradient(0deg, #FFC2DB 0 50%, transparent 50%) 0 100% / 100% 200% no-repeat; }
@media (prefers-reduced-motion: no-preference) { .jar2 i { animation: fill 2.5s ease-out both; } }
.jar2 i::before { content: ''; position: absolute; top: -15px; left: 18%; right: 18%; height: 14px; border-radius: 6px; background: #E9D2DC; }
.jar2 b { display: block; margin-top: 12px; }

/* tool cards with art */
.tools4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool { position: relative; border-radius: 30px; padding: 24px; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #1E2238; transition: transform .25s ease; }
.tool:hover { transform: translateY(-6px); }
.tool .shape { position: absolute; top: 22px; left: 50%; width: 140px; transform: translateX(-50%); }
.tool h3 { font-size: 24px; } .tool p { margin-top: 8px; font-size: 16px; opacity: .85; }
.tool .time { display: inline-block; margin-top: 12px; background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }
@media (max-width: 960px) { .tools4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tools4 { grid-template-columns: 1fr; } }

/* sticky notes */
.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.note { padding: 26px 22px; min-height: 210px; box-shadow: 0 14px 26px rgba(60, 40, 20, .12); font: 700 21px/1.35 var(--head); transform: rotate(var(--r)); transition: transform .3s ease; }
.note:hover { transform: rotate(0) translateY(-6px) scale(1.03); }
.note small { display: block; font: 800 12px var(--body); opacity: .6; margin-bottom: 10px; }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr 1fr; } }

/* related row (art, not characters) */
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel a { position: relative; border-radius: 28px; padding: 24px; min-height: 220px; text-decoration: none; color: #1E2238; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease; }
.rel a:hover { transform: translateY(-6px); }
.rel a .shape { position: absolute; right: -14px; bottom: -16px; width: 120px; }
.rel small { font-weight: 800; opacity: .65; } .rel b { font: 700 24px/1.15 var(--head); max-width: 75%; }
@media (max-width: 860px) { .rel { grid-template-columns: 1fr; } }

/* big stat-free promise row */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise div { border-radius: 28px; padding: 28px; }
.promise h3 { font-size: 24px; margin-top: 14px; } .promise p { margin-top: 8px; opacity: .85; }
.promise .shape { width: 70px; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

.sec-dark { background: #1E2238; color: #fff; }
.sec-dark .muted, .sec-dark p { color: #CBD0E6; }
.sec-cream { background: #FFF8EE; } .sec-sky { background: #EEF5FF; } .sec-mint { background: #EAF8F1; } .sec-pink { background: #FFF0F5; } .sec-lilac { background: #F4EEFF; } .sec-sun { background: #FFF4D2; }

/* fixes after review */
.ft b { max-width: 62%; position: relative; z-index: 1; }
.ft .shape { width: 110px; right: -14px; bottom: -22px; }
.fan .c { width: 210px; height: 270px; margin: -135px 0 0 -105px; font-size: 21px; }
.fan .c:nth-child(1) { transform: rotate(-12deg) translateX(-56px); } .fan .c:nth-child(3) { transform: rotate(12deg) translateX(56px); }
.fan:hover .c:nth-child(1) { transform: rotate(-16deg) translateX(-96px); } .fan:hover .c:nth-child(3) { transform: rotate(16deg) translateX(96px); }
.jar2 { width: 96px; } .jar2 i { height: 128px; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 40, 0) 45%, rgba(10, 12, 40, .78)); }
.cover b, .cover small { z-index: 1; }
@media (max-width: 700px) { .moonglow { width: 80px !important; height: 80px !important; right: -16px !important; top: 16px !important; } }
