.testimony-page{max-width:1280px;margin:auto;padding:0 26px 40px}.memory-intro{text-align:center;max-width:1000px;margin:15px auto 55px;padding:45px 35px 35px;border-radius:95px 95px 22px 22px;background:radial-gradient(ellipse at 90% 10%,#e6e4d855,transparent 65%),#faf7ef}.memory-intro h1{font-size:clamp(42px,5vw,65px);letter-spacing:-1px}.memory-handwritten{font-family:var(--font-handwritten);font-weight:400;font-size:clamp(31px,3.4vw,42px);line-height:1.25;color:#8c6944}.memory-intro>p:not(.eyebrow):not(.memory-handwritten){max-width:660px;margin:0 auto 20px}.memory-intro-photos{display:flex;align-items:center;justify-content:center;gap:8px;margin:15px auto 24px;max-width:640px}.memory-intro-photos img{width:32%;height:auto;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(transparent,#000 10%,#000 90%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(transparent,#000 10%,#000 90%,transparent);-webkit-mask-composite:source-in}.memory-intro-photos img:first-child{transform:rotate(-3deg)}.memory-intro-photos img:last-child{transform:rotate(3deg)}.memory-read-link{display:inline-block;margin:15px 20px;text-underline-offset:4px;color:#766345}.memory-columns{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:55px;align-items:start;max-width:1120px;margin:auto}.memory-wall,.memory-form-panel{scroll-margin-top:35px}.memory-form-panel{background:linear-gradient(140deg,#f4f5ec,#fcfaf5);border:1px solid #dce0ce;border-radius:38px 38px 20px 20px;padding:32px}.memory-columns h2{font-size:39px;line-height:1.1}.memory-state{padding:24px 5px;color:#6c746e;line-height:1.9}.memory-empty{text-align:center;padding:42px 28px;background:radial-gradient(ellipse,#f2e8db88,transparent);border-top:1px solid #e5dccb;border-bottom:1px solid #e5dccb}.memory-empty>span{font-family:var(--font-handwritten);font-size:60px;color:#b39564}.memory-empty h3{font-family:var(--font-handwritten);font-size:35px;line-height:1.2}.memory-card{padding:28px 5px 32px;border-bottom:1px solid #e4dac8;margin-bottom:18px;overflow-wrap:anywhere}.memory-card .memory-photo{display:block;width:100%;max-height:450px;object-fit:contain;background:#f6f2e8;border-radius:18px;margin:0 auto 22px}.memory-card .memory-words{white-space:pre-wrap;line-height:1.9;font-size:16px}.memory-signature{font-family:var(--font-handwritten);font-size:32px;color:#8c6944;line-height:1.3;margin-bottom:0}.memory-relationship{font-size:13px;color:#777465;margin:3px 0 0}.memory-form-panel form{margin-top:25px}.memory-form-panel label:not(.memory-consent){display:block;font-size:14px;color:var(--ink);margin:20px 0 7px;font-weight:500}.memory-form-panel input:not([type=checkbox]),.memory-form-panel textarea{display:block;width:100%;min-height:46px;border:1px solid #cbd1bc;border-radius:12px;padding:11px 13px;background:#fffdf8;font:inherit;font-size:15px;color:var(--text)}.memory-form-panel textarea{resize:vertical;min-height:170px;line-height:1.7}.memory-form-panel input:focus,.memory-form-panel textarea:focus{outline:2px solid #89966d;outline-offset:2px}.memory-form-panel input[type=file]{font-size:13px;padding:9px}.memory-form-panel input::file-selector-button{border:1px solid #bdc5aa;border-radius:8px;background:#eef1e4;color:#46513a;padding:7px 10px;margin-right:10px;font:inherit;cursor:pointer}.memory-form-panel small{display:block;font-size:12px;line-height:1.6;color:#686d60;margin:7px 0}.optional{font-size:12px;font-weight:400;color:#7d7a6d}.memory-consent{display:flex;gap:11px;align-items:flex-start;font-size:13px;line-height:1.7;margin:24px 0 17px}.memory-consent input{margin:5px 0 0;flex-shrink:0;width:17px;height:17px;accent-color:#697954}.memory-moderation-note{font-size:13px;color:#667254;margin:10px 0}.memory-required-note{font-size:11px;color:#7b786c;margin-bottom:20px}.memory-form-panel button{font-family:inherit;cursor:pointer}.memory-form-panel .button{border:0;font-size:14px;padding:12px 24px}.memory-form-panel button:disabled{opacity:.6;cursor:wait}.memory-form-status{font-size:14px;line-height:1.6;margin:15px 0 0;color:#825043}.memory-privacy{margin:24px 0 0;border-top:1px solid #d9decd;padding-top:18px;font-size:12px;color:#666e5d}.memory-privacy summary{line-height:1.7}.memory-privacy p{margin:14px 0 0;line-height:1.8}.memory-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.memory-received{text-align:center;padding:25px 0}.memory-received>span{font-size:65px;color:#a88448;line-height:1}.memory-received h3{font-family:var(--font-handwritten);font-size:40px;line-height:1.3}.memory-secondary,.memory-admin-tabs button{border:1px solid #c8cfb7;color:#526240;background:#f5f6ed;border-radius:25px;min-height:44px;padding:10px 20px;font:inherit;font-size:14px;cursor:pointer}.memory-text-button{border:0;background:none;color:#7c6344;text-decoration:underline;font-size:12px;min-height:35px}.memory-admin-link{font-size:11px;color:#747768;text-underline-offset:3px}#photo-preview img{display:block;max-width:100%;max-height:260px;margin-top:14px;border-radius:14px}.memory-admin-page{max-width:1000px;margin:30px auto;padding:30px}.memory-admin-page h1{font-family:var(--font-handwritten);font-size:clamp(42px,5vw,65px);letter-spacing:0}.memory-admin-tabs{display:flex;gap:10px;margin:25px 0}.memory-admin-tabs [aria-pressed=true]{color:white;background:#697954}.memory-admin-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.memory-admin-actions button{border:1px solid #c8cfb7;border-radius:24px;padding:10px 18px;font:inherit;font-size:13px;cursor:pointer;background:#f1f3e9;color:#46553c}.memory-admin-actions .memory-delete{color:#985343;border-color:#dfc4b9;background:#fbf2ed}.memory-admin-email{font-size:13px;color:#6a6e63;overflow-wrap:anywhere}.memory-admin-page .memory-card{background:#f8f5ed;border:1px solid #e4dac8;border-radius:20px;padding:25px}.memory-admin-page .memory-photo{max-width:550px}.memory-error{color:#985343}button:focus-visible{outline:3px solid #a65e54;outline-offset:4px}[hidden]{display:none!important}@media(max-width:850px){.memory-columns{grid-template-columns:1fr;gap:38px;max-width:660px}.memory-form-panel{grid-row:1}.memory-intro{padding:35px 25px 28px;margin-bottom:35px}.memory-wall{padding:10px 5px}.testimony-page{padding:0 22px 25px}}@media(max-width:500px){.testimony-page{padding:0 16px 25px}.memory-intro{padding:30px 18px 23px;border-radius:65px 65px 18px 18px}.memory-intro h1{font-size:43px}.memory-intro>p:not(.memory-handwritten){font-size:15px}.memory-intro-photos{gap:1px;margin:8px -8px 20px}.memory-form-panel{padding:26px 20px}.memory-columns h2{font-size:34px}.memory-admin-page{padding:20px;margin-top:10px}.memory-admin-page .memory-card{padding:20px}}@media(prefers-reduced-motion:reduce){.memory-intro .button{transition:none}}

.memory-video{margin:20px 0 25px}.memory-video video,#video-preview video{display:block;width:100%;max-height:460px;background:#ebe6dc;border-radius:16px;object-fit:contain}.memory-video figcaption{font-size:12px;color:#73674f;line-height:1.7;margin-top:8px}.memory-video a{text-underline-offset:3px}#video-preview{margin:15px 0}#video-preview video{max-height:280px}.memory-media-note{font-size:12px;line-height:1.7;color:#77664d;margin:10px 0}#memory-upload-progress{display:block;width:100%;height:10px;margin-top:20px;accent-color:#697954;border-radius:8px;overflow:hidden}.memory-admin-page .memory-video{max-width:600px}

.memory-gallery-hint{font-size:14px;color:#777362;line-height:1.7}.memory-search{margin:22px 0}.memory-search label{display:block;font-size:13px;color:#6f765d;margin-bottom:7px}.memory-search>div{display:flex;gap:8px}.memory-search input{font:inherit;font-size:14px;min-width:0;flex:1;min-height:44px;border:1px solid #d2d7c3;border-radius:24px;background:#fffdf8;padding:10px 16px;color:var(--text)}#memory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}#memory-list>.memory-empty,#memory-list>.memory-state{grid-column:1/-1}.memory-tile{min-width:0}.memory-tile-button{display:block;width:100%;text-align:left;padding:0 0 16px;border:1px solid #e1dccb;border-radius:20px;background:#fffdf8;color:var(--ink);cursor:pointer;font:inherit;overflow:hidden;box-shadow:0 4px 15px #65734d08;transition:transform .2s,box-shadow .2s}.memory-tile-button:hover{transform:translateY(-3px);box-shadow:0 7px 20px #65734d18}.memory-tile-cover{display:flex;aspect-ratio:1;width:100%;position:relative;overflow:hidden;background:radial-gradient(ellipse,#ecebdb,#f9f5eb);align-items:center;justify-content:center;flex-direction:column}.memory-tile-cover img{display:block;width:100%;height:100%;object-fit:contain}.memory-tile-symbol{font-size:65px;line-height:1.3;color:#a28654;font-family:var(--font-handwritten)}.memory-tile-kind{font-size:12px;color:#7e7b66}.memory-tile-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin:15px 15px 5px;font-family:'Cormorant Garamond',serif;font-weight:500;font-size:24px;line-height:1.2;min-height:2.4em}.memory-tile-author{display:block;font-size:12px;line-height:1.6;color:#827259;margin:0 15px;overflow-wrap:anywhere}.memory-tile-badge{position:absolute;right:10px;bottom:10px;background:#fcfaf5eb;border:1px solid #e4dac7;border-radius:18px;padding:4px 10px;color:#766143;font-size:12px}.memory-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin:24px 0}.memory-pagination>span{font-size:12px;color:#777764}.memory-pagination button:disabled{opacity:.5;cursor:wait}.memory-dialog{width:min(740px,calc(100% - 28px));max-height:88vh;max-height:88svh;border:1px solid #e4d9c5;border-radius:25px;padding:0 30px 30px;background:#fcfaf5;color:var(--text);box-shadow:0 20px 80px #263e4455;overflow:auto;overscroll-behavior:contain}.memory-dialog::backdrop{background:#294f615e;backdrop-filter:blur(3px)}.memory-dialog-toolbar{position:sticky;top:0;z-index:2;display:flex;justify-content:flex-end;background:#fcfaf5ed;padding:14px 0 10px}.memory-dialog-toolbar button{font:inherit;font-size:14px;color:#687252;border:1px solid #d2d7c3;border-radius:24px;background:#f8f7ed;min-height:44px;padding:10px 20px;cursor:pointer}.memory-dialog h2{font-size:39px;line-height:1.2;overflow-wrap:anywhere;margin-top:8px}.memory-dialog .memory-photo{display:block;width:100%;max-height:60vh;object-fit:contain;margin:24px auto;border-radius:16px}.memory-dialog .memory-words{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere;margin-top:25px}.memory-dialog .memory-signature{margin-top:12px}.memory-dialog-open{overflow:hidden}@media(max-width:850px){.memory-form-panel{grid-row:auto}.memory-dialog{padding:0 22px 25px}}@media(max-width:500px){#memory-list{gap:14px 10px}.memory-tile-title{font-size:21px;margin:12px 11px 5px}.memory-tile-author{margin:0 11px}.memory-search>div{flex-wrap:wrap}.memory-search input{flex-basis:160px}.memory-dialog h2{font-size:31px}.memory-dialog{padding:0 18px 22px}}@media(prefers-reduced-motion:reduce){.memory-tile-button{transition:none}.memory-tile-button:hover{transform:none}}

/* Native disclosures are readable without JavaScript and enhanced into dialogs. */
summary.memory-tile-button{list-style:none;text-decoration:none}summary.memory-tile-button::-webkit-details-marker{display:none}.memory-inline{padding:20px 16px;overflow-wrap:anywhere}.memory-inline .memory-words{white-space:pre-wrap;line-height:1.9}.memory-inline a{font-size:14px;text-underline-offset:3px}.memory-tile:has(details[open]){grid-column:1/-1}.memory-fallback-pages{grid-column:1/-1}.memory-fallback-pages:empty{display:none}

.memory-pagination a{text-decoration:none}.memory-pagination a[aria-disabled="true"]{opacity:.5;pointer-events:none;cursor:wait}
.memory-alert-option{margin:23px 0 28px;padding:21px 22px;border:1px solid #d8d3bd;border-radius:20px;background:radial-gradient(ellipse at 100% 0%,#eee1d0,transparent 60%),#f9f6ed;box-shadow:0 4px 18px #7563490c}.memory-alert-option .memory-alert-heading{font-family:'Cormorant Garamond',Georgia,serif;color:var(--ink);font-size:25px;line-height:1.2;margin:0 0 12px}.memory-alert-option .memory-consent{font-size:15px;margin:0 0 10px;color:var(--ink)}.memory-alert-option small{margin:0}.memory-alert-option a{text-underline-offset:3px}#memory-alert-feedback:not(:empty){padding:12px 16px;background:#eef2e8;border-radius:14px;color:#496445;font-size:14px;line-height:1.7}

.memory-share{max-width:550px;margin:24px auto 0;padding:18px 20px;border-top:1px solid #e1d7c5}.memory-share-button{min-height:44px;padding:9px 20px;border:1px solid #c8b693;border-radius:26px;background:#fffdf8;color:#655336;font:inherit;font-size:14px;cursor:pointer}.memory-share-button:hover,.memory-share-button:focus-visible{background:#f3eddf}.memory-share-button span{font-size:20px;vertical-align:-1px;margin-right:5px}.memory-share-caption{font-size:13px;line-height:1.6;color:#726b5d;margin:9px auto 0}.memory-share-options{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:15px}.memory-share-options a,.memory-share-options button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border:1px solid #d3d8c7;border-radius:23px;background:#f7f8f0;color:#4d6246;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}.memory-share-options a:hover,.memory-share-options button:hover{background:#ebf0e4}.memory-share-options a:focus-visible,.memory-share-options button:focus-visible{outline:3px solid #a65e54;outline-offset:3px}.memory-share-status{font-size:13px;line-height:1.6;color:#526240;overflow-wrap:anywhere}.memory-share-status:empty{display:none}
.memory-share-options{display:block}.memory-share-links{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin:9px auto 0}.memory-share-group-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:23px;line-height:1.2;color:#294f61;margin:22px 0 0}.memory-share-help{font-size:12px;line-height:1.6;color:#726b5d;margin:6px auto 0}.memory-share-options .memory-native-share{margin-top:16px}
