@import url('/fonts.css');
:root{--paper:#f8f4ec;--ink:#292720;--muted:#746e62;--line:#d9d0c2;--accent:#7b392e;--cream:#eee6d8;--white:#fffdf8;--green:#475c49}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:5px}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a56940;outline-offset:4px}.test-bar{padding:7px 5vw;background:#eae4d8;text-align:center;color:#6a6153;font:12px/1.5 system-ui;letter-spacing:.13em}.test-bar span{letter-spacing:.02em;margin-left:15px}.site-header{max-width:1280px;margin:auto;padding:29px 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{font:26px Georgia,serif;letter-spacing:-1px;text-decoration:none}.mark{font-size:24px;margin-left:12px;color:var(--accent)}.quiet{font-size:15px;color:var(--muted)}main{min-height:70vh}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.08;margin:0}h1{font-size:clamp(44px,5.5vw,76px);letter-spacing:-.045em}h2{font-size:clamp(32px,4vw,48px);letter-spacing:-.035em}h3{font-size:28px;letter-spacing:-.02em}p{margin:14px 0}.eyebrow{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:600}.hero{max-width:1280px;margin:auto;padding:72px 42px 90px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.hero h1{max-width:550px}.hero h1 em{font-weight:400;color:var(--accent)}.hero-copy>.eyebrow{margin:0 0 26px}.hero-copy>.lead{max-width:415px;margin:26px 0 30px;font-size:18px;color:#635d51;line-height:1.65}.btn,button.primary{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:14px 24px;border:1px solid var(--accent);background:var(--accent);color:#fffaf2;text-decoration:none;border-radius:4px;font-size:15px;font-weight:550;min-height:48px}.btn:hover,button.primary:hover{background:#642d24}.btn.secondary,button.secondary{background:transparent;border:1px solid var(--line);color:var(--ink);padding:12px 20px;border-radius:4px;min-height:46px}.text-button{border:0;background:transparent;padding:10px 0;color:var(--accent);text-decoration:underline;text-underline-offset:5px}.hero-actions{display:flex;gap:23px;align-items:center;flex-wrap:wrap}.fine{font-size:14px;color:var(--muted);line-height:1.6}.hero-copy>.fine{margin-top:21px}.photo-stack{position:relative;padding:14px 18px 0;max-width:505px}.photo-stack:before{content:"";position:absolute;inset:20px 0 8px 28px;background:#e7dcc9;border:1px solid #d6c8b1;transform:rotate(5deg)}.print{position:relative;margin:0;background:var(--white);padding:15px 15px 24px;box-shadow:0 12px 30px #45351c15;transform:rotate(-3deg);border:1px solid #e9e1d2}.print img{width:100%;aspect-ratio:1.08;object-fit:cover;display:block;filter:saturate(.8)}.print figcaption{font:italic 25px/1.3 Georgia,serif;padding:25px 12px 4px;color:#594437}.sample-stamp{position:absolute;bottom:-25px;right:-10px;background:var(--paper);border:1px solid var(--line);padding:12px 18px;font:12px/1.6 system-ui;letter-spacing:.1em;transform:rotate(2deg)}.promise-strip{max-width:1196px;margin:0 auto 80px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.promise-strip>div{padding:25px 30px;border-right:1px solid var(--line)}.promise-strip>div:last-child{border:0}.promise-strip strong{font:20px Georgia,serif;display:block;margin-bottom:7px}.promise-strip p{font-size:15px;color:var(--muted);margin:0}.section{max-width:1160px;margin:0 auto;padding:25px 30px 80px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.demo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.demo-tile{padding:0;border:0;background:none;text-align:left;text-decoration:none}.demo-tile img{width:100%;aspect-ratio:1.4;object-fit:cover}.demo-tile h3{font-size:23px;margin-top:13px}.demo-tile .eyebrow{margin-top:15px;font-size:12px}.site-footer{max-width:1196px;margin:20px auto 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:30px 0 45px;font-size:14px;color:var(--muted);gap:20px}.narrow{max-width:640px;margin:65px auto 90px;padding:0 24px}.narrow h1{font-size:48px}.panel{background:var(--white);border:1px solid var(--line);padding:28px;border-radius:4px;margin:26px 0}.notice{border-left:3px solid #a2774b;background:#efe7d8;padding:13px 18px;font-size:15px;color:#645640;margin:20px 0}.row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.row.between{justify-content:space-between}.field{display:block;margin:19px 0}.field>span{font-size:15px;font-weight:600;display:block;margin-bottom:7px}.field small{display:block;font-size:14px;color:var(--muted);font-weight:400;margin-top:6px}input,textarea,select{width:100%;padding:12px 14px;background:#fffdf9;border:1px solid #cfc5b5;color:var(--ink);border-radius:4px}textarea{resize:vertical;min-height:110px;line-height:1.7}input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--accent)}label.check{display:flex;gap:10px;align-items:flex-start;font-size:15px;margin:20px 0}.editor{max-width:1130px;margin:40px auto 80px;padding:0 30px}.editor-head{margin:30px 0 35px}.editor-head h1{font-size:53px}.editor-layout{display:grid;grid-template-columns:1fr 260px;gap:35px;align-items:start}.editor-sidebar{position:sticky;top:20px;border-top:2px solid var(--accent);padding-top:18px}.editor-sidebar h3{font-size:23px}.editor-sidebar p{font-size:15px;color:var(--muted)}.editor-sidebar .primary{width:100%}.save-state{color:var(--green);font-size:14px;min-height:20px}.save-state.error{color:#9e2929}.name-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.memory-editor{background:var(--white);border:1px solid var(--line);padding:26px;margin:22px 0;border-radius:5px}.memory-editor h3{font-size:27px}.order-buttons{display:flex;gap:5px}.order-buttons button{border:1px solid var(--line);background:transparent;border-radius:3px;width:35px;height:35px}.memory-editor .reason-input{min-height:85px}.visual-editor{border:1px dashed #d5c7b2;background:#f5efe5;padding:14px;border-radius:3px}.visual-preview{width:100%;max-height:220px;object-fit:contain;display:block;cursor:zoom-in}.origin{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:9px 0}.photo-list{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.photo-item{width:96px}.photo-thumb{width:96px;height:72px;object-fit:cover;cursor:zoom-in;border:2px solid transparent;border-radius:3px}.photo-item.selected .photo-thumb{border-color:var(--accent)}.photo-item button{font-size:12px;border:0;background:none;padding:3px;min-height:30px;color:var(--accent)}input[type=file]{font-size:14px;background:#fff}.piece-list{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.piece{font:15px/1.5 Georgia,serif;border:1px solid var(--line);background:var(--paper);padding:9px 12px;border-radius:3px;max-width:100%;text-align:left}.piece.active{border-color:var(--accent);background:#f0ded3}.piece:disabled{opacity:1}.memory-editor details{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.memory-editor summary{cursor:pointer;font-size:15px;color:var(--accent)}.gift-shell{max-width:800px;margin:44px auto 90px;padding:0 24px}.gift-heading{text-align:center;margin-bottom:30px}.gift-heading h1{font-size:65px}.gift-heading p{color:var(--muted);font:20px Georgia,serif}.gift-intro{max-width:650px;margin:auto;text-align:center;padding:50px 24px 65px}.gift-intro img{width:100%;aspect-ratio:1.65;object-fit:cover;margin:25px 0}.gift-intro .primary{margin:15px 0}.gift-intro h1{font-size:65px}.memory-view{background:var(--white);border:1px solid var(--line);padding:28px;margin:28px 0}.memory-visual{width:100%;max-height:460px;object-fit:contain;background:#f3ede3;display:block;cursor:zoom-in}.memory-view h2{font-size:32px;margin:25px 0 16px}.account,.source-piece{font:23px/1.6 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere}.source-piece{font-style:italic;margin:28px 0}.meaning{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.meaning p{font:italic 23px/1.55 Georgia,serif;white-space:pre-wrap}.note{border-left:2px solid #a7906e;background:#f4eee4;padding:17px 20px;margin-top:28px}.note p{white-space:pre-wrap}.note-form{border-top:1px solid var(--line);margin-top:25px;padding-top:10px}.note-form textarea{font-size:15px;min-height:88px}.gift-nav{display:flex;justify-content:space-between;gap:15px;margin:22px 0;flex-wrap:wrap}.ready{max-width:750px;margin:50px auto;padding:0 24px}.ready h1{font-size:58px}.link-box{display:flex;gap:8px}.link-box input{font-size:14px;min-width:0}.link-box button{flex-shrink:0}.destructive{color:#8b2727!important}.actions-section{border-top:1px solid var(--line);margin-top:32px;padding-top:20px}.actions-section summary{cursor:pointer;font-size:15px}.empty{padding:60px 24px;text-align:center}.empty h1{font-size:42px}.toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:18px 0}.compact{font-size:14px}.gallery{display:flex;gap:10px;flex-wrap:wrap}.gallery img{width:100px;height:75px;object-fit:cover;cursor:zoom-in}.preview-banner{padding:12px;background:#e6dfd0;text-align:center;font-size:14px}.terms p{font-size:15px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:12px 22px;max-width:90vw;box-shadow:0 3px 20px #0002;border-radius:4px;display:none;z-index:10;font-size:15px}#toast.visible{display:block}#toast.error{background:#882e28}dialog{border:0;background:var(--paper);padding:20px;max-width:95vw;max-height:95vh}dialog::backdrop{background:#252018dd}#photo-dialog img{max-width:86vw;max-height:78vh;display:block;object-fit:contain}.photo-close{display:block;margin-left:auto;margin-bottom:10px;border:0;background:none;color:var(--accent);padding:8px}.loading{text-align:center;padding:90px;color:var(--muted)}@media(max-width:800px){.site-header{padding:20px 24px}.hero{padding:45px 24px 70px;grid-template-columns:1fr;gap:40px}.hero h1{font-size:60px}.hero-copy>.lead{font-size:17px;max-width:430px}.photo-stack{width:90%;margin:auto}.promise-strip{margin:0 24px 45px;grid-template-columns:1fr}.promise-strip>div{border-right:0;border-bottom:1px solid var(--line);padding:18px 0}.demo-grid{grid-template-columns:1fr;gap:30px}.demo-tile{display:grid;grid-template-columns:130px 1fr;gap:0 20px}.demo-tile img{grid-row:1/4;aspect-ratio:1}.demo-tile h3{font-size:22px;margin:0}.section{padding:10px 24px 45px}.section-head h2{font-size:33px}.site-footer{margin:0 24px;padding:25px 0;flex-wrap:wrap}.site-footer span{display:none}.editor{padding:0 20px;margin-top:25px}.editor-layout{grid-template-columns:1fr}.editor-sidebar{position:static}.editor-head h1{font-size:43px}.name-fields{grid-template-columns:1fr;gap:0}.memory-editor{padding:19px}.gift-shell{padding:0 16px;margin-top:28px}.memory-view{padding:17px}.account,.source-piece{font-size:21px}.meaning p{font-size:21px}.gift-heading h1,.gift-intro h1{font-size:55px}.gift-intro{padding:35px 22px}.gift-nav button{flex:1;min-width:140px}.test-bar span{display:block;margin:0}.ready h1{font-size:46px}.link-box{flex-wrap:wrap}.link-box input{width:100%}.panel{padding:22px}.narrow{margin-top:40px}.section-head{align-items:start;gap:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* The creator is a place to write and read; all colors inherit the existing gift. */
.creating .site-header{padding-top:22px;padding-bottom:22px}
.creating .site-footer{max-width:880px}
.creator-shell{max-width:880px;margin:32px auto 76px;padding:0 32px}
.creator-top{display:flex;justify-content:space-between;gap:20px;align-items:baseline;padding-bottom:20px;border-bottom:1px solid var(--line)}
.creator-dedication{font:italic 19px/1.5 Georgia,serif;margin:0;color:var(--muted)}
.creator-top .save-state{font-size:13px;max-width:240px;text-align:right;flex-shrink:0}
.memory-navigation{display:flex;gap:26px;align-items:center;padding:22px 0}
.memory-position{display:flex;align-items:center;gap:9px;min-height:44px;background:none;border:0;border-bottom:1px solid transparent;padding:5px 0;color:var(--muted)}
.memory-position>span:first-child{font:18px Georgia,serif;font-variant-numeric:tabular-nums}
.memory-position .position-state{font-size:13px}
.memory-position.current{color:var(--accent);border-bottom-color:var(--accent)}
.read-together{margin-left:auto;font-size:14px;color:var(--muted);white-space:nowrap}
.writing-page.memory-editor{background:var(--white);border:0;border-radius:0;padding:42px 54px 26px;margin:0;box-shadow:0 4px 28px #45351c06}
.writing-page>.eyebrow{font-size:12px;margin:0 0 17px}
.writing-page h1{font-size:clamp(32px,3.4vw,45px);letter-spacing:-.035em;text-wrap:balance}
.recall-invitation{font-size:15px;color:var(--muted);margin:15px 0 36px}
.writing-field{display:block;margin:0 0 26px}
.writing-field>span{display:block;font-size:15px;color:var(--accent);margin-bottom:12px;font-weight:500}
.writing-field textarea{display:block;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 14px;background:none;resize:none;overflow:hidden;font:23px/1.7 Georgia,serif;min-height:165px;white-space:pre-wrap;overflow-wrap:anywhere}
.writing-field textarea::placeholder{color:#999080;font-style:italic}
.writing-field textarea:focus{border-bottom-color:var(--accent)}
.reason-writing textarea{font-style:italic;min-height:92px}
.writing-help{display:block;font-size:13px;color:var(--muted);margin-top:7px}
.inline-error{color:var(--accent);font-size:15px}
textarea[aria-invalid=true]{border-bottom:2px solid var(--accent)}
.memory-extras>summary,.pieces-editor>summary,.draft-details>summary,.order-editor>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;color:var(--muted)}
.memory-extras>summary .fine{margin-left:8px;font-size:12px}
.writing-page .memory-extras{margin:8px 0 0;border:0;padding:0}
.extras-body{padding:12px 0 10px}
.extras-body .visual-editor{border:0;background:var(--paper);padding:20px}
.extras-body .visual-preview{max-height:180px}
.extras-body .pieces-editor{border-top:1px solid var(--line);padding-top:8px}
.attached-photos{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:5px 0 15px}
.attached-photos .photo-thumb{width:65px;height:50px}
.creator-next{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:25px 0}
.creator-next>.fine{font-size:14px;max-width:240px}
.creator-next .primary{flex-shrink:0}
.draft-details{margin-top:22px;border-top:1px solid var(--line);padding-top:8px}
.draft-details-body{max-width:600px;padding:10px 0 20px}
.draft-details-body>p{font-size:15px;color:var(--muted)}
.dedication-shell{max-width:680px;margin-top:76px}
.dedication-shell h1{font-size:clamp(46px,5vw,68px);margin:22px 0}
.creator-lead{font:19px/1.7 Georgia,serif;color:var(--muted)}
#dedication-form{margin:40px 0 25px}
.dedication-field{display:flex;align-items:center;gap:20px;margin:24px 0}
.dedication-field>span{font:italic 25px Georgia,serif;color:var(--accent);width:64px;flex-shrink:0}
.dedication-field input{font:26px/1.4 Georgia,serif;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:10px 0}
.dedication-field input::placeholder{color:#999080}
.dedication-row{display:flex;align-items:flex-end;gap:24px;margin:24px 0}.dedication-row .dedication-field{flex:1;min-width:0;margin:0}.dedication-field input{width:100%;min-width:0}
.age-now{display:flex;flex-direction:column;gap:8px;width:92px;flex-shrink:0}.age-now>span{white-space:nowrap;font-size:14px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#8a8070)}.age-now input{font:26px/1.4 Georgia,serif;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:10px 0;width:100%;-moz-appearance:textfield}.age-now input::-webkit-outer-spin-button,.age-now input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.age-note{margin:-8px 0 8px}
/* One column heading over both age boxes; each input keeps its own aria-label. */
.dedication-row+.dedication-row .age-now>span{display:none}
#dedication-form .primary{margin-top:20px}
.creator-reading-heading{padding:46px 0 28px}
.creator-reading-heading h1{font-size:clamp(40px,4.6vw,60px);max-width:720px;text-wrap:balance}
.creator-reading-heading>p:last-child{font:18px/1.6 Georgia,serif;color:var(--muted)}
.creator-reading{background:var(--white);padding:0 54px}
.review-memory{padding:30px 0 28px;border-bottom:1px solid var(--line)}
.review-memory:last-child{border:0}
.review-memory-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
.review-memory-head .text-button{font-size:14px;color:var(--muted)}
.review-memory .account{font-size:24px;margin:16px 0 26px}
.review-meaning>.eyebrow{font-size:12px;letter-spacing:.1em}
.review-meaning p{font:italic 23px/1.6 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 22px}
.review-memory .unfinished{font:italic 19px/1.7 Georgia,serif;color:var(--muted)}
.review-visual{margin-top:25px;max-width:240px}
.review-visual-image{display:block;width:100%;max-height:125px;object-fit:contain;object-position:left;cursor:zoom-in}
.review-visual .origin{font-size:12px;text-transform:none;letter-spacing:0;line-height:1.5}
.reading-mode{font-size:13px;margin-top:8px}
.order-editor{border-top:1px solid var(--line);padding-top:9px;margin-top:25px}
.order-editor ol{padding:0;list-style:none;margin:10px 0 25px}
.order-editor li{display:flex;justify-content:space-between;gap:24px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center}
.order-editor li>div:first-child{display:flex;gap:17px;align-items:baseline;min-width:0}
.order-number{font:18px Georgia,serif;color:var(--accent)}
.order-editor li p{font:16px/1.6 Georgia,serif;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.order-buttons{flex-shrink:0}
.order-buttons button{height:44px;width:44px}
.preview-invitation{padding:22px 0 5px}
.preview-invitation>p:first-child{font-size:15px;color:var(--muted)}
.preview-invitation .incomplete-notice{color:var(--accent)}
.creator-preview-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:10px 32px;background:var(--paper);border-bottom:1px solid var(--line);font-size:14px}
.creator-preview-bar>div{display:flex;gap:24px;align-items:center}
.creator-preview-bar .text-button{font-size:14px;color:var(--muted)}
.creator-preview-bar button.secondary{padding:8px 16px;font-size:14px;min-height:40px;background:var(--white)}
.creator-finish{padding:48px 0 10px;max-width:660px;margin:auto}
.creator-finish h1{font-size:clamp(44px,5vw,64px)}
.send-boundary{margin:38px 0 16px;padding-top:25px;border-top:1px solid var(--line)}
.send-boundary h2{font-size:26px;margin-bottom:16px}
.send-boundary>p{font-size:15px;color:var(--muted);line-height:1.7}
.creator-finish>.text-button{display:block;font-size:15px;color:var(--muted)}
.creator-shell button{transition:background-color .18s,color .18s}
.creator-shell button.primary:active{transform:translateY(1px)}
#creator-title:focus{outline:none}
@media(max-width:600px){
 .creating .site-header{padding:18px 22px}.creating .wordmark{font-size:24px}
 .creator-shell{padding:0 20px;margin:20px auto 50px}
 .creator-top{gap:12px;padding-bottom:15px}.creator-dedication{font-size:16px}.creator-top .save-state{font-size:12px;max-width:145px}
 .memory-navigation{gap:21px;padding:14px 0}.memory-position{gap:0}.memory-position>span:first-child{font-size:17px}.position-state{display:none}.read-together{font-size:13px}
 .writing-page.memory-editor{padding:26px 23px 17px;margin:0 -3px}
 .writing-page h1{font-size:34px}.writing-page>.eyebrow{margin-bottom:16px}
 .recall-invitation{font-size:14px;margin:13px 0 27px}
 .writing-field{margin-bottom:23px}.writing-field>span{font-size:14px;margin-bottom:11px}
 .writing-field textarea{font-size:20px;line-height:1.65;min-height:154px}
 .reason-writing textarea{min-height:96px}.writing-help{font-size:12px}
 .memory-extras>summary{font-size:13px}.memory-extras>summary .fine{font-size:12px;margin-left:3px}
 .creator-next{flex-wrap:wrap;gap:8px;padding:16px 0}.creator-next>.fine{max-width:none;width:100%;margin:0 0 4px;font-size:13px}.creator-next .primary{width:100%}
 .draft-details{margin-top:16px}.draft-details>summary{font-size:13px}
 .dedication-shell{margin-top:40px}.dedication-shell h1{font-size:49px}.dedication-shell>.eyebrow{font-size:12px}.creator-lead{font-size:17px}
 #dedication-form{margin-top:27px}.dedication-field{gap:15px}.dedication-field>span{font-size:22px;width:50px}.dedication-field input{font-size:24px}.dedication-row{gap:14px;margin:20px 0}.age-now{width:76px}.age-now>span{font-size:13px;letter-spacing:.06em}.age-now input{font-size:24px}
 .creator-reading-heading{padding:29px 0 22px}.creator-reading-heading h1{font-size:43px}.creator-reading-heading>p:last-child{font-size:17px}
 .creator-reading{padding:0 24px;margin:0 -3px}.review-memory{padding:21px 0}.review-memory .account{font-size:21px}.review-meaning p{font-size:21px}
 .review-visual{max-width:170px}.review-visual-image{max-height:100px}
 .order-editor li{gap:10px}.order-editor li>div:first-child{gap:9px}.order-editor li p{font-size:15px}.order-buttons{gap:2px}.order-buttons button{width:40px;height:44px}
 .creator-preview-bar{padding:9px 16px;gap:5px;flex-wrap:wrap}.creator-preview-bar>span{font-size:12px;width:100%}.creator-preview-bar>div{width:100%;justify-content:space-between;gap:10px}
 .creator-preview-bar .text-button{font-size:13px}.creator-preview-bar button.secondary{min-height:38px;font-size:13px}
 .creator-finish{padding-top:30px}.creator-finish h1{font-size:45px}.send-boundary{margin-top:28px}.send-boundary>p{font-size:15px}
}

/* Human words lead; images stay present without swallowing the writing. */
.creator-shell{max-width:1120px}.writing-and-image{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:48px;align-items:start}.human-writing{min-width:0}.memory-image{padding-top:10px}.memory-image .visual-preview{width:100%;height:auto;max-height:270px;object-fit:contain;background:#f0e8dc}.memory-image .visual,.image-preview{margin:0}.image-actions{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}.photo-upload{position:relative;display:inline-block;cursor:pointer}.photo-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.photo-upload:focus-within{outline:2px solid #81523e;outline-offset:3px}.memory-image .photo-list{display:flex;flex-wrap:wrap}.memory-image .photo-item{width:90px}.memory-image .photo-thumb{width:80px;height:70px}.context-fields{padding:12px 0 20px;display:grid;gap:8px}.field select{width:100%;padding:13px;border:1px solid #bfb5a4;background:#fffaf2;font:inherit;color:inherit;border-radius:2px}.sound-choice{position:fixed;bottom:18px;right:22px;z-index:20;display:flex;align-items:center;gap:10px;background:#f8f4ecf5;border:1px solid #d9d0c1;padding:8px 14px;box-shadow:0 3px 16px #28251f12}.sound-choice[hidden]{display:none}.optional-perspective{padding:18px 0;border-top:1px solid #ded5c6}.optional-perspective summary{cursor:pointer;font:15px/1.5 system-ui;color:#66594e}.memory-view .memory-visual{max-height:400px;object-fit:contain}.pieces-editor{margin:22px 0}.gift-heading{margin-bottom:30px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #81523e;outline-offset:4px}
@media(max-width:760px){.writing-and-image{grid-template-columns:1fr;gap:18px}.memory-image{display:block;max-width:100%;border-top:1px solid #ded5c6;padding-top:22px}.memory-image .visual-preview{max-height:240px}.sound-choice{right:12px;bottom:12px;max-width:calc(100vw - 24px)}.sound-choice .fine{display:none}.creator-shell{padding-left:22px;padding-right:22px}.gift-shell{padding-bottom:90px}.memory-view .memory-visual{max-height:300px}}

/* Memories lead the complete preview and kept collection. */
.memory-reading{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(180px,1fr);gap:30px;align-items:start}.memory-reading .memory-visual{max-height:240px}.memory-reading .account{margin-top:18px}.original-memory{min-width:0}.gift-shell .order-editor{margin-bottom:30px}.memory-reading .visual{margin:0}.memory-reading .meaning{margin-bottom:0}
@media(max-width:760px){.memory-reading{grid-template-columns:1fr;gap:20px}.memory-reading .memory-visual{max-height:230px}.original-memory .account{font-size:22px}.memory-view .original-memory h2{font-size:31px}}

/* Keep the sound choice in its own reading rail, never over the memory. */
.sound-choice{position:sticky;top:0;right:auto;bottom:auto;justify-content:flex-end;width:100%;max-width:none;margin:0;padding:7px max(22px,calc((100vw - 1196px)/2));border-width:0 0 1px;background:var(--paper);box-shadow:none}.sound-choice .text-button{padding:7px 0}
@media(max-width:760px){.sound-choice{right:auto;bottom:auto;max-width:none;padding:6px 22px}.sound-choice .text-button{min-height:34px;font-size:15px}}

/* Founder-requested creator correction: visible opening, explicit image creation. */
.creator-tools{display:flex;gap:20px;align-items:center}.creator-tools button.secondary{min-height:40px;padding:8px 13px;font-size:14px}
.image-section-label{font-size:15px;font-weight:600;color:var(--accent);margin:0 0 14px}
.memory-image{padding-top:0}.image-preview{overflow:hidden;border-radius:5px}
.memory-image .visual-preview{max-height:340px;border-radius:5px}
.image-placeholder,.image-progress{min-height:275px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px 22px;gap:12px;background:var(--paper);border:1px solid var(--line);border-radius:5px}
.image-placeholder strong,.image-progress strong{font:24px/1.25 Georgia,serif}.image-placeholder>span,.image-progress>span:not(.illustration-orbit){font-size:15px;line-height:1.6;color:var(--muted)}
.image-progress small{font-size:13px;color:var(--muted);max-width:220px}.image-placeholder-mark{width:72px;height:58px;stroke:var(--accent);stroke-width:1.4;margin-bottom:8px;opacity:.7}
.image-status{font-size:15px;margin:16px 0 13px;color:var(--muted)}.kept-status{color:var(--green);font-weight:600}.kept-status:before{content:'✓';margin-right:8px}
.memory-image .keep-illustration{width:100%;margin:0 0 10px}.memory-image .image-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}
.memory-image .image-actions>.primary,.memory-image .image-actions>.secondary,.photo-upload{display:flex;justify-content:center;align-items:center;border:1px solid var(--line);border-radius:4px;padding:12px 16px;min-height:48px;font-size:15px;text-decoration:none;background:var(--white);color:var(--ink);text-align:center;font-weight:500}
.memory-image .image-actions>.primary{background:var(--accent);border-color:var(--accent);color:var(--paper)}
.memory-image .image-actions>.secondary:hover,.photo-upload:hover{background:var(--cream)}.image-actions>.artwork-choice{font-size:13px;min-height:44px;color:var(--muted)}
.image-action-error{font-size:15px;color:#8b2727;background:#f8eee7;border-left:3px solid var(--accent);padding:12px 14px;margin:14px 0}.image-failure{border-color:#b37e70}
.memory-image .photo-item button.secondary{border:1px solid var(--line);background:var(--white);padding:5px;min-height:38px;width:100%;font-size:12px;text-decoration:none;margin-top:5px}
.illustration-orbit{position:relative;display:block;width:72px;height:72px;border:1px solid #d7c4b5;border-radius:50%;margin:8px 0 14px;animation:illustration-turn 3.4s linear infinite}
.illustration-orbit:before{content:'✳';display:block;position:absolute;inset:0;color:var(--accent);font:45px/70px Georgia,serif;animation:illustration-breathe 1.7s ease-in-out infinite alternate}
.illustration-orbit i{position:absolute;top:1px;left:28px;width:13px;height:13px;border-radius:50%;background:var(--accent)}.illustration-orbit i:nth-child(2){top:47px;left:1px;background:#8e977c;width:10px;height:10px}.illustration-orbit i:nth-child(3){top:52px;left:55px;background:#bc967a;width:8px;height:8px}
@keyframes illustration-turn{to{transform:rotate(360deg)}}@keyframes illustration-breathe{from{opacity:.35;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
.memory-position.image-in-progress:before{content:'';width:9px;height:9px;border-radius:50%;background:var(--accent);animation:illustration-breathe 1s ease-in-out infinite alternate}
.opening-editor{margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}.opening-editor h2{font-size:27px;letter-spacing:-.025em}.opening-editor>.fine{font-size:14px;line-height:1.6;margin:12px 0 18px}
.opening-preview{background:var(--paper);border-left:3px solid #ab8170;padding:18px 20px;margin-bottom:18px}.opening-preview blockquote{font:italic 20px/1.6 Georgia,serif;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.opening-preview blockquote+blockquote{margin-top:14px}.opening-preview p{font:18px/1.6 Georgia,serif;margin:0}
.opening-mode{display:flex;gap:10px;flex-wrap:wrap}.opening-mode button.secondary{padding:10px 14px;font-size:14px;min-height:44px}.opening-mode button[aria-pressed=true]{background:#f0ded3;border-color:var(--accent);color:var(--accent)}
.opening-editor .change-opening{font-size:14px;min-height:44px;margin-top:12px;padding:10px 14px}.opening-choices{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.opening-choices[hidden]{display:none}.opening-choices .piece-list{display:grid;gap:10px}.opening-choices .piece{min-height:44px}
@media(max-width:760px){.creator-tools{gap:9px}.creator-tools button.secondary{font-size:12px;padding:7px 9px}.creator-top{align-items:center}.creator-top .save-state{max-width:100px}.image-placeholder,.image-progress{min-height:245px}.memory-image .visual-preview{max-height:350px}.opening-mode{display:grid;grid-template-columns:1fr}.opening-mode button.secondary{justify-content:center}.memory-navigation .position-state{display:none}.memory-position.image-in-progress:before{display:block}.opening-editor h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.illustration-orbit,.illustration-orbit:before,.memory-position.image-in-progress:before{animation:none}}

.creating .text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:4px;background:var(--white);padding:10px 14px;min-height:44px;text-decoration:none}.creating .text-button:hover{background:var(--cream)}

/* A visible sound choice and drawing continuity, without covering the words. */
.sound-choice{justify-content:space-between;gap:18px;padding-top:12px;padding-bottom:12px;background:#eee6d9}.sound-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:10px 18px;border:1px solid #81523e;border-radius:3px;background:#81523e;color:#fffaf2;font:500 15px/1.4 system-ui;cursor:pointer;flex-shrink:0}.sound-mark{display:flex;align-items:center;gap:3px;height:18px}.sound-mark i{display:block;width:3px;height:8px;background:currentColor;border-radius:2px}.sound-mark i:nth-child(2){height:16px}.sound-mark i:nth-child(3){height:12px}.sound-mark.is-playing i{animation:sound-wave .9s ease-in-out infinite alternate}.sound-mark.is-playing i:nth-child(2){animation-delay:.2s}.sound-mark.is-playing i:nth-child(3){animation-delay:.4s}.sound-mark.is-playing i:nth-child(4){animation-delay:.1s}@keyframes sound-wave{to{transform:scaleY(.3)}}.continuity-note{font:15px/1.5 system-ui;color:#66594e;margin:0 0 16px}.continuity-note button{display:block;margin-top:8px;min-height:40px;padding:8px 12px}@media(max-width:760px){.sound-choice{padding:10px 22px;gap:12px}.sound-choice .fine{display:block;font-size:14px;max-width:145px}}@media(prefers-reduced-motion:reduce){.sound-mark.is-playing i{animation:none}}

.memory-image-column{min-width:0}.people-questions{margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--line)}.people-questions h2{font-size:20px;margin:0 0 4px}.people-questions .field{margin:14px 0;scroll-margin:24px 0}.people-questions:not([hidden])+.memory-image{border-top:0;padding-top:0}.people-questions input{width:100%;padding:13px;border:1px solid #bfb5a4;background:#fffaf2;font:inherit;color:inherit;border-radius:2px}.people-questions [aria-invalid=true]{border-color:var(--accent);outline:1px solid var(--accent)}.people-questions>.secondary{margin-top:10px;width:100%;display:flex;justify-content:center;align-items:center;border:1px solid var(--line);border-radius:4px;padding:12px 16px;min-height:48px;font-size:15px;background:var(--white);color:var(--ink);font-weight:500}.refusal-line{color:var(--accent);font-size:15px;line-height:1.45;margin:8px 0 0}.confirm-roles{margin-top:10px;width:100%;display:flex;justify-content:center;align-items:center;border:1px solid var(--line);border-radius:4px;padding:12px 16px;min-height:48px;font-size:15px;background:var(--white);color:var(--ink);font-weight:500}

/* Isolated connection test: the image, event and reason form one readable spread. */
.image-info{position:absolute;bottom:12px;right:12px;font:15px/1.5 system-ui;color:#51483c;z-index:2}.visual{position:relative}.image-info summary{cursor:pointer;list-style:none;border-radius:50%;background:#f8f4eced;width:30px;height:30px;display:grid;place-items:center}.image-info p{background:#f8f4ec;box-shadow:0 3px 20px #28251f18;padding:14px;width:230px;position:absolute;right:0;bottom:20px}.memory-navigation{align-items:stretch;gap:12px}.memory-position{flex:1;text-align:left;max-width:29%;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.memory-position>span:first-child{font:18px/1.3 Georgia}.writing-page h1{font-size:38px;max-width:760px}.memory-name{margin-top:28px;border-top:1px solid #ddd0c0;padding-top:20px}.memory-name summary{cursor:pointer}.continuity-note{font-size:14px}.continuity-note button{padding:3px 8px;min-height:32px}.order-editor{padding:28px 0;border-block:1px solid #ddd0c0;margin:35px 0}.order-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.order-card{padding:10px;background:#fffcf7;border:1px solid #d9d0c1;cursor:grab;touch-action:none;user-select:none;min-width:0}.order-card img{width:100%;height:150px;object-fit:contain;pointer-events:none}.order-card .image-info{display:none}.order-card h3{font:20px/1.3 Georgia;margin:14px 0;overflow-wrap:anywhere}.drag-hint{font:14px system-ui;color:#716554}.dragging{opacity:.5;transform:scale(.97)}.drop-target,.picked{outline:2px solid #81523e;background:#eee4d7}.letter{max-width:1160px}.letter-heading{padding:40px 0 60px;max-width:850px}.letter-heading h1{font:64px/1.08 Georgia;letter-spacing:-2px;margin:24px 0}.letter-heading h1 em{color:#81523e;font-weight:400}.letter-index{display:flex;flex-wrap:wrap;gap:8px 24px;margin:30px 0}.letter-index a{font:15px/1.5 Georgia;color:#66594e;text-underline-offset:5px}.letter-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap}.letter-memory{padding:40px 0 58px;margin:0;border-top:1px solid #d9d0c1}.letter-memory .review-memory-head h2{font:29px/1.25 Georgia;max-width:75%;overflow-wrap:anywhere}.letter-memory .memory-reading{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:54px;align-items:center}.letter-memory .memory-visual{width:100%;height:auto;max-height:530px;object-fit:contain}.letter-memory .account{font:25px/1.58 Georgia;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 30px}.letter-memory .meaning{padding:22px 0 0;border-top:1px solid #d9d0c1;border-left:0;background:transparent}.letter-memory .meaning p{font:italic 28px/1.5 Georgia;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#81523e}.letter-memory .optional-perspective{margin-top:24px}.letter-ending{text-align:center;padding:65px 0}.letter-ending .mark{font-size:34px}.letter-ending h2{font:42px Georgia}.letter .eyebrow{font-size:13px}.gift-shell p,.order-card{overflow-wrap:anywhere}.test-bar a{color:inherit}.memory-position .position-state{font-size:13px}.review-memory-head{gap:20px}
@media(max-width:700px){.letter-heading{padding:25px 0 32px}.letter-heading h1{font-size:44px}.letter-memory .memory-reading{grid-template-columns:1fr;gap:22px}.letter-memory .account{font-size:22px}.letter-memory .meaning p{font-size:25px}.letter-memory .review-memory-head h2{font-size:24px}.letter-memory .memory-visual{max-height:390px}.letter-index{display:grid;gap:12px}.order-cards{gap:8px}.order-card{padding:6px}.order-card img{height:100px}.order-card h3{font-size:15px}.memory-navigation{flex-wrap:wrap}.memory-position{max-width:none;min-width:25%}.memory-position>span:first-child{font-size:15px}.read-together{width:100%}.writing-page h1{font-size:30px}.letter-actions{gap:12px}.order-editor h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.motion-dialog{width:min(1100px,96vw);max-height:96vh;border:1px solid #d9d0c1;background:#f8f4ec;color:#28251f;padding:24px}.motion-dialog::backdrop{background:#28251fd9}.motion-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;font:15px system-ui}.motion-top button{padding:10px}.motion-layout{display:grid;grid-template-columns:minmax(0,530px) 1fr;gap:38px;align-items:center}.motion-player{border:1px solid #e4d9ca}.motion-controls h2{font:38px/1.2 Georgia}.motion-controls>button{margin:8px 8px 15px 0}.motion-controls input[type=range]{width:100%}.motion-controls .field{margin:20px 0}.motion-controls details{margin-top:25px}.motion-controls summary{cursor:pointer}@media(max-width:700px){.motion-dialog{padding:12px;max-height:98vh}.motion-layout{display:block}.motion-controls h2,.motion-controls>p:not(.fine){display:none}.motion-controls{padding:12px 4px}.motion-top{font-size:14px}.motion-controls .field{margin:4px 0}.motion-player{width:100%}}

.letter-memory{background:transparent;border:0;border-top:1px solid #d9d0c1;border-radius:0}.letter-memory .review-memory-head{padding:0;margin-bottom:24px}.letter-memory .memory-reading{padding:0}.letter-memory .optional-perspective,.letter-memory>.fine{margin-top:26px}.letter-memory .memory-reading>.visual{padding:0}.letter-heading{padding-bottom:30px}.letter-memory .meaning{margin:0}

/* A returned memory belongs in the gift, alongside its author. */
.return-journey:empty{display:none}.return-journey{margin:38px 0;padding:30px clamp(20px,4vw,42px);background:#eeeee3;border-left:3px solid #687460}.return-journey h2{font-size:clamp(29px,4vw,42px);line-height:1.16}.returned-note{padding:22px 0;border-bottom:1px solid #cfd2c1}.returned-note blockquote{margin:18px 0;font-family:Georgia,serif;font-size:clamp(21px,3vw,29px);line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.return-video-status{margin-top:28px}.return-pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#687460;margin-right:8px;animation:return-pulse 2s ease-in-out infinite}@keyframes return-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.return-pulse{animation:none}}.returned-video-dialog{width:min(650px,95vw);max-height:95vh;border:0;background:#f8f4ec;padding:22px;color:#28251f;overflow:auto}.returned-video-dialog::backdrop{background:#211c18b8}.returned-video-dialog video{display:block;width:100%;max-height:70vh;margin:15px 0;background:#f8f4ec}.returned-video-dialog .row{gap:16px}.returned-video-dialog .eyebrow{margin:0}

.letter-memory .optional-perspective{padding:28px clamp(18px,3vw,32px);background:#eeeee3;border-top:1px solid #d4d6c7}.perspective-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.perspective-heading h3{font-size:28px;color:#475c49}.optional-perspective .note-form{max-width:760px}.optional-perspective textarea{min-height:126px;background:#fffdf8}.optional-perspective input{background:#fffdf8}

/* The opening presents the memories as a small collection of prints. Every picture frame follows the picture's own shape (wide photo or tall drawing), so no head is cut. */
.letter-heading{max-width:none}.memory-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,3vw,34px);margin:44px 0 42px;padding:5px 8px 16px;max-width:940px}.memory-print{display:block;text-align:left;background:#fffdf8;border:1px solid #e8dfd2;padding:10px 10px 18px;min-width:0;color:#4d4034;box-shadow:0 6px 18px #42301b0c;transform:rotate(-2deg);transition:transform 200ms var(--calm),box-shadow 200ms var(--calm)}.memory-print:nth-child(2){transform:translateY(12px) rotate(1deg)}.memory-print:nth-child(3){transform:rotate(2deg)}.memory-print:hover,.memory-print:focus-visible{transform:translateY(-3px) rotate(0);box-shadow:0 12px 26px #42301b16}.memory-print-image{display:block;background:#e9dfd0;overflow:hidden}.memory-print-image img{display:block;width:100%;height:auto}.memory-print-caption{display:block;font:italic clamp(17px,2.1vw,25px)/1.3 Georgia,serif;padding:17px 8px 0;overflow-wrap:anywhere;text-decoration:none}.memory-shelf+.letter-actions{margin-top:22px}@media(max-width:600px){.memory-shelf{gap:10px;margin:30px -3px 34px;padding:4px 0 16px}.memory-print{padding:5px 5px 12px}.memory-print-caption{font-size:15px;line-height:1.3;padding:10px 3px 0}.memory-print:nth-child(2){transform:translateY(8px) rotate(1deg)}}@media(prefers-reduced-motion:reduce){.memory-print{transition:none}}

.memory-print{position:relative;padding-top:14px;overflow:visible}.memory-paperclip{position:absolute;z-index:2;top:-19px;left:23px;width:27px;height:63px;transform:rotate(-9deg);pointer-events:none;filter:drop-shadow(2px 2px 1px #352c2540)}.memory-paperclip svg{display:block;width:100%;height:100%;overflow:visible}.memory-paperclip path{stroke:#95877a;stroke-width:3.8;stroke-linecap:round;paint-order:stroke;filter:drop-shadow(-1px -1px 0 #fff9ef)}.memory-print:nth-child(2) .memory-paperclip{left:auto;right:25px;transform:rotate(9deg)}.memory-print:nth-child(3) .memory-paperclip{left:27px;transform:rotate(-5deg)}.memory-shelf{padding-top:19px}.memory-print-caption{background:linear-gradient(transparent calc(100% - 1px),#e8e0d433 1px);background-size:100% 1.3em}@media(max-width:600px){.memory-paperclip{width:20px;height:47px;top:-15px;left:12px}.memory-print:nth-child(2) .memory-paperclip{right:13px}.memory-print:nth-child(3) .memory-paperclip{left:12px}.memory-print{padding-top:9px}}

/* A short invitation, with room to grow only when someone writes. */
.letter-memory .optional-perspective{padding:18px 0 0;margin-top:24px;background:transparent;border-top:1px solid #d9d0c1}.perspective-heading{gap:12px}.perspective-heading h3{font-size:22px}.optional-perspective .note-form{max-width:760px}.optional-perspective .perspective-writing{margin:12px 0 10px}.optional-perspective textarea{display:block;width:100%;min-height:76px;height:76px;padding:12px 14px;resize:vertical;line-height:1.5}.perspective-send{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.optional-perspective .perspective-name{margin:0;flex:0 1 180px}.perspective-name>span{font-size:13px;margin-bottom:4px;font-weight:400}.optional-perspective .perspective-name input{padding:9px 12px;min-height:44px}.perspective-send button.secondary{min-height:44px;padding:9px 16px}.optional-perspective .perspective-help{margin:9px 0 0;font-size:13px;line-height:1.5}@media(max-width:600px){.optional-perspective .perspective-name{flex-basis:130px}.perspective-send{gap:10px}.perspective-send button.secondary{padding:9px 12px;font-size:15px}.perspective-heading h3{font-size:21px}}

.motion-player img{max-width:none;max-height:none}.motion-player p{font-weight:400}

@media(min-width:701px){.letter-memory .memory-reading>.visual{position:sticky;top:24px;align-self:start}}
.optional-perspective .note-form{border:0;margin-top:0;padding-top:0}

/* Complete long sources read as a letter, with original whitespace intact. */
.letter-memory .memory-reading{align-items:start}
.original-memory,.review-memory .account,.review-meaning p,.note p{max-width:62ch}
.note p,.review-meaning p{white-space:pre-wrap;overflow-wrap:anywhere}
.letter-memory .note{margin-top:30px}
.film-reading-note{max-width:65ch}

/* Ask for custom occasion text only when the customer chooses another event. */
.context-fields .custom-occasion[hidden]{display:none}

/* Private IIC reference selection within existing creator details. */
.identity-role{margin:24px 0;padding-top:16px;border-top:1px solid var(--line,#ded8cf)}
.identity-target{position:relative;margin-top:16px;width:100%;max-width:440px;line-height:0}
.identity-target img{display:block;width:100%;height:auto;touch-action:none;user-select:none}
.identity-box{position:absolute;border:2px solid #8b463c;box-sizing:border-box;pointer-events:none;background:rgba(139,70,60,.08)}
.identity-box[hidden]{display:none}
.identity-details .photo-upload{margin-right:8px}
.photo-upload[hidden]{display:none}.angle-hint{display:flex;align-items:center;gap:10px}.angle-hint img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}.angle-best span{color:var(--accent,#81523e)}.angle-advice{margin:12px 0;padding:14px 16px;border:1px solid var(--line,#ded8cf);border-radius:4px;background:var(--cream,#f8f4ec)}.angle-advice p{margin:0 0 12px;font-size:15px;line-height:1.5}.angle-actions{display:flex;flex-wrap:wrap;gap:8px}.angle-actions .secondary{min-height:48px}

/* Founder reference-intake correction: important controls remain visible. */
section.illustration-details{padding:24px 0;border-top:1px solid var(--line)}
section.illustration-details h2{font-size:24px;margin:0 0 18px}
.identity-role{margin-top:24px}
.identity-role h3{font-size:18px;margin:0 0 12px}
.identity-present{border:0;padding:0;margin:4px 0 8px;flex-basis:100%;min-width:0}.identity-present legend{font-size:15px;font-weight:600;padding:0;margin-bottom:8px}.identity-present-choice{display:inline-flex;gap:8px;align-items:center;font-size:15px;margin:0 18px 8px 0;cursor:pointer}
.home-motion [data-reveal] img,.home-motion [data-reveal] video,.home-motion [data-reveal] .example-account,.home-motion [data-reveal] .eyebrow,.home-motion [data-reveal] .example-reason,.home-motion [data-reveal] figcaption{opacity:0;transform:translateY(16px);transition:opacity var(--beat) var(--calm),transform var(--beat) var(--calm)}.home-motion [data-reveal] .example-account,.home-motion .example-film[data-reveal] figcaption{transition-delay:var(--beat)}.home-motion [data-reveal] .eyebrow,.home-motion [data-reveal] .example-reason{transition-delay:calc(var(--beat)*2)}.home-motion [data-reveal].shown img,.home-motion [data-reveal].shown video,.home-motion [data-reveal].shown .example-account,.home-motion [data-reveal].shown .eyebrow,.home-motion [data-reveal].shown .example-reason,.home-motion [data-reveal].shown figcaption{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.home-motion [data-reveal] *{opacity:1!important;transform:none!important}}

.site-footer{flex-wrap:wrap;justify-content:flex-start;column-gap:22px;row-gap:10px}
/* Waitlist (homepage) and the founder waitlist page: layout only, existing palette. */
.waitlist{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;border-top:1px solid var(--line);padding-top:64px}
.waitlist-copy h2{margin-top:0}.waitlist-copy p:last-child{max-width:420px}
.waitlist-form{display:grid;gap:16px}.waitlist-form label{display:grid;gap:8px;margin:0}.waitlist-form .optional{font-weight:400;color:var(--muted)}
.waitlist-form button{justify-self:start}.waitlist-error{margin:0}
.waitlist-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.waitlist-done h3{margin:0 0 8px}.waitlist-done p{margin:0}
.founder .founder-total strong{font-size:40px;font-weight:400}.founder h2{margin-top:40px}
.founder-access{display:grid;gap:16px}.founder-access label{display:grid;gap:8px;margin:0}.founder-access button{justify-self:start}
.founder-scroll{overflow-x:auto}.founder-table{border-collapse:collapse;width:100%;font-size:15px;font-variant-numeric:tabular-nums}.founder-table th,.founder-table td{text-align:left;padding:8px 12px 8px 0;border-bottom:1px solid var(--line);white-space:nowrap}
@media(max-width:800px){.waitlist{grid-template-columns:1fr;gap:28px;padding:48px 24px 64px}}
/* Pre-check step (plan of 13 Oct 2026): shown only with the pre-check gate on. */.precheck{margin:16px 0;padding:16px 18px;border:1px solid var(--line);background:var(--white);border-radius:4px}.precheck-lead{margin:0;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:600}.precheck-scene{margin:8px 0 14px;font:20px/1.35 Georgia,serif}.precheck-question{margin:0 0 6px;font:18px/1.4 Georgia,serif}.precheck-moment{margin-top:12px}.precheck-moment summary{cursor:pointer;color:var(--muted)}

body{--calm:cubic-bezier(.33,1,.68,1);--beat:.7s}#app:empty{min-height:100vh}
.ready-notice{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:260px}.ready-notice .field{width:100%}.ready-notice input{width:100%}.image-progress .ready-error{font-size:15px;line-height:1.5;color:var(--accent);max-width:none}
.sizes{border:0;margin:0 0 26px;padding:0}.sizes legend{font-size:15px;color:var(--accent);font-weight:500;margin-bottom:6px;padding:0}
.size{display:flex;align-items:baseline;gap:12px;padding:14px 2px;border-bottom:1px solid var(--line);cursor:pointer}.size input{accent-color:var(--accent);margin:0}.size span{flex:1;font:19px/1.4 Georgia,serif}.size strong{font:19px Georgia,serif;font-weight:400}.size:has(input:checked) span,.size:has(input:checked) strong{color:var(--accent)}
.size input[type=radio]{width:auto;height:auto;flex:none;padding:0;border:0}

/* Pay at the end: until payment every page carries the preview mark and nothing can be selected, dragged or printed (Sheen, 14 Oct 2026). */
/* The tiled page watermark is gone (Sheen, 20 Oct 2026: "not looking good at all"); unpaid pictures still carry the burned-in one from /api/media. */
body.unpaid #app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.unpaid #app :is(input,textarea,select){-webkit-user-select:text;user-select:text}
body.unpaid img{-webkit-user-drag:none;user-drag:none}
@media print{body.unpaid #app{display:none}body.unpaid::before{content:"This preview can’t be printed. Your copy to keep opens after payment.";display:block;padding:40px;font:16px Georgia,serif}}
.pay-panel{background:var(--white);border:1px solid var(--line);border-radius:4px;padding:26px 28px;margin:24px 0}.pay-panel h2{margin:0 0 8px;font:500 24px/1.2 Georgia,serif}.pay-panel>p{margin:0 0 16px;color:var(--muted)}.pay-total{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:6px 0 4px}.pay-total strong{font:500 22px Georgia,serif}.pay-panel .field input{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:4px;background:var(--paper)}
.price-dialog{max-width:440px;width:calc(100vw - 32px);border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink);padding:28px}.price-dialog::backdrop{background:rgba(41,39,32,.45)}.price-dialog h2{margin:0 0 10px;font:500 24px/1.2 Georgia,serif}.price-dialog p{margin:0 0 22px;color:var(--muted)}
.drawing-page{position:fixed;inset:0;z-index:50;overflow-y:auto;background:var(--paper);color:var(--ink);padding:max(28px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 32px max(16px,env(safe-area-inset-left))}body.drawing-open{overflow:hidden}.drawing-page-inner{max-width:560px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.drawing-page h1{margin:0;font:500 clamp(26px,5vw,36px)/1.15 Georgia,serif;outline:0}.drawing-line{margin:0;color:var(--muted);font-size:16px;line-height:1.5}.drawing-page .eyebrow{margin:0;max-width:100%;overflow-wrap:anywhere}.keepsake-slot{width:100%;margin:12px 0 8px}.keepsake-board{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(8px,2vw,12px);width:100%;max-width:min(480px,62vh);margin:0 auto}
.keepsake-card{appearance:none;background:none;border:0;padding:0;margin:0;aspect-ratio:1;min-width:0;width:100%;cursor:pointer;perspective:700px;-webkit-tap-highlight-color:transparent;border-radius:6px}.keepsake-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.keepsake-turn{display:block;position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .42s var(--calm,ease)}.keepsake-card.up .keepsake-turn{transform:rotateY(180deg)}.keepsake-back,.keepsake-face{position:absolute;inset:0;display:grid;place-items:center;border-radius:6px;backface-visibility:hidden;-webkit-backface-visibility:hidden}.keepsake-back{background:var(--accent);box-shadow:inset 0 0 0 4px var(--accent),inset 0 0 0 5px rgba(238,230,216,.45)}.keepsake-face{--keepsake-fill:var(--cream);background:var(--white);border:1px solid var(--line);color:var(--accent);transform:rotateY(180deg)}.keepsake-face svg{width:72%;height:72%}.keepsake-card.paired{cursor:default}.keepsake-card.paired .keepsake-face{background:var(--cream);--keepsake-fill:var(--white);border-color:transparent}
.drawing-reveal{margin:12px 0;width:100%;max-height:72vh;object-fit:contain;border-radius:4px;display:block}.drawing-page .text-button{margin-top:4px}
@media (prefers-reduced-motion:reduce){.keepsake-turn{transition:none}}

/* Reading and motion pass (Sheen, 1 Nov 2026: text size, motion through every wait, a smooth flow). The palette is untouched; no type below 12px. */
h1,h2,h3{text-wrap:balance}p,small,.fine{text-wrap:pretty}
.fine,small{line-height:1.55}
button,.button,a.primary{transition:transform .18s var(--calm,ease),box-shadow .18s var(--calm,ease),background-color .18s var(--calm,ease),border-color .18s var(--calm,ease)}
button:not(:disabled):active{transform:translateY(1px) scale(.99)}
@media(hover:hover){button.primary:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(41,39,32,.14)}button.secondary:not(:disabled):hover{transform:translateY(-1px);border-color:var(--muted)}}
input,textarea,select{transition:border-color .18s var(--calm,ease),box-shadow .18s var(--calm,ease)}
input:focus-visible,textarea:focus-visible,select:focus-visible{box-shadow:0 0 0 3px rgba(123,57,46,.12)}
@keyframes page-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
#app.page-arrive{animation:page-arrive .46s var(--calm,ease) both}
.price-dialog[open]{animation:page-arrive .3s var(--calm,ease) both}
.drawing-page{animation:drawing-open .4s var(--calm,ease) both}@keyframes drawing-open{from{opacity:0}to{opacity:1}}
.drawing-page h1{animation:page-arrive .5s .05s var(--calm,ease) both}
.drawing-reveal{animation:picture-arrive .9s var(--calm,ease) both}@keyframes picture-arrive{from{opacity:0;transform:scale(.975);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
/* The thread: a line that keeps moving for as long as something is being made. */
.wait-thread{display:block;position:relative;width:min(240px,70%);height:2px;margin:6px auto 18px;background:var(--line);border-radius:2px;overflow:hidden}
.wait-thread::after{content:"";position:absolute;inset:0 auto 0 0;width:38%;background:var(--accent);border-radius:2px;animation:wait-thread 2.4s var(--calm,ease) infinite alternate}
@keyframes wait-thread{from{transform:translateX(-30%)}to{transform:translateX(195%)}}
/* The game: dealt in a wave, a pair answers, a miss sways, a cleared set lifts away before the next deal. */
.keepsake-card.dealt{animation:card-deal .52s calc(var(--i,0)*42ms) cubic-bezier(.2,.8,.25,1.1) both}
@keyframes card-deal{from{opacity:0;transform:translateY(22px) rotate(calc((var(--i,0) - 6)*1.3deg)) scale(.86)}to{opacity:1;transform:none}}
@media(hover:hover){.keepsake-card:not(.up):hover .keepsake-turn{transform:translateY(-3px) rotateY(10deg)}}
.keepsake-card.up .keepsake-turn{transition:transform .46s cubic-bezier(.3,1.2,.4,1)}
.keepsake-board.resting .keepsake-card:not(.up) .keepsake-back{animation:card-breathe 1.5s calc(var(--i,0)*90ms) var(--calm,ease) 1}
@keyframes card-breathe{0%,100%{transform:none}45%{transform:translateY(-4px)}}
.keepsake-card.paired{animation:card-pair .62s cubic-bezier(.2,.9,.3,1.25) both;position:relative}
@keyframes card-pair{0%{transform:none}38%{transform:translateY(-7px) scale(1.07)}100%{transform:none}}
.keepsake-card.miss{animation:card-miss .5s var(--calm,ease)}
@keyframes card-miss{20%{transform:rotate(-3deg)}50%{transform:rotate(2.4deg)}80%{transform:rotate(-1deg)}}
.keepsake-spark{position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px;pointer-events:none;color:var(--accent);font:400 16px/14px Georgia,serif;text-align:center;animation:spark-fly .78s var(--calm,ease) both}
@keyframes spark-fly{from{opacity:1;transform:rotate(0) translate(0) scale(.5)}to{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--r)*-1)) scale(1.1)}}
.keepsake-board.clearing .keepsake-card{animation:card-lift .54s calc(var(--i,0)*30ms) var(--calm,ease) both}
@keyframes card-lift{to{opacity:0;transform:translateY(-22px) scale(.92)}}
/* The game while the video is made. */
.film-wait{margin:-14px 0 34px;padding:22px clamp(16px,4vw,42px) 26px;background:var(--white);border:1px solid var(--line);border-top:0;animation:page-arrive .5s var(--calm,ease) both}.film-wait[hidden]{display:none}.film-wait .keepsake-slot{max-width:360px;margin:0 auto}
@media(prefers-reduced-motion:reduce){#app.page-arrive,.price-dialog[open],.drawing-page,.drawing-page h1,.drawing-reveal,.keepsake-card.dealt,.keepsake-card.paired,.keepsake-card.miss,.keepsake-board.clearing .keepsake-card,.keepsake-board.resting .keepsake-back,.film-wait{animation:none}.keepsake-spark{display:none}.wait-thread::after{animation:none;width:100%}button{transition:none}}
/* Creation journey (Nov 2026): one welcoming setup screen in three quiet groups; a memory page that is one writing column with its picture as the next step below. */
.dedication-shell{max-width:760px}
.setup-step{margin:44px 0 0;padding:30px 0 0;border-top:1px solid var(--line)}
.setup-step:first-of-type{margin-top:36px}
.setup-heading{font:24px/1.25 Georgia,serif;letter-spacing:-.015em;margin:0 0 6px}
.setup-people{display:grid;gap:10px}
.setup-person .dedication-row{margin:14px 0 10px}
.setup-person .drawn-as{display:flex;align-items:center;gap:14px;margin:0 0 0 84px}
.setup-person .drawn-as>span{margin:0;font-weight:500;font-size:14px;color:var(--muted);white-space:nowrap}
.setup-person .drawn-as select{max-width:320px;padding:10px 12px}
.setup-step .age-note{margin-top:18px}
.setup-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.setup-pair .field{margin-bottom:6px}
.setup-step.context-fields{display:block;padding-bottom:0}
.setup-photos .identity-details{margin:0;padding:0;border:0}
.setup-photos #reference-heading{font:24px/1.25 Georgia,serif;letter-spacing:-.015em;margin:0 0 6px}
.setup-photos .identity-details{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
.setup-photos .identity-details>h2,.setup-photos .identity-details>p{grid-column:1/-1}
.setup-photos .identity-role{border-top:0}
#dedication-form>button[type=submit]{margin-top:40px}
.creator-shell:not(.dedication-shell){max-width:940px}
.writing-and-image{display:block}
.memory-image-column{margin-top:38px;padding-top:32px;border-top:1px solid var(--line)}
.memory-image{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:36px;align-items:start;padding-top:0}
.memory-image>*{grid-column:2}
.memory-image>.image-section-label{grid-column:1/-1;font:24px/1.25 Georgia,serif;color:var(--ink);letter-spacing:-.015em;margin:0 0 18px}
.memory-image>.image-preview{grid-column:1;grid-row:2/span 5}
.memory-image .visual-preview{max-height:420px}
.memory-image>.image-status{margin-top:0}
.memory-image .image-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:4px}
.people-questions{max-width:520px}
.memory-navigation .text-button{border:0;background:none;padding:10px 0;min-height:44px;text-decoration:underline;text-underline-offset:5px;color:var(--accent)}
.memory-navigation .read-together{color:var(--muted)}
@media(max-width:760px){
 .setup-step{margin-top:34px;padding-top:24px}
 .setup-person .drawn-as{margin-left:65px;flex-wrap:wrap;gap:6px}
 .setup-person .drawn-as select{max-width:none}
 .setup-pair,.setup-photos .identity-details{grid-template-columns:1fr}
 .memory-image{display:block}
 .memory-image-column{margin-top:26px;padding-top:24px}
 .memory-image>.image-section-label{font-size:22px}
}
.setup-person .drawn-as>span{width:96px}
.image-placeholder .placeholder-star{font-size:34px;color:var(--accent);opacity:.35}
@media(max-width:760px){.setup-person .drawn-as>span{width:auto}}
@media(max-width:760px){.memory-image-column .memory-image{border-top:0;padding-top:0}.memory-image>.image-status{margin-top:16px}}

/* Creation journey: one sentence with gaps, photos in a side panel (5 Nov 2026) */
.gap-sentence{font:italic 400 clamp(24px,3.1vw,38px)/2.15 Georgia,serif;color:var(--ink);margin:26px 0 8px;text-align:left}
.gap{display:inline-flex;flex-direction:column;align-items:center;vertical-align:top;line-height:1.2;margin:0}
.gap-in input,.gap-in select{font:inherit;font-style:italic;color:var(--accent);text-align:center;border:0;border-bottom:2px solid var(--accent);background:rgba(122,58,44,.06);border-radius:0;padding:0 .25em;min-height:0;width:7.5em;box-shadow:none}
.gap-in input.gap-age{width:2.6em}.gap-in select{width:auto;max-width:9em;padding-right:.2em}
.gap-cap{font:600 11px/1 system-ui,sans-serif;font-style:normal;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:6px}
.setup-draw{display:flex;flex-wrap:wrap;gap:8px 32px;margin-top:20px}
.setup-draw .drawn-as{display:flex;align-items:center;gap:10px;margin:0}
.gift-says{margin-top:26px}
.photo-triggers{display:flex;flex-wrap:wrap;gap:18px 44px;margin-top:30px}
.photo-trigger{display:flex;align-items:center;gap:16px;background:none;border:0;padding:0;text-align:left;cursor:pointer;color:inherit;font:inherit}
.photo-trigger .circle{width:76px;height:76px;border-radius:50%;border:1.5px dashed #b9ab98;display:flex;align-items:center;justify-content:center;font-size:26px;color:var(--muted);background:var(--panel,#fffdf8);flex:none}
.photo-trigger.has .circle{border-style:solid;border-color:var(--accent);color:var(--accent)}
.photo-trigger strong{display:block;font-weight:500;font-size:17px}.photo-trigger small{color:var(--muted);font-size:14px}
.photo-scrim,.photo-panel{display:none}
.setup-photos.photos-open .photo-scrim{display:block;position:fixed;inset:0;background:rgba(42,38,34,.38);z-index:40}
.setup-photos.photos-open .photo-panel{display:block;position:fixed;top:0;bottom:0;right:0;width:min(720px,50vw);min-width:340px;max-width:100vw;background:var(--panel,#fffdf8);box-shadow:-18px 0 40px rgba(60,40,20,.18);z-index:41;overflow:auto;padding:30px 36px 40px;box-sizing:border-box;animation:panel-in .28s ease-out}
@keyframes panel-in{from{transform:translateX(40px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.setup-photos.photos-open .photo-panel{animation:none}}
.photo-close{position:sticky;top:0;float:right;z-index:2}
.setup-photos .photo-panel .identity-details{display:block}
.setup-photos[data-open-role=giver] .identity-role:not(:has([data-identity-upload=giver])),
.setup-photos[data-open-role=recipient] .identity-role:not(:has([data-identity-upload=recipient])){display:none}
.setup-photos .photo-panel #reference-heading{display:none}
@media(max-width:760px){.setup-photos.photos-open .photo-panel{width:calc(100vw - 44px);min-width:0;padding:22px 20px 32px;border-radius:20px 0 0 20px}.gap-sentence{font-size:22px;line-height:2.3}}

/* Board 1: centred sentence, chips, one row of photo circles */
.dedication-shell{text-align:center}
.dedication-shell .gap-sentence{text-align:center;max-width:1100px;margin:18px auto 30px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.custom-occasion[hidden]{display:none}
.dedication-shell .photo-triggers{justify-content:center;margin:0 0 26px}
.dedication-shell .setup-draw{justify-content:center;gap:14px 40px;margin:0 0 30px}
.drawn-as{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 10px}
.drawn-as .small-label{font-size:14px;color:var(--muted)}
.chip{display:inline-flex;margin:0}.chip input{position:absolute;opacity:0;width:1px;height:1px}
.chip span{padding:8px 18px;border:1px solid var(--line);border-radius:99px;font-size:15px;background:var(--white);color:var(--ink);cursor:pointer}
.chip input:checked+span{background:var(--accent);color:var(--white);border-color:var(--accent)}
.chip input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:760px){.dedication-shell .setup-draw{flex-direction:column;align-items:stretch}.dedication-shell .drawn-as{justify-content:flex-start}.dedication-shell .photo-triggers{gap:14px}}
.creator-shell.dedication-shell{max-width:1180px;margin-top:64px}
#app.page-arrive{animation-fill-mode:backwards}
.photo-panel .identity-role{padding:0}.photo-panel .identity-copy{text-align:left}
.photo-panel{text-align:left}.photo-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.photo-head .eyebrow{margin:0}
.photo-close{position:static;float:none;background:none;border:0;color:var(--muted);font:15px system-ui,sans-serif;cursor:pointer;padding:6px}
.photo-panel .identity-role h3,.photo-panel .identity-role>strong{display:none}
.photo-title{display:none}.setup-photos[data-open-role=giver] .photo-title[data-for=giver],.setup-photos[data-open-role=recipient] .photo-title[data-for=recipient]{display:block}
/* Board 2: choosing a face in the side panel */
.photo-panel .identity-ask{font:32px/1.2 Georgia,serif;color:var(--ink);margin:4px 0 18px}
.photo-panel .identity-target{max-width:none;border:12px solid var(--white);box-shadow:0 18px 40px rgba(60,40,20,.15);position:relative}
.photo-panel .identity-target img{display:block;width:100%;height:auto}
.photo-panel .identity-box{border:3px solid var(--accent);border-radius:6px;background:rgba(123,57,46,.1);box-sizing:border-box}
.photo-panel .identity-box.taken{position:absolute;border:2px dashed var(--muted);background:rgba(41,39,32,.35);pointer-events:none}
.photo-panel .identity-box.taken span{position:absolute;left:0;bottom:-24px;font:13px system-ui,sans-serif;color:var(--muted);white-space:nowrap}
.photo-panel [data-action=identity-select]{background:var(--accent);color:var(--white);border-color:var(--accent);border-radius:99px;padding:14px 30px;font-size:17px}
@media(max-width:760px){.photo-panel .identity-ask{font-size:22px;line-height:1.25}.photo-panel .identity-target{border-width:8px}}
/* Creation journey, reference boards (5 Nov 2026): top bar, writing sheet, drawing page, picture, kept. Scoped to the creation screens; the homepage keeps its own look. */
body.creating,body.drawing-open{--serif:'Source Serif 4',Georgia,serif;--sans:'Source Sans 3',-apple-system,"Segoe UI",sans-serif}
body.creating{font-family:var(--sans)}
body.creating .site-header,body.creating .site-footer{display:none}
body.creating .creator-shell{max-width:1340px;margin:0 auto 64px;padding:0 48px}
body.creating h1,body.creating h2,body.creating h3,.drawing-page h1{font-family:var(--serif);font-weight:400;letter-spacing:-.012em}
body.creating .eyebrow,.drawing-page .eyebrow{font:600 12px/1.4 var(--sans);letter-spacing:.2em}
body.creating .creator-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:28px 0 26px;border:0}
.creator-brand{justify-self:start;font:400 21px/1 var(--serif);color:var(--ink);text-decoration:none;white-space:nowrap}
.creator-brand .mark{font-size:.9em;margin-left:8px}
body.creating .creator-dedication{display:flex;align-items:center;margin:0;font:400 15px/1.3 var(--sans);color:var(--muted)}
.for-face{flex:none;width:22px;height:22px;margin-left:11px;border:1px dashed #b4a993;border-radius:50%}
body.creating .creator-tools{justify-self:end;display:flex;align-items:center;gap:18px}
body.creating .creator-tools .text-button{padding:4px 0;font-size:14px;color:var(--muted);text-decoration-color:#cdc2b0}
body.creating .creator-top .save-state{font-size:15px;color:var(--muted);max-width:none}
body.creating button.primary{border-radius:999px;min-height:52px;padding:14px 32px;font:600 17px/1.2 var(--sans)}
body.creating .text-button{font-size:15px;text-underline-offset:4px}
/* Writing sheet (board 3) */
.writing-desk{display:grid;grid-template-columns:minmax(0,820px) minmax(180px,300px);gap:56px;align-items:start;padding:8px 0 0 56px}
body.creating .writing-page.memory-editor{display:flex;flex-direction:column;min-height:700px;margin:0;padding:56px 80px 44px;background:var(--white);border:1px solid #ebe3d5;border-radius:0;box-shadow:0 18px 48px #4a37200f}
body.creating .writing-page>.eyebrow{margin:0 0 14px}
body.creating .writing-and-image{display:block}
body.creating .writing-field{margin:0}
body.creating .writing-q,body.creating .writing-field>span.writing-q{display:block;margin:0 0 16px;font:400 38px/1.15 var(--serif);color:var(--ink);letter-spacing:-.01em}
body.creating .reason-writing .writing-q{font-size:31px}
body.creating .writing-field textarea{min-height:0;padding:0;border:0;font:italic 400 23px/1.75 var(--serif);color:var(--ink)}
body.creating .writing-help{margin-top:10px;font-size:13px}
body.creating .writing-rule{margin:24px 0 26px;border:0;border-top:1px solid #e4dbcc}
body.creating .reason-writing{padding-bottom:24px;border-bottom:1px solid #e4dbcc}
body.creating .memory-editor details.memory-name{margin-top:16px;padding-top:0;border:0}
body.creating .memory-editor details.memory-name summary{font-size:14px}
.writing-note{margin-top:64px;max-width:270px;padding:20px 24px;background:#f3e3b8;color:#5a4a2c;font:400 19px/1.55 'Kalam',cursive;transform:rotate(-2deg);box-shadow:0 10px 22px #5a45201a}
.who-was-there{margin:24px 0 0;padding:0;border:0;min-width:0}
.who-was-there legend{float:left;margin:0 18px 0 0;padding:0;font:400 21px/42px var(--serif);color:var(--ink)}
.who-chips{display:flex;flex-wrap:wrap;gap:10px}
.who-chip{position:relative}
.who-chip input{position:absolute;opacity:0;width:1px;height:1px}
.who-chip span{display:inline-flex;align-items:center;min-height:40px;padding:0 17px;border:1px solid #d5cab8;border-radius:999px;background:var(--white);font-size:15px;cursor:pointer}
.who-chip input:checked+span{background:var(--accent);border-color:var(--accent);color:#fff8ef}
.who-chip input:focus-visible+span{outline:3px solid #a56940;outline-offset:3px}
.who-was-there small{display:block;clear:both;padding-top:10px;font-size:13px;color:var(--muted)}
body.creating .memory-image.writing-final{margin-top:auto;padding:40px 0 0;border:0}
.final-row{display:flex;align-items:center;justify-content:space-between;gap:32px}
.final-hint{max-width:330px;margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.final-links{display:flex;justify-content:flex-end;gap:22px;margin-top:12px}
body.creating .final-links .photo-upload,body.creating .picture-links .photo-upload{display:inline-block;min-height:0;padding:4px 0;border:0;border-radius:0;background:none;color:var(--accent);font-size:15px;text-decoration:underline;text-underline-offset:4px}
/* Drawing page (board 4): words left, the pairs game right. */
.drawing-page{font-family:'Source Sans 3',-apple-system,"Segoe UI",sans-serif}
.drawing-page .drawing-page-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center;max-width:1200px;min-height:calc(100vh - 64px);margin:0 auto;padding:0 56px;text-align:left}
.drawing-words{display:flex;flex-direction:column;align-items:flex-start;max-width:520px}
.drawing-page h1{margin:14px 0 26px;font:400 48px/1.1 'Source Serif 4',Georgia,serif;letter-spacing:-.012em}
.drawing-page .wait-thread{display:block;position:relative;width:100%;height:2px;margin:0 0 24px;overflow:hidden;background:#e1d8c9}
.drawing-page .wait-thread:after{content:'';position:absolute;inset:0 auto 0 0;width:42%;background:var(--accent);animation:thread 2.6s ease-in-out infinite alternate}
@keyframes thread{from{transform:translateX(-60%)}to{transform:translateX(170%)}}
@media(prefers-reduced-motion:reduce){.drawing-page .wait-thread:after{animation:none}}
.drawing-page .drawing-line{margin:0 0 22px;font-size:15px;line-height:1.6}
.drawing-page .text-button{padding:4px 0;font-size:15px}
.drawing-play{display:flex;flex-direction:column;align-items:center;gap:6px}
.drawing-caption{margin:6px 0 0;font-size:13px;color:var(--muted)}
/* Picture (boards 5 and 9): a print on the left, the choice on the right. */
body.creating .writing-page.picture-page{margin:0;padding:0;background:none;border:0;box-shadow:none}
body.creating .memory-image.picture-stage{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:72px;align-items:center;max-width:1180px;min-height:calc(100vh - 140px);margin:0 auto;padding:0 40px 40px;border:0}
.picture-print{padding:18px 18px 62px;background:#fffdf8;box-shadow:0 24px 54px #3b2a1426;transform:rotate(-1.6deg)}
body.creating .picture-print .visual-preview,body.creating .picture-print img{display:block;width:100%;height:auto;max-height:none;border-radius:0;background:#efe7da}
.picture-stage:has(.picture-under){align-items:start;padding-top:24px}
.picture-stage:has(.picture-under) .picture-print{padding-bottom:36px;transform:none}
.picture-under{grid-column:1;margin:-58px 0 0;font-size:14px;color:var(--muted)}
.picture-side{grid-column:2;grid-row:1;max-width:440px}
.picture-side h1{margin:14px 0 18px;font-size:40px;line-height:1.12}
.picture-line{margin:0 0 26px;font-size:16px;line-height:1.55;color:var(--muted)}
.picture-side>button.primary{width:100%}
.picture-links{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:20px}
.picture-links .text-button{padding:4px 0}
.picture-stage:has(.picture-under) .picture-side>button.primary{width:auto;margin-right:22px}
.picture-stage:has(.picture-under) .picture-links{display:inline-flex;flex-direction:row;flex-wrap:wrap;gap:6px 22px;margin-top:0;vertical-align:middle}
.when-happy{margin-top:34px;padding-top:30px;border-top:1px solid var(--line)}
.when-happy h2{margin:12px 0 10px;font-size:29px}
.when-happy .fine{margin:0 0 22px;font-size:15px;line-height:1.55;color:var(--muted)}
/* Kept (board 6) */
.kept-shell{max-width:760px;margin:0 auto;padding:72px 0 48px;text-align:center}
body.creating .kept-shell h1{margin:16px 0 38px;font-size:42px}
.kept-list{display:grid;gap:18px;text-align:left}
.kept-card{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:22px;align-items:center;padding:16px;background:var(--white);border:1px solid #e6ddcf;box-shadow:0 10px 30px #4a37200d}
.kept-pic{width:150px;aspect-ratio:15/11;overflow:hidden;background:var(--cream);display:grid;place-items:center}
.kept-pic img{display:block;width:100%;height:100%;object-fit:contain}
.kept-pic button{display:none}
.kept-words h2{margin:0 0 6px;font-size:24px;line-height:1.2}
.kept-words p{margin:0;font:italic 16px/1.4 var(--serif);color:var(--muted)}
.kept-add{display:flex;align-items:center;gap:20px;width:100%;padding:24px 26px;border:1px dashed #c6b9a4;background:transparent;color:var(--ink);text-align:left}
.kept-add:hover{background:#f3ede2}
.kept-plus{font-size:28px;font-weight:300;color:var(--accent)}
.kept-add strong{display:block;font:400 22px/1.2 var(--serif)}
.kept-add small{display:block;margin-top:5px;font-size:13px;color:var(--muted)}
.kept-shell>button.primary{margin-top:40px}
@media(max-width:900px){
 body.creating .creator-shell{padding:0 20px}
 body.creating .creator-top{grid-template-columns:1fr auto;padding:20px 0 16px;row-gap:6px}
 .creator-brand{font-size:20px}
 body.creating .creator-dedication{justify-self:end;font-size:14px}
 body.creating .creator-dedication .for-what{display:none}
 body.creating .creator-tools{grid-column:1/-1;justify-self:start;gap:16px}
 body.creating .creator-tools .text-button{font-size:13px}
 body.creating .creator-top .save-state{font-size:13px}
 .writing-desk{display:block;padding:0}
 body.creating .writing-page.memory-editor{min-height:calc(100vh - 120px);padding:30px 24px 26px}
 body.creating .writing-q,body.creating .writing-field>span.writing-q{font-size:30px}
 body.creating .reason-writing .writing-q{font-size:25px}
 body.creating .writing-field textarea{font-size:19px;line-height:1.65}
 .writing-note{display:none}
 .who-was-there legend{float:none;display:block;margin:0 0 10px;font:400 14px/1.4 var(--sans);color:var(--muted)}
 .final-row{flex-direction:column;align-items:stretch;gap:14px}
 .final-row button.primary{width:100%}
 .final-links{justify-content:center}
 .drawing-page .drawing-page-inner{display:flex;flex-direction:column;align-items:stretch;gap:28px;min-height:calc(100vh - 64px);padding:24px 8px}
 .drawing-page h1{font-size:34px}
 .drawing-words{max-width:none}
 .drawing-words .text-button{order:9;align-self:center}
 body.creating .memory-image.picture-stage{display:flex;flex-direction:column;align-items:stretch;gap:24px;min-height:0;padding:8px 0 32px}
 .picture-print{padding:12px 12px 40px}
 .picture-under{margin:-12px 0 0}
 .picture-side{max-width:none}
 .picture-side h1{font-size:30px}
 .picture-links{align-items:center}
 .picture-stage:has(.picture-under) .picture-side>button.primary{margin-right:16px}
 .kept-shell{padding:28px 0 32px;text-align:left}
 body.creating .kept-shell h1{font-size:32px;margin:12px 0 24px}
 .kept-card{grid-template-columns:1fr auto;padding:14px}
 .kept-pic{grid-column:1/-1;width:100%}
 .kept-shell>button.primary{width:100%}
}
body.creating .text-button{display:inline;min-height:0;padding:4px 0;border:0;border-radius:0;background:none;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
body.creating .text-button:hover{background:none;color:#5e2a21}
.final-row button.primary{flex:none;white-space:nowrap}
.picture-print{grid-column:1;grid-row:1}
.kept-pic .visual-info,.kept-pic [class*=info]{display:none}
body.creating .memory-editor>.memory-image.writing-final{align-self:stretch;width:100%;max-width:none;margin-left:0;margin-right:0}
.final-hint{flex:1 1 auto}
body.creating .memory-image.writing-final{display:block}
body.creating .memory-image.writing-final>*{grid-column:auto}
/* Together and Send boards (reference, 5 Nov 2026) */
.together-desk{display:grid;grid-template-columns:minmax(0,1000px) minmax(180px,260px);gap:48px;align-items:start;padding:8px 0 0 32px}
.together-card{display:flex;flex-direction:column;min-height:720px;padding:52px 64px 48px;background:var(--white);border:1px solid #ebe3d5;box-shadow:0 18px 48px #4a37200f}
.together-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:24px}
.together-head .eyebrow,.together-head .fine{margin:0}
.together-memory{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:44px;align-items:start;padding:12px 0 26px;border-bottom:1px solid #e4dbcc}
.together-memory+.together-memory{padding-top:30px}
.together-pic .visual{margin:0;position:relative}
.together-pic img{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain}
.together-pic .image-info{display:none}
.together-empty{width:100%;aspect-ratio:4/3;border:1px dashed var(--line);background:#f6f0e6;color:var(--accent);font:400 16px var(--sans);cursor:pointer}
.together-words h2{margin:0 0 14px;font:400 36px/1.15 var(--serif);color:var(--ink);cursor:pointer}
.together-words .account{margin:0 0 16px;font:italic 400 20px/1.65 var(--serif);color:var(--ink);cursor:pointer}
.together-reason{margin:0 0 18px;font:italic 400 20px/1.65 var(--serif);color:var(--accent);cursor:pointer}
.together-links{display:flex;gap:22px}
.together-links .text-button{font-size:15px}
.together-card .order-editor{margin-top:28px}
.together-room{display:block;padding:30px 0 0}
.together-room h2{margin:0 0 6px;font:400 25px/1.2 var(--serif);color:var(--ink)}
.together-room .fine{margin:0}
.together-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding-top:48px}
.together-foot .incomplete-notice{flex-basis:100%;margin:0}
.together-foot .primary{flex:none;white-space:nowrap}
.send-desk{display:grid;grid-template-columns:minmax(0,600px) minmax(0,460px);gap:96px;justify-content:center;align-items:center;min-height:calc(100vh - 160px);padding:24px 0 48px}
.send-copy h1{margin:12px 0 14px;font:400 44px/1.15 var(--serif);color:var(--ink)}
.send-lead{margin:0 0 30px;font:400 17px/1.5 var(--sans);color:var(--muted)}
.send-steps{list-style:none;margin:0 0 30px;padding:0}
.send-steps li{position:relative;padding:0 0 30px 30px}
.send-steps li::before{content:'';position:absolute;left:0;top:9px;width:12px;height:12px;border-radius:50%;background:var(--accent)}
.send-steps li:not(:last-child)::after{content:'';position:absolute;left:5.5px;top:30px;bottom:12px;border-left:1px solid #d9cdbb}
.send-steps li.optional::before{background:none;border:1.5px solid var(--accent);box-sizing:border-box}
.send-steps h2{margin:0 0 6px;font:400 22px/1.3 var(--serif);color:var(--ink)}
.send-steps p{margin:0;font:400 15px/1.6 var(--sans);color:var(--muted)}
.send-links{display:flex;flex-wrap:wrap;gap:24px}
.send-card{padding:44px 42px 40px;background:var(--white);border:1px solid #ebe3d5;box-shadow:0 18px 48px #4a37200f}
.send-card h2{margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid #e4dbcc;font:400 28px/1.2 var(--serif);color:var(--ink)}
.send-line{display:flex;justify-content:space-between;padding:0 0 18px;font:400 16px var(--sans);color:var(--ink)}
.send-total{padding-top:18px;border-top:1px solid #e4dbcc}
.send-card>.fine{margin:4px 0 22px}
.send-card .primary,.send-card form .primary{display:flex;justify-content:center;width:100%;margin-top:8px}
.send-card .send-after{margin:18px 0 0;text-align:center}
.send-card [data-action=pay-currency]{display:block;margin:14px auto 0}
.send-boundary p{font:400 15px/1.6 var(--sans);color:var(--muted)}
.send-boundary .check{display:flex;gap:10px;margin:18px 0}
@media(max-width:900px){
 .together-desk{display:block;padding:0}
 .together-desk .writing-note{display:none}
 .together-card{min-height:calc(100vh - 120px);padding:26px 20px 24px}
 .together-memory{grid-template-columns:1fr;gap:18px}
 .together-head .fine{display:none}
 .together-words h2{font-size:27px}
 .together-words .account,.together-reason{font-size:17px}
 .together-foot{flex-direction:column-reverse;align-items:stretch}
 .together-foot .primary{width:100%}
 .together-foot .text-button{align-self:center}
 .send-desk{display:flex;flex-direction:column;align-items:stretch;gap:20px;min-height:0;padding:8px 0 32px}
 .send-copy h1{font-size:30px}
 .send-lead{display:none}
 .send-steps{margin-bottom:12px}
 .send-steps li{padding-bottom:20px}
 .send-steps h2{font-size:19px}
 .send-steps p{font-size:13px}
 .send-card{padding:22px 20px}
 .send-card h2{display:none}
 .send-links{order:9}
}
/* Ready and Returned boards (reference, 5 Nov 2026) */
.ready-shell .return-journey{margin:0;padding:0;border:0;background:none}
.ready-grid{display:grid;grid-template-columns:minmax(0,620px) minmax(0,520px);gap:80px;justify-content:center;align-items:center;min-height:calc(100vh - 170px);padding:16px 0 40px}
.ready-returned{grid-template-columns:minmax(0,540px) minmax(0,560px)}
.ready-video{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;aspect-ratio:16/9;margin:0 0 14px;border:0;border-radius:6px;background:#2e2a38;color:#f6f0e6;cursor:pointer}
.ready-video .ready-play{width:0;height:0;border-style:solid;border-width:14px 0 14px 22px;border-color:transparent transparent transparent #fff}
.ready-quiet{cursor:default;padding:24px;text-align:center}
.ready-quiet p,.ready-quiet .fine{margin:0;color:#e9e0d2}
.ready-media>.fine{margin:0}
.ready-text h1{margin:12px 0 22px;font:400 44px/1.15 var(--serif);color:var(--ink)}
.ready-text>.primary,.ready-media>.primary{display:inline-flex;margin:0 0 18px}
.ready-link{margin:0 0 20px;padding:22px 24px;background:var(--white);border:1px solid #ebe3d5;box-shadow:0 18px 48px #4a37200f}
.ready-link>.fine{display:block;margin:0}
.ready-link-row{display:flex;align-items:center;gap:16px;margin:10px 0}
.ready-link-row input{flex:1;min-width:0;padding:0;border:0;background:none;font:400 16px var(--sans);color:var(--ink)}
.ready-link-row .primary{flex:none;padding:10px 22px;min-height:0}
.ready-text>.fine{margin:0 0 14px}
.ready-new{margin:4px 0 16px;font:400 23px/1.3 var(--serif);color:var(--ink)}
.ready-returned .returned-note{margin:0}
.ready-returned .returned-note a{color:var(--accent);text-underline-offset:4px}
.ready-returned blockquote{margin:22px 0 18px;padding:2px 0 2px 20px;border-left:3px solid var(--accent);font:italic 400 22px/1.55 var(--serif);color:var(--ink)}
.ready-shell .film-wait{max-width:620px;margin:0 auto 32px}
.ready-more{max-width:1220px;margin:0 auto 48px;padding-top:20px;border-top:1px solid #e4dbcc}
.ready-more>summary{cursor:pointer;color:var(--accent);font:400 15px var(--sans)}
.ready-more .panel{margin-top:18px}
@media(max-width:900px){
 .ready-grid,.ready-returned{display:flex;flex-direction:column;align-items:stretch;gap:20px;min-height:0;padding:4px 0 28px}
 .ready-grid:not(.ready-returned){gap:0}
 .ready-grid:not(.ready-returned) .ready-text{display:contents}
 .ready-grid:not(.ready-returned) .ready-text>.eyebrow{order:1}
 .ready-grid:not(.ready-returned) .ready-text>h1{order:2}
 .ready-grid:not(.ready-returned) .ready-media{order:3;margin-bottom:18px}
 .ready-grid:not(.ready-returned) .ready-media>.fine{display:none}
 .ready-grid:not(.ready-returned) .ready-text>.primary{order:4}
 .ready-grid:not(.ready-returned) .ready-link{order:5;margin-bottom:16px}
 .ready-grid:not(.ready-returned) .ready-text>.fine{order:6}
 .ready-grid:not(.ready-returned) .ready-text>.text-button{order:7;align-self:center}
 .ready-text h1{font-size:30px;margin-bottom:16px}
 .ready-text>.primary,.ready-media>.primary{display:flex;justify-content:center;width:100%}
 .ready-link-row{flex-direction:column;align-items:stretch}
 .ready-link-row .primary{justify-content:center}
 .ready-returned blockquote{font-size:18px}
}
body.creating .picture-stage:has(.picture-under) .picture-side{grid-row:1/span 2}
body.creating .picture-stage .picture-under{grid-column:1;grid-row:2;align-self:start}
.ready-quiet .secondary{margin-top:12px;border:1px solid #f6f0e6;border-radius:999px;background:none;color:#f6f0e6;padding:10px 22px}
body.creating .picture-stage .picture-under{margin:16px 0 0}

/* Video frames are reel shape, 9:16 (Sheen, 5 Nov 2026). */
.ready-grid{grid-template-columns:minmax(0,340px) minmax(0,520px);gap:96px}
.ready-video{aspect-ratio:9/16;width:min(100%,340px,calc((100vh - 230px)*9/16));margin-left:auto;margin-right:auto}
.ready-media{display:flex;flex-direction:column;align-items:center;text-align:center}
.ready-media>.primary{align-self:stretch;justify-content:center}
.ready-grid.ready-returned{grid-template-columns:minmax(0,520px) minmax(0,340px)}
@media(max-width:900px){
 .ready-video{width:min(72%,280px)}
 .ready-grid:not(.ready-returned) .ready-media{align-items:center}
}
/* Board 1 (Main): brand bar with Saved, photos before chips, no divider (5 Nov 2026) */
.setup-bar{display:flex;justify-content:space-between;align-items:center;padding:0 0 40px;text-align:left}
.setup-bar .save-state{font-size:14px;color:var(--muted)}
.dedication-shell .setup-step.setup-photos{border-top:0;margin:0;padding:0}
.photos-optional{display:none}
.chip-short{display:none}
@media(max-width:760px){
 .creator-shell.dedication-shell{margin-top:18px;min-height:calc(100dvh - 36px);display:flex;flex-direction:column}
 .dedication-shell #dedication-form{display:flex;flex-direction:column;flex:1}
 .setup-bar{padding:0 0 26px}.setup-bar .creator-brand{font-size:20px}
 .dedication-shell{text-align:left}
 .dedication-shell .gap-sentence{text-align:left;font-size:24px;line-height:2.3;margin:10px 0 24px}
 .dedication-shell .photo-triggers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 4px}
 .dedication-shell .photo-trigger{flex-direction:column;gap:10px;text-align:center}
 .dedication-shell .photo-trigger small,.dedication-shell .pt-add{display:none}
 .dedication-shell .photo-trigger strong{font-size:15px}
 .dedication-shell [data-photo-name]{text-transform:none}
 .dedication-shell .photos-optional{display:block;color:var(--muted);font-size:14px;margin:4px 0 26px;text-align:center}
 .dedication-shell .setup-draw{gap:18px;margin:0 0 30px}
 .dedication-shell .drawn-as{flex-wrap:wrap}
 .dedication-shell .drawn-as>.small-label{width:100%}
 .chip-long{display:none}.chip-short{display:inline}
 #dedication-form>button[type=submit]{margin-top:auto;width:100%}
}
.setup-bar{padding:28px 0 110px}
.setup-bar .creator-brand{font-size:21px}
.dedication-shell .gap-sentence{font-style:normal}
.chip>span>span{padding:0;border:0;background:none;color:inherit}
@media(max-width:760px){
 .setup-bar{padding:20px 0 22px}
 .dedication-shell .gap-sentence{font-size:22px;line-height:2.2;margin:6px 0 14px}
 .dedication-shell .photo-trigger .circle{width:72px;height:72px}
 .dedication-shell .photos-optional{text-align:left;margin:10px 0 18px}
 .dedication-shell .setup-draw{gap:12px;margin:0 0 24px}
 .dedication-shell .drawn-as{gap:6px}
 .dedication-shell .chip span{padding:7px 13px;font-size:14px}
}
/* Board 3 (Drawing) phone: the way out sits at the bottom, under the game */
@media(max-width:760px){.drawing-page .drawing-words{display:contents}.drawing-page .drawing-words>*{margin-top:0;margin-bottom:0}.drawing-page .drawing-words .text-button{order:9;align-self:center;margin-top:auto}.drawing-page .keepsake-slot{order:5}}
/* Board 6 (Kept) phone: a short banner picture so Read it together stays in view */
@media(max-width:760px){.kept-pic{aspect-ratio:auto;height:150px}.kept-words h2{font-size:21px}.kept-words p{font-size:14px}.kept-card{gap:10px 14px}.kept-add{padding:18px 18px}}
@media(max-width:760px){.paid-long{display:none}}
/* Board 7 (Paid) phone: eyebrow over the picture, retry row under it, video button at the foot (reference, 5 Nov 2026). */
@media(max-width:760px){
 body.creating .memory-image.picture-stage:has(.picture-under){flex-flow:row wrap;align-content:flex-start;gap:0;min-height:calc(100dvh - 130px);padding:4px 0 24px}
 .picture-stage:has(.picture-under)>*{width:100%}
 .picture-stage:has(.picture-under) .picture-side{display:contents}
 .picture-stage:has(.picture-under) .picture-side>.eyebrow{order:1;margin:0 0 14px}
 .picture-stage:has(.picture-under) .picture-print{order:2;padding-bottom:28px}
 .picture-stage:has(.picture-under) .picture-under{order:3;margin:8px 0 0;font-size:13px}
 .picture-stage:has(.picture-under) .picture-side>h1{order:4;width:100%;margin:20px 0 6px;font-size:24px}
 .picture-stage:has(.picture-under) .picture-line{order:5;width:100%;margin:0 0 16px;font-size:14px}
 .picture-stage:has(.picture-under) .picture-side>button.primary{order:6;width:auto;margin:0 18px 0 0;padding:11px 22px;font-size:15px}
 .picture-stage:has(.picture-under) .picture-links{order:7;width:auto;flex:1;align-self:center}
 .picture-stage:has(.picture-under) .picture-side>:not(.eyebrow):not(h1):not(.picture-line):not(button):not(.picture-links):not(.when-happy){order:8;width:100%}
 .picture-stage:has(.picture-under) .when-happy{order:9;width:100%;margin-top:auto;padding-top:28px;border:0}
 .picture-stage:has(.picture-under) .when-happy>:not(button){display:none}
 .picture-stage:has(.picture-under) .when-happy button{width:100%}
}
@media(max-width:760px){
 body.creating .memory-image.picture-stage:has(.picture-under){align-items:center}
 .picture-stage:has(.picture-under) .picture-links{flex-direction:row;flex-wrap:wrap;gap:4px 16px}
}
/* Board 2 (Photos): the question, the photo, describe, then "Use this person" with Replace and Remove as links; the privacy line closes the panel (reference, 5 Nov 2026). */
.photo-panel .identity-details{display:flex;flex-direction:column}
.photo-panel .identity-details>p.fine{order:9;margin:26px 0 0;font-size:13px;color:var(--muted)}
.photo-panel .identity-role{display:flex;flex-wrap:wrap;align-items:center;gap:0;margin:0;border:0}
.photo-panel .identity-role>*,.photo-panel [data-identity-select]>*{width:100%}
.photo-panel [data-identity-select]{display:contents}
.photo-panel .identity-role>.angle-hint{order:1;margin:6px 0 22px}
.photo-panel .identity-role>p[role=status],.photo-panel .identity-role>.angle-advice{order:1}
.photo-panel .identity-ask{order:1;font:400 32px/1.2 var(--serif)}
.photo-panel .identity-target{order:2}
.photo-panel [data-identity-select]>p.fine{order:3;margin:14px 0 0}
.photo-panel [data-identity-select]>.field{order:4;margin:20px 0 0}
.photo-panel [data-identity-select]>.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.photo-panel [data-identity-select]>.field input{width:100%;box-sizing:border-box;padding:13px 15px;border:1px solid var(--line);background:var(--white);font:inherit;font-size:15px}
.photo-panel [data-action=identity-select],.photo-panel [data-action=check-reference]{order:5;width:auto;margin:22px 26px 0 0}
.photo-panel .identity-role>.photo-upload,.photo-panel .identity-role>[data-action=remove-identity]{order:6;width:auto;min-height:0;margin:22px 22px 0 0;padding:0;border:0;border-radius:0;background:none;color:var(--accent);font-size:15px;font-weight:400;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.photo-panel .identity-role:not(:has(.identity-target))>.photo-upload{order:2;margin:4px 0 0;padding:14px 30px;border-radius:99px;background:var(--accent);color:var(--white);text-decoration:none;font-size:17px;font-weight:500}
.photo-panel [data-action=check-reference]{background:none;border:0;padding:0;color:var(--accent);text-decoration:underline;text-underline-offset:4px;font-size:15px}
@media(max-width:760px){
 .photo-panel .identity-ask{font-size:22px;line-height:1.25}
 .photo-panel [data-action=identity-select]{width:100%;margin:22px 0 0}
 .photo-panel .identity-role>.photo-upload,.photo-panel .identity-role>[data-action=remove-identity]{margin:16px 22px 0 0}
}
.setup-photos .photo-panel .identity-details{display:flex}
.photo-panel .identity-target{width:fit-content;max-width:100%;box-sizing:border-box}
.photo-panel .identity-target img{width:auto;max-width:100%;max-height:48vh}
/* Board 6 (Kept) phone: "Read it together" sits at the foot of the screen (reference, 5 Nov 2026). */
@media(max-width:760px){.kept-shell{display:flex;flex-direction:column;min-height:calc(100dvh - 130px);box-sizing:border-box}.kept-shell>button.primary{margin-top:auto;width:100%}}
/* WhatsApp delivery on the ready screen, and the recipient's yes page (delivery.mjs). */
.delivery{max-width:620px;margin:0 auto 40px;padding:28px 28px 24px;background:var(--white);border:1px solid #ebe3d5;box-shadow:0 18px 48px #4a37200f}
.delivery:empty{display:none}
.delivery h2{margin:0 0 18px;font-size:22px;font-weight:500}
.delivery-modes{display:grid;grid-template-columns:1fr 1fr;margin:0 0 20px;border:1px solid var(--line)}
.delivery-modes button{padding:11px 10px;border:0;background:none;color:var(--muted);font-size:15px}
.delivery-modes button[aria-pressed=true]{background:var(--ink);color:var(--white)}
.delivery .field{display:block;margin:0 0 16px}
.delivery .field>span{display:block;margin-bottom:6px;font-size:14px;color:var(--muted)}
.delivery .field input,.delivery .field textarea,.delivery .field select{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:0;background:var(--paper);color:var(--ink)}
.delivery .field textarea{resize:vertical;min-height:84px}
.delivery-when{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.delivery-zone{grid-column:1/-1}
.delivery-error{margin:0 0 14px;color:var(--accent)}
.delivery-state{margin:0 0 12px;font-size:19px}
.delivery-yes{color:var(--green)}
.delivery-note{margin:14px 0;padding:14px 16px;border-left:3px solid var(--line);background:var(--paper);overflow-wrap:anywhere}
.delivery-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:14px 0}
.delivery-actions a{text-decoration:none}
.delivery-actions.quiet-actions{margin-top:20px;padding-top:14px;border-top:1px solid #ebe3d5}
.delivery-ask{padding-top:12vh;text-align:center}
.delivery-ask .btn{margin:18px 0}
.delivery a.btn:not(.secondary),.delivery-ask a.btn{border-radius:999px;min-height:52px;padding:14px 32px;font:600 17px/1.2 var(--sans)}
@media(max-width:640px){.delivery{margin:0 0 32px;padding:22px 18px}.delivery-when{grid-template-columns:1fr}}
/* A private picture has no address until its download finishes; until then it stays invisible, so the browser never paints its alt text. */
img[data-media]:not([src]){visibility:hidden}
.visual img.clip-frame{aspect-ratio:9/16;width:auto!important;height:auto!important;max-width:100%;object-fit:cover!important;object-position:50% 50%;display:block;margin-inline:auto}
.motion-memory{position:absolute;opacity:0;transition:opacity .8s ease;pointer-events:none;background:transparent;z-index:1}
.motion-controls{position:absolute;left:12px;bottom:12px;display:flex;gap:8px;z-index:2}
.motion-controls .motion-button{display:inline-flex;align-items:center;box-sizing:border-box;height:30px;margin:0;font:14px/1 system-ui;color:#51483c;background:#f8f4eced;border:0;border-radius:15px;padding:0 13px;text-decoration:none;cursor:pointer;min-height:0;min-width:0;box-shadow:none}
.motion-button[hidden]{display:none}
