/* Motion and photo interaction use the shared palette; seasonal colours live in new-year.css. */
html:not([data-special-day]):not(.new-year) {--paper:#f2f6f4;--soft:#e7eeea;--line:#d4dfd8;--muted:#53615c;--accent:#9e2d36;--accent-hover:#81232b;--accent-wash:#f4e9e8}
html:not([data-special-day]):not(.new-year) .header {background:#f8fbf9}
html:not([data-special-day]):not(.new-year) .footer {background:#e8efeb}

.kinetic-name {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 .22em;font-family:var(--font-display);font-size:clamp(32px,3.1vw,46px);font-weight:800;line-height:1.2;letter-spacing:.015em;margin:20px 0 -6px;color:var(--accent)}
.kinetic-word {display:inline-flex;white-space:nowrap}
.kinetic-letter {display:inline-block;font-style:normal;transform-origin:50% 85%}
.motion-toolbar {display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}
.motion-toggle {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid var(--line);background:#f6f9f7;color:#2b5140;border-radius:30px;font-size:.875rem;font-weight:750;line-height:1.5;cursor:pointer}
.motion-toggle[aria-pressed="false"] {background:#e8f0eb}
.motion-toggle[aria-disabled="true"] {cursor:default}
.motion-toolbar>span {font-size:.875rem;line-height:1.6;color:var(--muted)}
.motion-seal {position:absolute;top:75px;right:24px;z-index:2;display:grid;place-items:center;width:112px;height:112px;border-radius:50%;padding:13px;background:#264e3b;color:#fff;box-shadow:0 10px 30px #17382a30;transform:rotate(9deg)}
.motion-seal-ring {position:absolute;inset:7px;border:1px dashed #cbded2;border-radius:50%;animation:none}
.motion-seal strong {position:relative;display:block;font-family:var(--font-display);font-size:25px;line-height:1.05;text-align:center;letter-spacing:.02em}
.motion-seal small {display:block;font:800 11px/1.6 var(--font-copy);letter-spacing:.08em}
.header .brand strong {display:inline-block;transform-origin:50% 100%}
.motion-eyebrow {display:block;font-size:.875rem;font-weight:800;line-height:1.6;letter-spacing:.1em}
.zoom-message {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,4vw,65px);align-items:center;margin-block:44px 70px;padding:clamp(26px,3.6vw,54px);border:1px solid #446454;border-radius:24px;background:radial-gradient(ellipse at 95% 0,#789f8b30,transparent 70%),linear-gradient(130deg,#244a38,#355d49);color:#f4faf6;box-shadow:0 18px 45px #21423118;isolation:isolate;scroll-margin-top:115px}
.zoom-message-copy {min-width:0}
.zoom-message .motion-eyebrow {color:#dbe9df}
.zoom-message h2 {font-size:clamp(54px,5.8vw,88px);font-weight:800;line-height:.98;letter-spacing:-.01em;margin:18px 0 23px}
.zoom-message h2 em {color:#d1ebde;font-style:italic}
.zoom-message-copy>p {font-size:1rem;line-height:1.85;color:#e4eee8;max-width:430px;margin:0 0 22px}
.zoom-interaction {margin-top:26px}
.zoom-progress {display:flex;gap:13px;align-items:center;margin-bottom:18px;max-width:360px}
.zoom-progress progress {display:block;width:100%;height:6px;border:0;border-radius:5px;overflow:hidden;background:#ffffff30;accent-color:#ccebdc}
.zoom-progress progress::-webkit-progress-bar {background:#ffffff30;border-radius:5px}
.zoom-progress progress::-webkit-progress-value {background:#ccebdc;border-radius:5px}
.zoom-progress progress::-moz-progress-bar {background:#ccebdc;border-radius:5px}
.zoom-progress>span {font-size:.875rem;font-variant-numeric:tabular-nums;white-space:nowrap;color:#e4eee8}
.zoom-actions {display:flex;gap:12px;flex-wrap:wrap}
.zoom-actions button {min-height:50px;padding:13px 18px;border-radius:9px;font-size:1rem;font-weight:750;line-height:1.5;cursor:pointer}
.zoom-primary {background:#ccebdc;color:#243e35;border:1px solid #ccebdc}
.zoom-reset {background:transparent;color:#f4faf6;border:1px solid #a6c0b0}
.zoom-actions button:disabled {opacity:.55;cursor:default}
.zoom-skip {padding:12px 0;min-height:44px;border:0;background:transparent;color:#d9e9df;font-size:.9375rem;line-height:1.5;text-decoration:underline;text-underline-offset:4px;cursor:pointer;margin-top:5px}
.zoom-skip:disabled {opacity:.6;cursor:default}
.zoom-message .zoom-message-status {font-size:.9375rem;line-height:1.8;color:#dcece2;margin:16px 0 0;min-height:3.6em}
.zoom-contact {display:inline-flex;padding:11px 0;color:#fff;font-size:1rem;font-weight:750;text-decoration:underline;text-underline-offset:4px;line-height:1.6}
.zoom-visual {position:relative;min-width:0;aspect-ratio:1.3;isolation:isolate;overflow:hidden;border-radius:16px;background:#b9b3a8;box-shadow:0 12px 35px #1c0e2440;--zoom-scale:1}
.zoom-camera {position:absolute;inset:0;transform-origin:64% 62%;transform:scale(var(--zoom-scale));transition:transform 850ms cubic-bezier(.24,.66,.27,1)}
.zoom-camera>img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 66%}
.zoom-micro-note {position:absolute;left:64%;top:62%;transform:translate(-50%,-50%) rotate(-2deg);display:flex;flex-direction:column;align-items:center;justify-content:center;width:6%;padding:.35em .2em;background:#f5f9f6;color:#264836;border:.12em solid #365a44;border-radius:.25em;font-size:clamp(2px,.25vw,4px);line-height:1.2;text-align:center;box-shadow:0 .2em .5em #0005}
.zoom-micro-note>span {font-family:var(--font-display);font-weight:800;line-height:1.05;white-space:nowrap;font-size:1em;letter-spacing:0}
.zoom-micro-note>b {display:block;font-size:.38em;line-height:1.3;letter-spacing:.08em;padding-top:.5em;white-space:nowrap}
.zoom-photo-top {position:absolute;left:18px;right:18px;top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;font-size:.875rem;line-height:1.5;font-weight:750;text-shadow:0 1px 4px #000b}
.zoom-photo-top>span:first-child {max-width:220px;font-size:.75rem;letter-spacing:.08em}
.zoom-magnification {border:1px solid #ffffff85;border-radius:30px;padding:6px 10px;background:#214231b3;font-variant-numeric:tabular-nums}
.zoom-visual::after {position:absolute;inset:0;z-index:-1;pointer-events:none;content:"";background:linear-gradient(#1a142829,transparent 35%,#1a142866)}
.zoom-target {position:absolute;left:64%;top:62%;width:16%;aspect-ratio:1;border:1px solid #fff8d9cc;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 8px #fff8d91c;transition:opacity .25s;pointer-events:none}
.zoom-visual:not([data-zoom-step="0"]) .zoom-target {opacity:0}
.zoom-visual[data-zoom-step="4"] .zoom-micro-note {background:#d6efdf}
.zoom-visual figcaption {position:absolute;bottom:0;left:0;right:0;padding:26px 18px 15px;background:linear-gradient(transparent,#173425b3);font-size:.875rem;line-height:1.6;color:white;text-shadow:0 1px 4px #0007}
.zoom-message :is(button,a):focus-visible,.motion-toggle:focus-visible {outline:3px solid #b7dfca;outline-offset:4px}
.footer-bottom .motion-toggle {letter-spacing:0}
[data-special-day] .zoom-message {background:var(--dark-gradient);border-color:var(--accent)}
[data-special-day] .motion-seal {background:var(--accent)}
[data-special-day] .kinetic-name {color:#fff}
html[data-large-text] .zoom-message-copy>p {font-size:1.125rem}

html[data-motion="off"] *,html[data-motion="off"] *::before,html[data-motion="off"] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-motion="off"] .snowfall {display:none}
html[data-motion="off"] .motion-seal-ring {transform:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.snowfall{display:none}}

@media(max-width:1100px){.zoom-message{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:26px;padding:30px}.zoom-message h2{font-size:67px}.motion-seal{width:94px;height:94px;right:18px}.motion-seal strong{font-size:22px}.motion-seal small{font-size:9px}.zoom-visual{aspect-ratio:1.05}.zoom-photo-top>span:first-child{font-size:.6875rem}.kinetic-name{font-size:36px}}
@media(max-width:760px){.zoom-message{grid-template-columns:1fr;padding:26px;gap:26px;margin-block:30px 60px;border-radius:18px}.zoom-message h2{font-size:64px}.zoom-message h2 br{display:none}.zoom-message h2 em{display:block}.zoom-visual{grid-row:2;aspect-ratio:1.3}.zoom-message-copy>p{max-width:none}.zoom-micro-note{font-size:clamp(2px,.53vw,4px)}.zoom-message-status{min-height:0}.motion-seal{top:64px;width:96px;height:96px}.motion-toolbar{margin-top:14px}.kinetic-name{font-size:38px;margin-top:17px}}
@media(max-width:430px){.zoom-message{padding:22px;gap:22px}.zoom-message h2{font-size:58px}.zoom-photo-top{top:12px;left:12px;right:12px}.zoom-photo-top>span:first-child{font-size:.625rem;max-width:140px;letter-spacing:.04em}.zoom-visual{aspect-ratio:1.15}.zoom-micro-note{font-size:2px}.zoom-magnification{padding:5px 8px;font-size:.875rem}.zoom-visual figcaption{padding:24px 12px 12px;font-size:.75rem}.zoom-actions{gap:9px}.zoom-actions button{padding:12px 14px;font-size:.9375rem}.motion-toolbar>span{font-size:.875rem}.motion-seal{right:18px;top:60px;width:88px;height:88px}.motion-seal strong{font-size:20px}.motion-seal small{font-size:8px}.kinetic-name{font-size:34px}}
/* Keep the photo beside the controls in the phone reading order. */
@media(max-width:760px){.zoom-message{row-gap:0}.zoom-message-copy{display:contents}.zoom-message-copy>.motion-eyebrow{grid-row:1}.zoom-message-copy>h2{grid-row:2}.zoom-message-copy>p:first-of-type{grid-row:3;margin-bottom:23px}.zoom-visual{grid-row:4;margin:0}.zoom-interaction{grid-row:5;margin-top:20px}.zoom-message .zoom-message-status{grid-row:6;min-height:0;margin-top:15px}.zoom-contact{grid-row:7}.zoom-message-copy>noscript{grid-row:8}}
