@font-face{font-family:CourierPrime;src:url('assets/CourierPrime-Regular.ttf') format('truetype');font-display:swap}
:root{--paper:#eee;--ink:#333;--cream:#fff7e7;--yellow:#f4ca7c;--muted:#c3c3c3;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button{font:inherit}button:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}
.effect-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.hero{min-height:832px;display:grid;grid-template-columns:1fr 1fr;max-width:1280px;margin:auto;overflow:hidden}
.hero-copy{display:grid;place-items:center;padding:64px}.hero-copy-inner{text-align:center;max-width:512px}.wordmark{display:flex;align-items:center;justify-content:center;gap:.33em;margin:0;font-size:54px;line-height:1.1;font-weight:700;white-space:nowrap;letter-spacing:-.025em}.brand-mark{display:inline-block;width:.93em;height:1em;flex:none;background:var(--ink);mask:url('assets/brand.svg') center/contain no-repeat;-webkit-mask:url('assets/brand.svg') center/contain no-repeat}.hero-line{font-size:28px;line-height:1.35;margin:36px 0}.store-badge{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:180px;height:60px;border:1px solid #777;border-radius:9px;background:#000;color:#fff;text-align:left;padding:5px 12px;cursor:default}.store-badge span:last-child{display:flex;flex-direction:column}.store-badge small{font-size:10px;line-height:1.1}.store-badge strong{font-size:21px;line-height:1.05;font-weight:500}.apple-symbol{font-size:28px;line-height:1;transform:scaleX(.8);display:block}.store-badge:disabled{opacity:1}
.phone-stage{height:832px;display:flex;justify-content:center;align-items:flex-start;padding-top:205px;overflow:hidden}.phone{width:528px;height:1100px;border:11px solid #1c2025;border-radius:74px;background:#1c2025;box-shadow:inset 0 0 0 4px #858b91,0 4px 9px #0003;position:relative;flex:none}.phone::before{content:'';position:absolute;inset:5px;border:3px solid #777e83;border-radius:62px;pointer-events:none;z-index:4}.phone-screen{position:absolute;inset:14px;background:#fff;border-radius:54px;overflow:hidden}.dynamic-island{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:150px;height:44px;border-radius:40px;background:#070707;z-index:3}.phone-status{height:74px;padding:26px 38px 0;display:flex;justify-content:space-between;font-size:18px;font-weight:700}.status-right{display:flex;align-items:center;gap:7px}.signal{font-size:14px;letter-spacing:-4px;margin-right:4px}.wifi{font-size:20px;transform:rotate(180deg)}.battery{width:27px;height:13px;border-radius:4px;background:#111;display:inline-block}.app-header{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.app-name{display:flex;align-items:center;gap:9px;font-size:28px;font-weight:700}.app-name .brand-mark{width:27px;height:29px}.menu-glyph{display:grid;gap:4px}.menu-glyph i{display:block;width:26px;height:2.5px;background:#333;border-radius:3px}
.card-list{position:relative;margin:29px 28px 0;height:460px}.memory-card{position:absolute;left:0;width:100%;min-height:115px;padding:18px 18px 14px;border-radius:8px;display:flex;gap:15px;justify-content:space-between;transition:transform .7s cubic-bezier(.2,.7,.2,1);will-change:transform,opacity;color:#333}.memory-copy{min-width:0;align-self:center}.memory-title{font-size:28px;line-height:1.2;font-weight:500;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.memory-detail{font-size:16px;line-height:1.25;color:#555;margin:10px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.memory-meta{flex:none;min-width:28px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:28px}.memory-number{font-family:CourierPrime,monospace;font-size:20px;letter-spacing:.08em}.memory-flower{position:relative;width:29px;height:29px;display:block;color:var(--flower)}.memory-flower i{position:absolute;left:13px;top:0;width:3px;height:11px;border-radius:3px;background:currentColor;transform-origin:1.5px 14.5px;transform:rotate(calc(var(--ray) * 60deg)) scaleY(var(--ray-scale,1));transition:transform .1s linear}
.story{max-width:1280px;margin:auto;display:grid;grid-template-columns:1fr 1fr;min-height:640px}.story-panel{background:#333;min-height:640px;position:relative;display:grid;place-items:center;padding:70px}.story-card{width:min(353px,100%);height:250px;background:#fff;border-radius:16px;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.story-card.is-last{background:#f4ca7c}.story-card h2{font-size:24px;line-height:1.25;margin:0;font-weight:700}.story-card p{font-size:18px;line-height:1.35;margin:0}.story-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:none;color:#c3c3c3;font-size:34px;line-height:1;width:44px;height:44px;cursor:pointer;font-weight:200}.story-arrow-left{left:12px}.story-arrow-right{right:12px}.story-dots{position:absolute;bottom:162px;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center}.story-dot{width:8px;height:8px;border:0;border-radius:99px;background:#c3c3c3;padding:0;cursor:pointer;transition:width .3s}.story-dot[aria-selected=true]{width:32px}.story-art{min-height:640px;background-image:url('assets/zen-garden.png');background-size:300% 100%;background-position:left center;transition:background-position .9s cubic-bezier(.2,.7,.2,1)}
.closing{max-width:1280px;margin:auto;min-height:436px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center}.closing .wordmark{font-size:40px}.closing p{font-size:18px;margin:8px 0 36px}.footer{min-height:474px;background:#333;color:#fff;text-align:center;padding:125px 20px 90px}.quote{margin:0 auto 60px;max-width:450px}.quote blockquote{color:#f4ca7c;font-family:Georgia,serif;font-size:24px;line-height:1.16;margin:0}.quote figcaption{font-size:14px;margin-top:10px}.footer nav{display:flex;justify-content:center;gap:16px;font-size:14px}.footer-pending{opacity:.8;text-decoration:underline;text-underline-offset:2px}.footer small{display:block;margin-top:24px;font-size:13px}
@media(max-width:700px){.hero{display:block;min-height:0}.hero-copy{height:432px;padding:50px 32px}.wordmark{font-size:36px}.hero-line{font-size:18px;line-height:1.35;max-width:280px;margin:36px auto}.phone-stage{height:442px;padding-top:48px}.phone{transform:scale(.63);transform-origin:top center}.story{display:flex;flex-direction:column;min-height:0}.story-art{order:0;min-height:393px;height:393px;background-size:300% 100%}.story-panel{order:1;min-height:260px;padding:0 20px 32px;display:block;background:#eee}.story-card{position:relative;margin:-62.5px auto 0;width:min(353px,100%);height:250px;box-shadow:0 12px 24px #0002;z-index:1}.story-arrow{display:none}.story-dots{bottom:0}.closing{min-height:310px;padding:64px 20px}.closing .wordmark{font-size:36px}.footer{min-height:502px;padding:128px 20px}.quote blockquote{font-size:24px}.footer nav{gap:14px;flex-wrap:wrap}.footer small{margin-top:24px}}
@media(max-width:390px){.wordmark{font-size:33px}.phone-stage{height:420px}.phone{transform:scale(.58)}.story-art{height:100vw;min-height:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.memory-card,.story-art,.story-dot{transition:none}}

/* The living phone uses the app's card measurements and color fade. */
.memory-card{min-height:116px;padding:24px;gap:20px;align-items:stretch;background:#fff;transition:transform .42s linear;overflow:hidden}
.memory-copy{flex:1;align-self:center;min-width:0}
.memory-title{font-size:24px;line-height:29px;font-weight:500}
.memory-detail{font-size:16px;line-height:20px;margin:20px 0 0}
.memory-meta{min-height:48px;min-width:33px;gap:20px}
.memory-number{font-size:18px;line-height:18px;letter-spacing:2px}
.memory-flower{width:23px;height:24px;color:var(--flower)}
.memory-flower svg{display:block;width:23px;height:24px;overflow:visible}
.memory-flower i{display:none}
.store-badge{display:inline-block;width:180px;height:60px;padding:0;border:0;border-radius:0;background:none;line-height:0}
.store-badge img{display:block;width:180px;height:60px}
.footer nav a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* Both carousel layers travel horizontally; the cards finish before the garden. */
.story-panel{overflow:hidden}
.story{touch-action:pan-y}
.story-card-viewport{position:absolute;left:0;right:0;top:150px;width:100%;height:330px;overflow:hidden;pointer-events:none;z-index:1}
.story-card-track{height:100%;display:flex;align-items:flex-start;gap:110px;width:max-content;padding-top:40px}
.story-card{flex:none;width:353px;height:250px}
.story-arrow{z-index:2;display:grid;place-items:center;left:auto;right:auto;font-size:0}
.story-arrow img{display:block;width:32px;height:32px;pointer-events:none}
.story-arrow-left{left:18px}.story-arrow-right{right:18px}
.story-arrow[hidden]{display:none}
.story-dots{z-index:2}
.story-art{position:relative;overflow:hidden;background:none}
.story-art-strip{position:absolute;inset:0 auto 0 0;width:300%;height:100%;background:url('assets/zen-garden.png') left top/100% 100% no-repeat;will-change:transform}
@media(max-width:700px){
  .story-panel{overflow:visible}
  .story-card-viewport{top:-62.5px;height:300px;overflow:hidden}
  .story-card-track{padding-top:0}
  .story-card{margin:0;max-width:none;box-shadow:0 12px 24px #0002}
  .story-art{background:none}
}

/* The page fills the viewport; only the artwork keeps its square proportions. */
.hero{max-width:none;width:100%;height:100vh;height:100svh;min-height:0}
.phone-stage{height:100%;padding-top:24.5vh}
.phone{transform:scale(var(--phone-scale,1));transform-origin:top center}
.story{max-width:none;width:100%;min-height:0}
.story-panel,.story-art{height:50vw;min-height:0}
.story-card-viewport{top:calc(50% - 165px)}
.story-dots{bottom:calc(50% - 151px)}
.closing{max-width:none;width:100%;min-height:0;padding:128px 20px}
@media(max-width:700px){
  .hero{height:100vh;height:100svh}
  .hero-copy{height:46%}
  .phone-stage{height:54%;padding-top:0}
  .story{display:flex}
  .story-art{width:100%;height:100vw;min-height:0}
  .story-panel{width:100%;height:260px;min-height:0}
  .story-card-viewport{top:-62.5px}
  .story-dots{bottom:0}
  .story-arrow{display:none}
  .closing{padding:64px 20px}
}
