/* A flat cartoon world around the real Sawa screen. */
.cartoon-theme {
  --sky: #8edafd;
  --purple: #594ac9;
  --purple-dark: #41339d;
  --ink: #302650;
  --muted: #625b77;
  --cream: #fff;
  --lavender: #e4f3fc;
  background: #fff;
}
.cartoon-theme .site-header {
  width: 100%;
  padding: 26px max(28px, calc((100% - 1160px) / 2));
  background: var(--sky);
}
.cartoon-theme .wordmark { color: var(--purple-dark); }
.cartoon-theme .button { border: 2px solid var(--purple-dark); box-shadow: 0 4px 0 var(--purple-dark); }
.cartoon-theme .button:hover { transform: translateY(-1px); }
.cartoon-theme .button:disabled { transform: none; }
.hero-world { position: relative; overflow: clip; background: var(--sky); }
.hero-intro { position: relative; z-index: 3; text-align: center; padding-top: 20px; }
.hero-intro .eyebrow { color: var(--purple-dark); margin-bottom: 16px; }
.hero-intro h1 { font-size: clamp(46px, 6.3vw, 88px); letter-spacing: -.055em; line-height: 1.04; text-wrap: balance; }
.hero-intro h1 span { color: var(--purple); }
.hero-intro .hero-description { color: #5a5876; max-width: 670px; margin: 20px auto 22px; font-size: 20px; }
.hero-intro .hero-note { color: #5a5876; font-size: 14px; margin-top: 14px; }
.hero-intro .store-download { box-shadow: 0 4px 0 #30265026; }
.hero-stage { --drift: 0; position: relative; height: clamp(720px, 60vw, 880px); margin-top: 28px; isolation: isolate; }
.hero-stage::after { content: ''; position: absolute; inset: auto 0 0; height: 24px; background: linear-gradient(transparent, #fff); z-index: 2; pointer-events: none; }
.park-scene { position: absolute; inset: auto 0 0; z-index: 0; pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #000 12%); }
.park-scene img { width: 100%; height: auto; }
.park-mobile { display: none; }
.hero-phone { position: absolute; top: 0; left: 50%; width: clamp(270px, 25vw, 350px); margin: 0; z-index: 3; transform: translate3d(-50%, calc(var(--drift) * -32px), 0) rotate(calc(-3deg + var(--drift) * 3deg)); transform-origin: center; }
.hero-phone-shell { overflow: hidden; border: 9px solid #282334; border-radius: 43px; background: #fbf8f3; box-shadow: 0 0 0 2px #8a8095, 0 14px 0 #3226471a, 0 25px 45px #30265020; }
.hero-phone-shell img { width: 100%; height: auto; }
.world-note { position: absolute; z-index: 4; padding: 10px 20px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 24px; font-size: clamp(15px, 1.4vw, 20px); font-weight: 700; box-shadow: 0 4px 0 #302650; white-space: nowrap; }
.world-note-coffee { left: 9%; bottom: 57%; transform: rotate(-6deg); }
.world-note-volleyball { right: 7%; top: 12%; transform: rotate(5deg); background: #ffed92; }
.hero-stage-foot { position: relative; padding: 16px 20px 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; z-index: 4; background: #fff; }
.hero-stage-foot a { display: inline-flex; gap: 16px; align-items: center; min-height: 46px; border: 1px solid #c9e5f4; border-radius: 30px; padding: 9px 21px; background: #fff; color: var(--purple-dark); font-weight: 700; font-size: 14px; text-decoration: none; }
.hero-stage-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-stage-foot span { font-size: 22px; }
.hero-world.has-motion .hero-phone { will-change: transform; }
.cartoon-theme .intro { padding-block: 56px 60px; }
.cartoon-theme .intro > p:first-child { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; }
.cartoon-theme .activities span { border: 2px solid #c9e5f4; background: #f4faff; }
.community-stories { padding-block: 48px; background: #fff; }
.stories-heading { text-align: center; margin-bottom: 26px; }
.stories-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -.045em; font-weight: 900; }
.stories-heading p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.story-marquee { --story-gap: 20px; max-width: 1920px; margin-inline: auto; padding: 4px clamp(20px, 4vw, 64px) 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #9ecbdf transparent; }
.story-marquee:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; }
.story-track { display: flex; width: max-content; }
/* Each group owns its trailing gap, so half the track is one exact repeat. */
.story-group { display: flex; flex: none; gap: var(--story-gap); padding-inline-end: var(--story-gap); }
.story-group-copy { display: none; }
.story-card { flex: 0 0 auto; width: clamp(270px, 30vw, 350px); min-width: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid #dbeaf4; border-radius: 24px; background: #f4faff; }
.story-card:nth-child(3n + 2) { background: #f3faf6; border-color: #d9eee3; }
.story-card:nth-child(3n) { background: #fffbea; border-color: #f2e9c6; }
.story-card > p { margin: 0 0 24px; color: var(--ink); font-size: clamp(20px, 2vw, 24px); line-height: 1.4; letter-spacing: -.025em; }
.story-signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: auto; color: var(--muted); font-size: 14px; }
.story-initials { color: var(--purple-dark); font-size: 16px; font-weight: 700; }
.motion-on .marquee-ready { overflow-x: hidden; mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.motion-on .marquee-ready .story-group-copy { display: flex; }
.motion-on .marquee-ready .story-track { animation: sawa-stories 72s linear infinite; animation-play-state: paused; }
.motion-on .marquee-ready.ambient-visible .story-track { animation-play-state: running; }
.motion-on .marquee-ready:active .story-track { animation-play-state: paused; }
/* Keyboard focus exposes every original in a normal scrollable row. */
.motion-on .marquee-ready:focus-within { overflow-x: auto; mask-image: none; }
.motion-on .marquee-ready:focus-within .story-track { animation: none; transform: none; }
.motion-on .marquee-ready:focus-within .story-group-copy { display: none; }
@keyframes sawa-stories { to { transform: translateX(-50%); } }
.stories-bridge { margin: 28px 0 16px; color: var(--purple); text-align: center; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.cartoon-theme .journey { background: #edf7fd; border-radius: 0; padding-block: 56px 36px; }
.cartoon-theme .section-heading { margin-bottom: 40px; }
.cartoon-theme .section-heading h2 { font-size: clamp(40px, 4.5vw, 60px); }
.cartoon-theme .screen-stage { border: 2px solid #30265015; border-bottom: 0; border-radius: 30px 30px 0 0; }
.cartoon-theme .stage-one { background: #bde7fa; }
.cartoon-theme .stage-two { background: #b9efd6; }
.cartoon-theme .stage-three { background: #ffe69f; }
.cartoon-theme .steps { scrollbar-color: #9ecbdf transparent; }
.cartoon-theme .gallery-controls button { border-color: #c9e5f4; }
.gallery-controls[hidden] { display: none; }
.gallery-hint { display: none; }
.gallery-progress { min-width: 38px; text-align: center; color: var(--purple-dark); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cartoon-theme .questions { padding-block: 72px; }
.cartoon-theme .questions h2 { font-weight: 900; }
.cartoon-theme .join-section { border-radius: 0; background: #594ac9; }
.cartoon-theme .join-section .button { box-shadow: none; border-color: #292635; }
.cartoon-theme .site-footer { background: #fff; }
@media (min-width: 1800px) {
  .hero-stage { height: 50vw; }
  .world-note-coffee { left: calc(50% - 640px); }
  .world-note-volleyball { right: calc(50% - 680px); }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .hero-stage { height: 700px; }
  .world-note { font-size: 14px; padding: 8px 12px; }
  .world-note-coffee { left: 3%; bottom: 53%; }
  .world-note-volleyball { right: 2%; top: 20%; }
}
@media (max-width: 700px) {
  .cartoon-theme .site-header { padding: 22px 20px; }
  .cartoon-theme .site-header .button { font-size: 13px; box-shadow: 0 3px 0 var(--purple-dark); }
  .hero-intro { padding-top: 16px; }
  .hero-intro .eyebrow { font-size: 12px; letter-spacing: .07em; margin-bottom: 14px; }
  .hero-intro h1 { font-size: clamp(34px, 8.9vw, 60px); line-height: 1.06; }
  .hero-intro .hero-description { font-size: 17px; line-height: 1.6; max-width: 370px; margin: 18px auto; }
  .hero-intro .hero-note { font-size: 12px; margin-top: 14px; }
  .hero-stage { --phone-width: clamp(232px, 62vw, 280px); height: calc(var(--phone-width) * 2.2 + 70px + 62.5vw); margin-top: 24px; }
  .hero-stage::after { height: 18px; }
  .hero-phone { width: var(--phone-width); transform: translate3d(-50%, calc(var(--drift) * -16px), 0) rotate(calc(-2deg + var(--drift) * 2deg)); }
  .hero-phone-shell { border-width: 7px; border-radius: 34px; }
  .park-scene { display: none; }
  .park-mobile { position: absolute; inset: auto 0 0; display: flex; z-index: 0; pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #000 12%); }
  .park-crop { position: relative; width: 50%; aspect-ratio: .8; overflow: hidden; }
  .park-crop img { position: absolute; bottom: 0; width: 270.2703%; max-width: none; height: auto; }
  .park-crop-coffee img { left: 0; }
  .park-crop-volleyball img { right: 0; }
  .world-note { display: none; }
  .hero-stage-foot { padding: 14px 20px 0; }
  .cartoon-theme .intro { padding-block: 40px 44px; }
  .cartoon-theme .intro > p:first-child { font-size: 30px; }
  .community-stories { padding-block: 36px 40px; }
  .stories-heading { margin-bottom: 22px; }
  .stories-heading p { font-size: 16px; }
  .story-marquee { --story-gap: 16px; }
  .story-card { width: clamp(260px, 78vw, 340px); padding: 24px; }
  .story-card > p { font-size: 21px; }
  .motion-on .marquee-ready { mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .motion-on .marquee-ready:focus-within { mask-image: none; }
  .stories-bridge { margin-top: 24px; }
  .cartoon-theme .journey { padding-block: 36px 24px; }
  .cartoon-theme .section-heading { margin-bottom: 24px; }
  .cartoon-theme .section-heading h2 { font-size: 34px; }
  .step-copy { min-height: 160px; }
  .step h3 { font-size: 22px; margin: 8px 0 10px; }
  .step p { font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
  .cartoon-theme .screen-stage { padding: 18px 16px 0; border-radius: 24px 24px 0 0; }
  .screen-stage .phone { width: clamp(178px, 52vw, 226px); max-width: 100%; border-width: 5px; border-radius: 24px 24px 0 0; }
  .gallery-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .gallery-caption { display: contents; }
  .gallery-caption > p:not(.gallery-hint) { grid-column: 1 / -1; grid-row: 2; }
  .gallery-caption .gallery-hint { display: flex; align-items: center; gap: 7px; color: var(--purple-dark); font-size: 14px; font-weight: 700; }
  .gallery-hint span { font-size: 19px; line-height: 1; }
  .gallery-controls { grid-column: 2; grid-row: 1; align-items: center; gap: 6px; }
  .cartoon-theme .site-header .wordmark, .cartoon-theme .site-footer a { min-height: 44px; }
  .cartoon-theme .site-footer nav { gap: 4px 20px; }
  .cartoon-theme .site-footer nav a { display: inline-flex; align-items: center; }
  .cartoon-theme .questions { padding-block: 48px; }
}
.motion-paused .hero-phone { transform: translateX(-50%) !important; }
.motion-on .hero-phone-shell { animation: sawa-phone-breathe 5s ease-in-out infinite; animation-play-state: paused; }
.motion-on .world-note { animation: sawa-note-drift 4.4s ease-in-out infinite; animation-play-state: paused; }
.motion-on .world-note-volleyball { animation-delay: -2.2s; }
.motion-on .ambient-visible { animation-play-state: running; }
.motion-on .reveal-queued { opacity: 0; transform: translateY(22px); }
.motion-on .reveal-enter { animation: sawa-enter .65s cubic-bezier(.2,.65,.3,1) both; animation-delay: var(--reveal-delay, 0ms); }
.motion-on .hero-intro h1 { animation: sawa-enter .8s cubic-bezier(.2,.65,.3,1) both; }
@keyframes sawa-phone-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sawa-note-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes sawa-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .motion-on .marquee-ready:hover .story-track { animation-play-state: paused; }
  .screen-stage .phone { transition: transform .3s ease; }
  .screen-stage:hover .phone { transform: translateY(-6px); }
  .motion-paused .screen-stage:hover .phone { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-on .reveal-queued { opacity: 1; transform: none; }
  .story-marquee { overflow-x: auto !important; mask-image: none !important; }
  .story-track { animation: none !important; transform: none !important; }
  .story-group-copy { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-phone { transform: translateX(-50%) !important; }
  .hero-world.has-motion .hero-phone { will-change: auto; }
}
