/* A bold, friendly mobile booklet: teal / baked coral / golden mustard. */
:root{--paper:#f5e6cd;--ink:#234e4c;--muted:#59645c;--accent:#a24c3e;--line:#234e4c45;--serif:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;--sans:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;--coral:#bf6656;--gold:#d3a34b;--blue:#3d5279}
html{scroll-padding-top:78px}body{font-size:15px;line-height:1.9}h1,h2,h3,h4{font-weight:900;font-family:var(--sans);letter-spacing:-.045em}h1,h2{text-wrap:balance}a,button{touch-action:manipulation}.eyebrow{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.07em;color:inherit}.reading-progress{height:4px;background:var(--gold);z-index:70}.site-header{position:sticky;top:0;z-index:40;height:59px;margin:0;padding:12px 21px;background:var(--ink);color:var(--paper);border:0;box-shadow:0 2px 0 #173c3a}.site-header>a{display:flex;gap:8px;align-items:center;font-weight:900;font-size:14px;letter-spacing:.03em}.header-dot{color:#eeb891;font-size:10px}.site-header>.current-step{font:700 11px/1.7 var(--sans);letter-spacing:0;background:#ffffff15;padding:5px 10px;border:1px solid #f5e6cd50;border-radius:30px}
.hero{background:var(--ink);color:var(--paper);padding:12px 22px 35px;overflow:hidden}.cover-heading{position:relative;padding:17px 0 21px}.cover-heading .eyebrow{font-size:11px;letter-spacing:.02em;margin-bottom:15px}h1{font-size:clamp(49px,15.2vw,66px);line-height:1.17;letter-spacing:-.045em}h1>span{color:#ebbb61}.hero-star{position:absolute;right:4px;top:44px;font:65px/1 Georgia,serif;color:#dc8b72;animation:star-spin 16s linear infinite}.cover-image{margin:10px 1px 0;rotate:-3deg;border:5px solid var(--paper);border-radius:24px;box-shadow:8px 8px 0 #123b39;isolation:isolate}.cover-image img{aspect-ratio:1.44;object-fit:cover;object-position:64% 47%;border-radius:18px}.cover-image figcaption{bottom:-13px;right:-6px;background:var(--coral);color:#fff5e8;padding:8px 12px;border:2px solid var(--paper);border-radius:7px;rotate:6deg;box-shadow:3px 3px 0 #173c3a;font:900 12px/1.4 var(--sans);letter-spacing:.03em;text-shadow:none}.cover-names{margin-top:18px;padding:18px 0 20px;border-color:#f5e6cd40;font:800 18px/1.6 var(--sans);letter-spacing:-.03em;gap:14px}.cover-names i{color:var(--gold);font-weight:900}.cover-names small{color:#f5e6cdd0;font-size:10px}.cover-foot>p:first-child{font:700 14px/1.9 var(--sans);margin-top:20px;letter-spacing:0}.cover-guide{font-size:11px;line-height:2;color:var(--paper);margin-top:19px;background:#ffffff0c;border:1px dashed #f5e6cd70;border-radius:12px;padding:13px 14px}.cover-guide strong{font-size:12px}.page-link,.next-cue a{background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:16px;min-height:62px;padding:13px 16px;font-size:14px;font-weight:900;letter-spacing:-.035em;box-shadow:4px 5px 0 var(--ink);transition:transform .2s,box-shadow .2s}.hero .page-link{background:var(--gold);border-color:#173c3a;box-shadow:4px 5px 0 #123b39;margin-top:19px}.page-link>span:last-child,.next-cue a span{font:900 25px/1 var(--sans);flex-shrink:0}.page-link:active,.next-cue a:active,.browse-links a:active{transform:translate(3px,4px);box-shadow:1px 1px 0 var(--ink)}.day-flow{display:flex;justify-content:space-between;align-items:center;gap:3px;margin-top:26px;line-height:1.8;font-size:9px;font-weight:800;color:var(--paper)}.day-flow b{color:var(--gold)}
.section-pad{padding:58px 22px}.section-label,.chapter{color:var(--ink);font-size:14px;font-weight:900;letter-spacing:0;gap:12px}.section-label>span:first-child,.chapter>span:first-child{display:grid;place-items:center;width:42px;height:42px;border:2px solid var(--ink);border-radius:50%;background:var(--gold);font:900 20px/1 var(--sans);box-shadow:3px 3px 0 var(--ink)}.section-label{border:0;padding-bottom:0;margin-bottom:34px}.greeting{background:var(--paper)}.greeting-body{background:#fffaee;border:2px solid var(--ink);border-radius:24px;padding:28px 20px;box-shadow:7px 7px 0 var(--coral)}.greeting-body>.eyebrow{color:var(--accent);font-weight:800;font-size:12px;margin-bottom:18px}.greeting-body h2{font-size:26px;line-height:1.6;margin-bottom:25px}.greeting-body>p:not(.eyebrow):not(.draft-note):not(.next-cue){font-size:14px;line-height:2.2}.signatures{font:900 24px/1.5 var(--sans);color:var(--accent)}.draft-note{font-size:10px;color:var(--muted)}.next-cue{margin-top:28px}.next-cue a{background:var(--gold);font-size:12px;gap:12px;padding:12px;line-height:1.6}
.ceremony-scene{min-height:calc(100svh - 59px);padding:28px 22px 36px;display:flex;flex-direction:column;align-items:stretch;gap:32px;border:0;overflow:hidden}.chapter{position:static;left:auto;right:auto;top:auto;border:0;padding:0;min-height:44px}.scene-copy{width:100%;text-align:left}.scene-sticker{display:inline-block;rotate:-7deg;padding:7px 14px;background:var(--gold);border:2px solid var(--ink);border-radius:9px;box-shadow:3px 3px 0 var(--ink);color:var(--ink);font:900 15px/1.5 var(--sans);letter-spacing:.02em;margin:3px 0 24px}.scene-prelude{font:800 18px/1.8 var(--sans);letter-spacing:0;margin-bottom:6px}.scene-copy h2{font-size:clamp(31px,10.4vw,44px);line-height:1.5;letter-spacing:-.055em}.introductions-scene{background:var(--coral);color:#fff8e9}.introductions-scene .chapter{color:#fff8e9}.introductions-scene .scene-copy h2{text-shadow:3px 3px 0 #733c37}.action-card{background:var(--paper);color:var(--ink);padding:22px 18px;border:2px solid var(--ink);border-radius:21px;box-shadow:6px 6px 0 #733c37;margin-top:27px}.action-label{display:inline-block;font:900 11px/1.7 var(--sans);background:var(--ink);color:var(--paper);padding:5px 10px;border-radius:30px;margin-bottom:16px}.pause-heading{font:900 19px/1.8 var(--sans);letter-spacing:-.035em}.scene-description{font-size:12px;font-weight:600;color:var(--ink);line-height:2;margin-top:16px}.hello-order{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:21px;font-size:12px;font-weight:900}.hello-order span{border-bottom:3px solid var(--coral);padding-bottom:3px}.scene-next{position:static;left:auto;right:auto;bottom:auto;width:100%;margin-top:auto}.toast-scene{background:var(--gold);color:var(--ink)}.toast-scene .chapter>span:first-child{background:var(--coral);color:var(--paper)}.toast-scene .scene-prelude{font-size:17px}.toast-scene .action-card{box-shadow:6px 6px 0 #8b642b}.clink{display:flex;align-items:center;gap:10px;justify-content:center;margin:0 auto 25px}.clink>span{font-size:90px;line-height:1.1;display:block;rotate:-10deg}.clink>b{font-size:31px;line-height:1;letter-spacing:-.07em;rotate:7deg}.toast-scene .scene-copy.visible .clink{animation:cheers-pop .85s cubic-bezier(.2,1.6,.4,1) both}.free-browse-intro{background:var(--blue);color:var(--paper);border:0;padding:60px 22px}.free-browse-intro .scene-sticker{background:#e49a80;rotate:5deg}.free-browse-intro .eyebrow{color:var(--paper);font-size:12px}.free-browse-intro h2{font-size:35px;line-height:1.6;letter-spacing:-.05em;margin:15px 0 23px}.free-browse-intro p:not(.eyebrow){font-size:14px;line-height:2}.browse-links{display:grid;gap:14px;margin-top:30px}.browse-links a{display:flex;justify-content:space-between;align-items:center;background:var(--paper);border:2px solid var(--ink);box-shadow:4px 5px 0 #20304c;border-radius:14px;padding:15px 17px;font-weight:900;color:var(--ink)}.browse-links a:last-child{background:var(--gold)}.browse-invitation{font-size:11px!important;color:var(--paper);margin-top:25px}
.section-nav{top:59px;background:var(--paper);border:0;border-bottom:2px solid var(--ink);padding:0 12px;z-index:35;box-shadow:0 3px 0 #234e4c15}.section-nav a{font-size:12px;font-weight:900;letter-spacing:0;min-height:54px}.section-nav a[aria-current]:after{height:4px;background:var(--coral);border-radius:3px}.section-heading h2{font-size:32px;line-height:1.6;margin-top:13px}.section-heading>.side-note{font-size:13px;font-weight:600;margin-top:15px;color:inherit}.section-heading .eyebrow{font-size:12px}.couple{background:var(--paper)}.couple-grid{gap:15px}.person{background:#fffaee;padding:9px 9px 18px;border:2px solid var(--ink);border-radius:17px;box-shadow:4px 5px 0 var(--coral);min-width:0}.portrait{border-radius:10px;border:1px solid var(--ink)}.portrait img{aspect-ratio:3/4}.person-role{display:inline-block;padding:3px 10px;border-radius:30px;color:var(--paper);background:var(--ink);font-size:10px;font-weight:700;margin:14px 0 7px}.person h3{font-size:18px;line-height:1.7;letter-spacing:-.06em}.person h3 small{font-size:10px}.profile-placeholder{font-size:11px;line-height:1.9}.married-note{background:var(--gold);border:2px solid var(--ink);border-radius:16px;padding:18px 15px;font:700 13px/2 var(--sans);margin-top:31px;text-align:center}
.families{background:var(--ink);color:var(--paper);padding-top:55px}.families>.section-heading .eyebrow{color:#edbc70}.family-sheet{margin-top:42px}.family-heading{border-bottom:2px solid #f5e6cd60;padding-bottom:18px;margin-bottom:25px}.family-heading .eyebrow{font-size:11px;color:#edbc70}.family-heading h3{font-size:28px;line-height:1.6;letter-spacing:-.04em;margin-top:7px}.family-members{display:grid;gap:24px}.family-member{background:var(--paper);color:var(--ink);border:2px solid #102f2e;border-radius:23px;padding:22px 18px;box-shadow:6px 7px 0 #123836}.has-photo{grid-template-columns:105px minmax(0,1fr);column-gap:16px}.member-photo{border:2px solid var(--ink);border-radius:15px;overflow:hidden;rotate:-3deg;box-shadow:3px 3px 0 #bfa56a}.member-photo img{aspect-ratio:3/4}.family-relation{font-size:20px;line-height:1.5;font-weight:900;color:var(--accent);margin-bottom:7px;letter-spacing:0}.family-member h4{font-size:24px;font-weight:900;line-height:1.6;letter-spacing:-.06em;margin-bottom:13px}.family-member h4 small{font-size:10px;letter-spacing:0}.member-details{font-size:12px;line-height:1.8}.member-details dt{font-size:10px;font-weight:700;color:var(--accent)}.member-story{border-top:1px dashed #234e4c65;padding-top:17px;font-size:14px;line-height:2.1;margin-top:20px}.has-photo>.member-pending{font-size:12px;color:var(--muted)}.family-album{margin-top:68px}.album-heading .eyebrow{font-size:11px;color:#edbc70}.album-heading h3{font-size:30px}.album-heading>p:last-child{color:var(--paper);font-size:12px}.album-grid{gap:24px 15px}.album-photo img{border:5px solid var(--paper);border-radius:16px}.album-photo figcaption{color:var(--paper);font-size:11px}.families>.draft-note{color:#f5e6cdb8;margin-top:30px}.information{background:var(--coral);color:#fff8e9;border:0;padding-top:55px}.information .eyebrow{color:inherit}.info-layout{background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:23px;padding:25px 20px;box-shadow:7px 7px 0 #733c37}.date-panel{gap:10px;border-bottom:2px dashed #234e4c60}.date-panel>div{font:900 66px/1 var(--sans);letter-spacing:-.08em}.date-panel>p{font-family:var(--sans);font-weight:700;font-size:10px}.date-panel span{font:700 8px var(--sans);letter-spacing:0;margin-left:10px}.venue-panel dt{font-size:11px;font-weight:700}.venue-panel dd{font-size:13px}.venue-panel .venue-name{font:900 23px/1.6 var(--sans)}.venue-panel dl>div{grid-template-columns:33px 1fr;gap:12px}.pill{border:2px solid var(--ink);background:var(--gold);border-radius:12px;font-weight:900;min-height:54px}.text-link{font-size:12px;font-weight:700}.venue-links{gap:25px}
footer{background:var(--ink);color:var(--paper);border:0;padding-top:60px}.footer-title{font:900 26px/1.7 var(--sans);letter-spacing:-.04em}.footer-date{font:900 14px var(--sans);letter-spacing:.03em;color:var(--gold)}.footer-flower{color:#edbc70;transition:transform .3s}.footer-flower:active{transform:rotate(70deg) scale(1.3)}.back-top,footer>small{color:var(--paper)}.back-top{font-size:12px}dialog{border:3px solid var(--ink);border-radius:25px;background:var(--paper);padding-inline:23px;box-shadow:8px 9px 0 #0d2d2b55}dialog h2{font-family:var(--sans);font-weight:900;font-size:28px;letter-spacing:-.04em}#passphrase{border:2px solid var(--ink);border-radius:11px;background:#fffaee;font-size:18px}#unlock-form button{background:var(--coral);color:#fff8e9;border-color:var(--ink)}.message-flower{color:var(--accent)}#message-title{font:900 25px/1.8 var(--sans)}
.js-motion .reveal{transform:translateY(36px) scale(.94) rotate(-2deg);transition:opacity .55s ease,transform .8s cubic-bezier(.16,1.35,.3,1)}.js-motion .reveal.visible{transform:none;opacity:1}.cover-heading{animation:pop-arrive .8s cubic-bezier(.16,1.4,.3,1) both}.cover-image{animation:photo-pop 1s .15s cubic-bezier(.16,1.3,.3,1) both}.zoom-photo{display:block;width:100%;border:0;padding:0;background:none;cursor:zoom-in;border-radius:inherit}.zoom-photo img{transition:transform .3s}.zoom-photo:active img{transform:scale(1.08)}.photo-zoom-hint{display:block;font-size:10px;font-weight:700;margin:6px 0 0;opacity:.75}.photo-close{position:absolute;right:8px;top:8px;width:44px;height:44px;background:var(--paper);border:2px solid var(--ink);border-radius:50%;font-size:25px;z-index:1}#photo-dialog{padding:12px 12px 19px;overflow:auto;max-height:90dvh}#photo-full{max-height:72dvh;object-fit:contain;border-radius:14px;width:100%;height:auto}#photo-caption{font-size:17px;font-weight:900;margin:17px 5px 4px}.photo-hint{font-size:11px;margin:0 5px;color:var(--muted)}
#page-turn-effect{z-index:80;pointer-events:none;contain:none;overflow:hidden}.turn-sheet{position:absolute;inset:-6% -10%;border:3px solid var(--ink);border-radius:60px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--paper);transform:translateY(115%);padding:30px;text-align:center;box-shadow:0 -18px 0 var(--gold)}.turn-sheet>span{display:block;font-size:58px;font-weight:900;line-height:1.5;letter-spacing:-.06em}.turn-sheet>small{font-size:18px;font-weight:800;margin-top:15px}.celebration{position:fixed;inset:0;z-index:65;pointer-events:none;overflow:hidden}.confetti-piece{position:absolute;top:-25px;left:0;width:10px;height:20px;border-radius:2px}.confetti-piece:nth-child(3n){border-radius:50%;width:13px;height:13px}
#greeting,#introductions,#toast,#profiles{scroll-margin-top:0}#families,#couple,#information,#bride-family-title,#groom-family-title{scroll-margin-top:48px}
@keyframes star-spin{to{transform:rotate(360deg)}}@keyframes pop-arrive{from{opacity:0;transform:translateY(24px) scale(.84) rotate(-5deg)}to{opacity:1;transform:none}}@keyframes photo-pop{from{opacity:0;transform:scale(.75) rotate(12deg)}to{opacity:1;transform:none}}@keyframes cheers-pop{0%{transform:scale(.5) rotate(-12deg)}65%{transform:scale(1.12) rotate(5deg)}100%{transform:none}}
@media(max-width:360px){h1{font-size:49px}.hero-star{font-size:48px;right:0;top:44px}.cover-names{gap:9px;font-size:16px}.greeting-body{padding:24px 16px}.greeting-body h2{font-size:23px}.greeting-body>p:not(.eyebrow):not(.draft-note):not(.next-cue){font-size:13px}.scene-copy h2{font-size:31px}.page-link{font-size:12px;padding:13px}.hello-order{font-size:10px}.pause-heading{font-size:17px}.has-photo{grid-template-columns:86px minmax(0,1fr);gap:13px}.family-member{padding:20px 14px}.family-relation{font-size:18px}.family-member h4{font-size:21px}.person h3{font-size:16px}.clink>span{font-size:75px}.clink>b{font-size:26px}.day-flow{font-size:8px}.cover-heading .eyebrow{font-size:10px}.section-heading h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-motion .reveal{opacity:1;transform:none}#page-turn-effect,.celebration{display:none!important}}

main>section[tabindex='-1']:focus{outline:none}.turn-sheet>span{white-space:pre-line}


/* The chosen two-line cover phrase stays intact on small phones. */
#hero-title{font-size:clamp(27px,9.5vw,42px);line-height:1.45;text-wrap:initial}#hero-title>span{display:block;white-space:nowrap}#hero-title>.headline-talk{color:var(--paper)}.hero-star{top:0;right:0;bottom:auto;font-size:26px}


/* Put the waiting instruction in the opening viewport. */
.cover-guide.waiting-notice{margin:10px 0 14px;padding:19px 17px;background:var(--gold);color:var(--ink);border:3px solid #123b39;border-radius:20px;box-shadow:5px 6px 0 #123b39;text-align:center}.wait-badge{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:900;line-height:1.6;margin-bottom:11px}.wait-badge>span{display:grid;place-items:center;width:27px;height:27px;background:var(--ink);color:var(--paper);border-radius:50%;font-size:18px}.waiting-notice>strong{display:block;font-size:25px;line-height:1.45;font-weight:900;letter-spacing:-.03em}.waiting-notice>.wait-instruction{display:inline-block;margin:13px 0 0;background:var(--ink);color:var(--paper);padding:6px 10px;border-radius:8px;font-size:12px;line-height:1.7;font-weight:900}.waiting-notice>.wait-detail{font-size:12px;line-height:1.9;font-weight:700;margin:11px 0 0}.cover-foot>.start-reminder{margin:25px 0 -9px;color:var(--paper);font-size:12px;font-weight:900;text-align:center}@media(max-width:360px){.waiting-notice>strong{font-size:23px}.waiting-notice>.wait-instruction{font-size:11px}.wait-badge{font-size:11px}}


/* Full-width profile cards keep the longer self-introduction legible. */
.couple-grid{grid-template-columns:1fr;gap:27px;align-items:start}.couple-grid>.person{display:grid;grid-template-columns:108px minmax(0,1fr);column-gap:19px;padding:20px}.person>.portrait{grid-column:1;grid-row:1/4;align-self:start}.person>.person-role,.person>h3,.person>.person-intro,.person>.profile-placeholder{grid-column:2}.person>.person-role{justify-self:start;align-self:start;margin:3px 0 10px}.person>h3{font-size:24px;line-height:1.6;letter-spacing:-.055em;margin:0}.person>.person-intro,.person>.profile-placeholder{font-size:11px;line-height:1.9;align-self:start;margin:10px 0 0;color:var(--muted)}.person-details{grid-column:1/-1;margin:25px 0 0;border-top:2px dashed #234e4c50}.person-details>div{padding:18px 0;border-bottom:1px solid #234e4c30}.person-details dt{font-size:11px;font-weight:900;color:var(--accent);line-height:1.8;margin:0 0 7px}.person-details dd{font-size:14px;line-height:2;font-weight:600;overflow-wrap:anywhere;margin:0}.hobby-tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}.hobby-tags li{border:1px solid #234e4c60;border-radius:8px;padding:4px 9px;background:#fff3d9;font-size:12px;font-weight:700;line-height:1.9}.person-details>.favorite-detail{border-bottom:0}.person-details>.recent-detail{border:2px solid var(--ink);border-radius:13px;padding:17px 14px;background:var(--gold);margin-top:6px}.recent-detail dt{color:var(--ink)}.recent-detail dd{font-weight:900}#person-yutaro,#person-natsuki{scroll-margin-top:126px}@media(max-width:360px){.couple-grid>.person{grid-template-columns:90px minmax(0,1fr);gap:14px;padding:17px}.person>h3{font-size:22px}.person-details dd{font-size:13px}.hobby-tags li{font-size:11px;padding:4px 7px}}


.album-photo.album-new-family img{aspect-ratio:3/4;object-fit:contain}#other-hirata-family{scroll-margin-top:126px}


.letter-sound-controls{border-top:1px dashed var(--ink);margin-top:25px;padding-top:20px}.letter-sound-toggle{width:100%;margin:0 0 12px;background:var(--gold);color:var(--ink)}#message-view .letter-sound-status{font-size:11px;line-height:1.9;margin:0 0 18px;color:var(--muted)}

/* A bold three-line opening keeps the message clear on small phones. */
#message-title{font-size:clamp(28px,8vw,34px);line-height:1.5;letter-spacing:-.045em;text-wrap:initial;margin:20px 0 28px;padding-bottom:19px;border-bottom:5px solid var(--gold)}

/* Make the pending letter unmistakable while its contents load. */
#unlock-status.is-opening{margin-top:20px;padding:19px 12px;border:2px solid var(--ink);border-radius:15px;background:var(--gold);color:var(--ink);font-size:22px!important;font-weight:900;line-height:1.6;text-align:center;white-space:pre-line;box-shadow:3px 4px 0 var(--ink)}
#unlock-status.is-opening::before{content:"";display:block;width:24px;height:24px;border:3px solid #234e4c45;border-top-color:var(--ink);border-radius:50%;margin:0 auto 10px;animation:letter-opening-spin .9s linear infinite}
@keyframes letter-opening-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#unlock-status.is-opening::before{animation:none}}
.message-footprints{width:46px;height:50px;margin-bottom:18px;color:var(--accent);line-height:0}
.message-footprints svg{display:block;width:100%;height:100%;fill:currentColor}
.family-profile-link{width:100%;min-height:60px;margin-top:20px;padding:15px 18px;justify-content:space-between;gap:16px;background:var(--ink);color:var(--paper);font-size:16px;border-radius:14px;box-shadow:4px 5px 0 var(--coral);transition:transform .2s,box-shadow .2s}
.family-profile-link>span{font-size:25px;line-height:1}
.family-profile-link:active{transform:translate(3px,4px);box-shadow:1px 1px 0 var(--coral)}

/* Section memories keep their complete framing and original proportions. */
.section-end-photo{width:100%;min-width:0;margin:32px 0 0;border:3px solid var(--ink);border-radius:20px;overflow:hidden;background:#fffaee;box-shadow:5px 6px 0 #123b3959}
.section-end-photo img{display:block;width:100%;height:auto;object-fit:contain}
.ceremony-scene>.section-end-photo{margin-top:0;flex-shrink:0}
#introductions>.section-end-photo,#profiles>.section-end-photo,#information>.section-end-photo{border-color:var(--paper)}
.hero>.section-end-photo{border-color:var(--paper)}

/* Vector accents keep the same appearance on phone emoji fonts. */
.hero-star{width:26px;height:26px}
.cover-letter{width:32px;height:28px;color:var(--gold);animation:none;transform:rotate(-8deg)}
.footer-gift-link{width:80px;height:76px;padding:8px;margin:24px auto 10px}
.footer-gift{display:block;width:64px;height:56px;overflow:visible}
.footer-gift-link:active{transform:translateY(-2px) rotate(-6deg) scale(1.08)}


.message-stork{display:grid;place-items:center;width:112px;height:112px;margin:30px auto 22px;border-radius:50%;background:var(--ink);color:#edbc70}
.message-stork-illustration{display:block;width:88px;height:74px;overflow:visible}

/* The opening action stays beside the instruction to wait for the host. */
.cover-guide.waiting-notice{margin:4px 0 17px;padding:16px 15px}
.waiting-notice>.wait-badge{margin-bottom:9px}
.waiting-notice>strong{font-size:24px;line-height:1.4}
.waiting-notice>.wait-instruction{margin-top:10px}
.waiting-notice>.wait-detail{margin-top:10px;font-size:13px;line-height:1.75}
.hero .waiting-notice>.page-link.section-link{margin-top:15px;min-height:76px;background:var(--ink);color:#fff9ec;box-shadow:0 4px 0 #94702c}
.hero .waiting-notice .section-link-arrow{background:var(--gold);color:var(--ink)}
.cover-foot>p:first-child{margin-top:17px}
.day-flow{font-size:10px;flex-wrap:wrap;row-gap:8px}

/* Leave comfortable reading sizes even on a narrow phone. */
.greeting-body>p:not(.eyebrow):not(.draft-note):not(.next-cue){font-size:15px;line-height:2.05;font-weight:500}
.scene-description,.profile-later{font-size:14px;line-height:1.9;font-weight:600}
.profile-later{margin-top:15px;padding-top:14px;border-top:1px dashed var(--line)}
.action-label{font-size:12px}
.free-browse-intro p:not(.eyebrow){font-size:15px}
.free-browse-intro .browse-invitation{font-size:13px!important}
.person>.person-role{font-size:12px}
.person>.person-intro{font-size:13px}
.person-details dt,.member-details dt,.venue-panel dt{font-size:12px;font-weight:700}
.person-details dd{font-size:15px;font-weight:500;line-height:1.95}
.hobby-tags li{font-size:13px;font-weight:600}
.person h3 small,.family-member h4 small{font-size:12px;line-height:1.7}
.married-note{font-size:15px;line-height:1.95;font-weight:700}
.family-member.has-photo{grid-template-columns:96px minmax(0,1fr);column-gap:17px;row-gap:0}
.has-photo>.member-photo{grid-row:1/3}
.has-photo>.family-relation{grid-row:1;align-self:start}
.has-photo>h4{grid-row:2;align-self:start;margin:0}
.has-photo>.member-details{grid-column:1/-1;margin-top:23px;font-size:15px;line-height:1.85}
.member-details>div{display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px;align-items:start}
.member-details>div+div{margin-top:14px}
.member-details dt{margin:3px 0 0}
.member-details dd{font-size:15px;font-weight:500}
.member-story{font-size:15px;line-height:2;font-weight:500}
.album-photo figcaption,.album-heading>p:last-child{font-size:13px;line-height:1.9}
.family-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.family-shortcuts a{display:grid;place-items:center;min-width:0;min-height:52px;padding:8px 6px;border:1px solid #f5e6cd99;border-radius:11px;background:#fff9ec;color:var(--ink);font-size:13px;font-weight:700;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.family-shortcuts a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.family-shortcuts a:active{background:var(--gold)}
#bride-family-title,#groom-family-title{scroll-margin-top:126px}
#family-photo-gallery{scroll-margin-top:48px}
.venue-panel dd{font-size:15px;line-height:1.9}
.venue-panel dl>div{grid-template-columns:36px minmax(0,1fr)}
.venue-panel .text-link{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.photo-hint{font-size:12px}
@media(max-width:360px){
 .cover-guide.waiting-notice{padding:14px 12px}
 .waiting-notice>strong{font-size:23px}
 .waiting-notice>.wait-detail{font-size:12px}
 .family-member.has-photo{grid-template-columns:86px minmax(0,1fr);column-gap:13px}
 .member-details>div{grid-template-columns:62px minmax(0,1fr);gap:8px}
 .family-shortcuts a{font-size:12px}
 .hobby-tags li{font-size:13px}
}
