/* Requested typography and spacing refinements, based on version 25. */
.site-header nav{align-items:baseline}
.site-header nav>.nav-cta{align-items:baseline;padding:12px 0}
.scene-hero .hero-desc{line-height:1.3}
.icon-story .section-intro{line-height:1.566667}
.collection .section-intro,.card-studio .section-intro,.resources .section-intro{margin-top:8px}
.landscape-copy h3{margin-top:0}
.landscape-copy p{margin-top:2.666667px}
.preview-toolbar{margin:0;min-height:0;justify-content:flex-end}
.preview-caption-row{justify-content:flex-end}
@media(min-width:1101px) and (max-width:1300px){
 .scene-selector{gap:20px;padding-left:4%;padding-right:4%;flex-wrap:wrap}
 .hero-scene-options{margin-left:auto}
}
@media(max-width:760px){
 .scene-hero .hero-desc{line-height:1.266667}
 .icon-story .section-intro{line-height:1.533333}
 .collection .section-intro,.card-studio .section-intro,.resources .section-intro{margin-top:6.5px}
 .site-header nav>.nav-cta{padding:9px 0}
 .preview-toolbar:has(#finish-inline-edit:not([hidden])){margin-bottom:10px}
 .preview-caption-row{justify-content:space-between}
}

/* Fine spacing and vertically centered download copy. */
.icon-story.section-wrap{padding-top:90px}
.resource-card .resource-copy{align-self:center}
.resource-card .resource-copy h3{margin-top:0}
@media(max-width:760px){.icon-story.section-wrap{padding-top:39.6px}}
/* Center the complete stepped image group rather than each offset image. */
.resource-scene-stack{align-items:start}
/* Match the two bottom actions and give the message field the extra height. */
@media(min-width:761px){
 .card-studio .maker-layout{align-items:stretch}
 .preview-column{align-self:start}
 .preview-caption-row{min-height:56px}
 .message-form{display:flex;flex-direction:column;align-self:stretch}
 .message-form fieldset{display:flex;flex-direction:column;flex:1;margin-bottom:17px}
 .message-form textarea{flex:1;max-height:none}
 .message-form .download-card{flex-shrink:0}
}

.footer-official-logo{width:145px;height:auto;filter:brightness(0)}

/* Connected hover rule, action bottoms, and edge-to-edge footer divider. */
.change-scene{display:inline-flex;align-items:center;gap:7px;border-bottom:1px solid transparent;text-decoration:none}
.change-scene span{margin-left:0}
.change-scene:hover,.change-scene:focus-visible{border-bottom-color:currentColor;text-decoration:none}
@media(min-width:761px){.preview-caption-row{align-items:flex-end}}
footer{width:100%;max-width:none;padding-left:max(var(--gutter),calc((100% - var(--page-width))/2 + var(--gutter)));padding-right:max(var(--gutter),calc((100% - var(--page-width))/2 + var(--gutter)))}
.snowflake{background:#fffefb;box-shadow:0 0 3px #ffffff55}

/* Final action spacing and compact footer. */
.site-header nav>.nav-cta{align-items:flex-end;line-height:1}
.site-header .nav-cta span{line-height:1}
@media(min-width:761px){
 .preview-caption-row{min-height:28px;margin-top:8px}
 .message-form fieldset{margin-bottom:8px}
 .collection.section-wrap{padding-top:112px}
}
footer{padding-top:16px;padding-bottom:16px;gap:24px}
.footer-official-logo{opacity:.28}
footer .back-top{order:0;margin:0 0 0 auto}
@media(max-width:760px){
 footer{padding-top:12px;padding-bottom:12px}
 .collection.section-wrap{padding-top:64px}
}

/* Hero balance and final optical spacing. */
.scene-hero .hero-desc{line-height:1.6}
.scene-hero[data-scene="wreath"]{--scene-ink:#fff;--scene-button:#fff;--scene-button-ink:#101d55}
.scene-hero[data-scene="wreath"] .hero-desc{opacity:1}
@media(min-width:761px){
 .scene-hero[data-scene="wreath"] .scene-hero-copy{left:50%;top:50%;transform:translate(-50%,-50%);width:42%}
}
.site-header .nav-cta span{position:relative;top:3px}
.icon-story.section-wrap{padding-top:106px}
.landscape-link{padding-bottom:31px}
@media(max-width:760px){
 .scene-hero .hero-desc{line-height:1.533334}
 .icon-story.section-wrap{padding-top:47.6px}
 .landscape-link{padding-bottom:28px}
}

/* Anniversary-style compact footer with official social destinations. */
footer.social-footer{min-height:70px;padding-top:16px;padding-bottom:16px;flex-wrap:nowrap;background:#fff}
.social-footer .footer-official-logo{width:145px;opacity:.44}
.footer-social{display:flex;align-items:center;gap:24px;margin-left:auto}
.footer-social a{display:flex;align-items:center;justify-content:center;width:30px;height:32px;color:#999;transition:color .2s}
.footer-social a:hover,.footer-social a:focus-visible{color:#555}
.footer-social svg{display:block;width:30px;height:30px}
@media(max-width:760px){.social-footer .footer-official-logo{width:125px}.footer-social{gap:16px}footer.social-footer{gap:16px}}

/* Keep the media-wall headlines on two lines within the existing artwork layout. */
.scene-hero[data-scene="journey"] h1,.scene-hero[data-scene="tree"] h1{font-size:clamp(24px,3.2vw,52px)}
@media(max-width:760px){
 .scene-hero[data-scene="journey"] h1,.scene-hero[data-scene="tree"] h1{font-size:clamp(22px,6.7vw,48px)}
 .scene-hero[data-scene="journey"] h1{font-size:clamp(26.565px,8.09025vw,57.96px);line-height:1.2}
}

/* Center the wreath message itself; actions sit below without shifting its center. */
@media(min-width:761px){
 .scene-hero[data-scene="wreath"] .hero-actions{position:absolute;top:100%;left:0;width:100%}
}

/* Single wallpaper collection download with staggered scene previews. */
.wallpaper-bundle{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:64px;align-items:center;padding-top:0}
.wallpaper-bundle-copy h2{font-size:36px;font-weight:650;line-height:1.35;word-break:keep-all}
.resources .wallpaper-bundle-copy .section-intro{margin-top:20px;font-size:16px;line-height:1.85}
.wallpaper-bundle-download{display:inline-flex;align-items:center;justify-content:center;margin-top:32px;padding:16px 28px;min-height:52px;background:#111;color:#fff;font-size:15px;font-weight:600;transition:background .2s}
.wallpaper-bundle-download:hover{background:#333}
.wallpaper-bundle-download:focus-visible{outline:2px solid #111;outline-offset:5px}
.wallpaper-bundle-format{margin-top:12px;font-size:12px;line-height:1.6;color:#707070;word-break:keep-all}
.resource-scene-stack.wallpaper-bundle-art{gap:14px;align-items:start}
.wallpaper-bundle-art img{display:block;aspect-ratio:4/5;object-fit:cover}
.wallpaper-bundle-art img:nth-child(2){margin-top:36px;object-position:28% center}
.wallpaper-bundle-art img:nth-child(3){margin-top:72px;object-position:92% center}
@media(max-width:1000px){.wallpaper-bundle{gap:32px}.wallpaper-bundle-copy h2{font-size:30px}.resource-scene-stack.wallpaper-bundle-art{gap:10px}}
@media(max-width:760px){.wallpaper-bundle{grid-template-columns:1fr;gap:36px;padding-top:0}.wallpaper-bundle-copy h2{font-size:28px}.resources .wallpaper-bundle-copy .section-intro{font-size:14px}.wallpaper-bundle-download{margin-top:24px}.resource-scene-stack.wallpaper-bundle-art{max-width:520px;width:100%;justify-self:center}.wallpaper-bundle-art img:nth-child(2){margin-top:24px}.wallpaper-bundle-art img:nth-child(3){margin-top:48px}}

/* Mobile illustration and message share one continuous outpainted snowfield. */
@media(max-width:760px){
 .scene-hero[data-scene="journey"] .hero-stage{
  min-height:125vw;
  background:#fafafe url('assets/scenes/journey-mobile-snow-extended.png') top center / 100% auto no-repeat;
 }
 .scene-hero[data-scene="journey"] .hero-backdrop{
  display:block;visibility:visible;
  /* Blend the current scene into the existing extended snow below. */
  -webkit-mask-image:linear-gradient(to bottom,#000 92%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 92%,transparent 100%);
 }
 .scene-hero[data-scene="journey"] .scene-hero-copy{background:transparent}
}

/* Compact supporting content and simplify the mobile-only flow. */
@media(max-width:760px){
 .winter-icon-item{flex-basis:56%;max-width:208px}
 .winter-icon-list{gap:16px}
 .winter-icon-art{margin-bottom:18px}
 .icon-swipe-hint{display:none}
 .collection.section-wrap{display:none}
 .card-studio .section-index,.resources .section-index{display:none}
 .mobile-message-step{margin-top:42px}
 .wallpaper-bundle-copy{text-align:center}
 .wallpaper-bundle-format{display:none}
}

/* Supporting solution details on mobile. */
@media(max-width:760px){
 .icon-story.section-wrap{padding-bottom:24px}
 .winter-icon-name{font-size:16px}
}

/* Mobile supporting panels and direct, transparent card editing. */
@media(max-width:760px){
 .winter-icon-item{flex-basis:44.8%;max-width:166.4px}
 .icon-story.section-wrap{padding-bottom:32px}
 .inline-field,.inline-field:focus,.inline-greeting:focus{
  left:var(--field-left);top:var(--field-top);width:var(--field-width);height:var(--field-height);
  min-height:0;padding:0;border:0;outline:none;box-shadow:none;border-radius:0;
  background:transparent;transform:scale(var(--field-scale));transform-origin:top left;
  font-size:var(--field-font-size);line-height:var(--field-line-height);font-weight:var(--field-weight);
  text-align:var(--card-align);letter-spacing:0;overflow:hidden;
 }
 .inline-field:focus{color:var(--card-ink);caret-color:var(--card-ink)}
 .inline-recipient:focus,.inline-sender:focus{opacity:.8}
 .preview-surface[data-editing] .inline-field:not(:focus){visibility:visible}
 .inline-field::placeholder{font-size:25px}
}

/* Equal spacing around the mobile card / wallpaper section boundary. */
@media(max-width:760px){
 .card-studio.section-wrap{padding-bottom:66px}
 .resources.section-wrap{padding-top:66px}
 .winter-icon-description br{display:none}
}

/* Image preview fallback for browsers without native photo sharing. */
#photo-save-dialog{width:min(92vw,480px);max-height:90dvh;margin:auto;padding:22px;border:0;overflow:auto;background:#fff;color:#111}
#photo-save-dialog::backdrop{background:rgb(0 0 0 / .55)}
.photo-save-close{display:block;margin-left:auto;padding:8px;font-size:14px}
#photo-save-dialog h2{font-size:20px;line-height:1.4;margin:12px 0}
#photo-save-dialog p{font-size:14px;line-height:1.7;margin-bottom:18px;word-break:keep-all}
#photo-save-dialog img{display:block;width:100%;height:auto;-webkit-touch-callout:default;user-select:auto}
.photo-file-download{display:block;text-align:center;font-size:14px;text-decoration:underline;padding:18px 0 4px}

/* Intentional mobile heading break; desktop keeps its existing flow. */
.mobile-heading-break{display:none}
@media(max-width:760px){.mobile-heading-break{display:block}}

/* Consistent mobile section heading size. */
@media(max-width:760px){#icons-title,#maker-title,#resources-title{font-size:26px}}

/* Match mobile supporting copy and soften footer icon scale. */
@media(max-width:760px){
 .resources .wallpaper-bundle-copy .section-intro{font-size:12px;line-height:1.533333;margin-top:13px}
 .footer-social svg{width:26px;height:26px}
}

/* Match the mobile wallpaper CTA to the journey hero CTA. */
@media(max-width:760px){
 .wallpaper-bundle-download{border-radius:8px;background:#102d3a;color:#fff6e7;font-size:11px;font-weight:700;min-height:45px;padding:12px 40px}
 .wallpaper-bundle-download:hover{background:#102d3a;filter:brightness(1.08)}
 .wallpaper-bundle-download:focus-visible{outline-color:#102d3a}
}

/* Desktop wallpaper CTA and title spacing match the journey hero. */
@media(min-width:761px){
 .wallpaper-bundle-download{border-radius:8px;background:#102d3a;color:#fff6e7;font-size:13px;font-weight:700;min-height:49px;padding:15px 24px}
 .wallpaper-bundle-download:hover{background:#102d3a;filter:brightness(1.08)}
 .wallpaper-bundle-download:focus-visible{outline-color:#102d3a}
 .resources .wallpaper-bundle-copy .section-intro{margin-top:16px}
}
