/* Compact editorial scale. Footer composition remains unchanged pending approval. */
.g-page .g-photo-credit{margin:16px auto 0;font-size:14px;line-height:1.4}
.g-photo-credit a{text-decoration:underline;text-underline-offset:3px}
html:has(body.g-page){margin:0;padding:0;background:#f6f2e9}
body.g-page{margin:0;padding:0;width:100%;max-width:none;border:0}
.g-page>main,.g-page>main>.g-beige,.g-page>main>.g-yellow,.g-page>main>.g-orange{width:100%;max-width:none;margin-inline:0;padding-inline:0;border:0}
.g-page>.g-header,.g-page>.g-footer,.g-video{width:100%;max-width:none;margin-inline:0;border:0;border-radius:0}
.g-video{padding:0}
.g-video video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:0}
.g-header{height:78px}
.g-header .g-logo{gap:16px}
.g-header .g-logo img{width:116px}
.g-header .g-logo span{font-size:14px;padding-left:0;border:0}
.g-header .g-access{min-width:44px;min-height:44px}
.g-video{height:62svh;min-height:0;max-height:680px}
.g-page h2{font-size:clamp(28px,3.55vw,52px);font-weight:700;line-height:1.08;letter-spacing:-.035em;max-width:none}
.g-space{padding-block:clamp(40px,5vw,72px)}
.g-heading-row{margin-bottom:28px;align-items:center}
.g-intro{position:relative;z-index:2;grid-template-columns:1.1fr 1fr;gap:40px;padding-top:36px;padding-bottom:48px;align-items:start}
.g-intro h1{font-size:clamp(38px,4.8vw,74px);font-weight:700;line-height:1.08;letter-spacing:-.045em;padding-top:12px;min-width:0}
.g-intro-line{display:block;width:max-content;white-space:nowrap}
.g-intro-line{line-height:1.12}
.g-intro-mode-row{display:flex;align-items:center;width:max-content;gap:.2em;margin-top:.3em;white-space:nowrap;font-size:var(--intro-row-size,1em)}
.g-intro-mode-row>span{font-size:.78em}
.g-intro-mode-row>img{display:block;width:7.8em;height:auto;max-width:none;transform:translateY(.4em) rotate(-13deg) scale(1.2);transform-origin:left center;flex:none}
/* Match the landscape's top edge; compensate for the typeface's cap inset. */
@media(min-width:701px){
 .g-intro h1{padding-top:calc(330px * .21 + 65px - 105px - .15em);transform:translate3d(0,var(--intro-landscape-shift,0px),0)}
}
.g-photo-pair{display:block;position:relative;height:330px;isolation:isolate}
.g-photo-pair img{position:absolute;border-radius:22px;object-fit:cover}
.g-photo-pair .g-photo-person{right:0;top:0;z-index:2;width:42%!important;height:58%!important;object-position:center}
.g-photo-pair .g-photo-landscape{left:0;bottom:0;z-index:1;width:88%;height:72%;aspect-ratio:auto}
.g-intro .g-photo-pair{margin-top:-105px;pointer-events:none}
.g-intro .g-photo-person{position:absolute;right:12%;top:-24px;width:34%!important;height:auto!important;aspect-ratio:1;overflow:hidden;border-radius:22px}
.g-intro .g-intro-portrait>img{width:165%;height:165%;max-width:none;left:-32.5%;top:-15%;border-radius:0;transform:none;object-fit:cover}
.g-intro .g-photo-landscape{object-position:left center;left:4%;width:96%;height:79%;bottom:-65px}
.g-intro .g-photo-person,.g-intro .g-photo-landscape{transform:translate3d(0,var(--intro-shift,0px),0)}
.g-video-pause{z-index:5;pointer-events:auto;cursor:pointer;min-width:44px;min-height:44px}
.g-cities .city-track{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:18px;margin:0;padding:0 var(--g-gutter);overflow:visible}
.g-cities .city-card{min-height:0;padding:14px;border-radius:24px;display:block}
.g-cities .city-card img{height:clamp(170px,25svh,270px);margin:0;border-radius:16px;object-fit:cover}
.g-cities .city-card p{font-size:clamp(23px,2.3vw,32px);margin:10px 0 4px;line-height:1.1}
.g-cities .city-card h3{font-size:clamp(18px,1.9vw,28px);margin:0;letter-spacing:-.035em;line-height:1.15}
.g-cities .city-card:hover{transform:translateY(-3px)}
.g-invitation-heading{max-width:none}
.g-invitation-heading h2{font-size:clamp(25px,2.7vw,42px)}
.g-invitation-heading .g-hand{font-size:clamp(34px,3.8vw,54px);margin-top:12px;margin-right:5%}
.g-centered-copy{font-size:18px;line-height:1.5;max-width:760px;margin-top:35px}
.g-centered-copy p+p{margin-top:16px}
.g-audio-row{margin-top:36px;gap:45px;max-width:900px}
.g-audio-cover{max-height:220px}.g-play{width:64px;height:64px;font-size:24px}
.g-audio-note .g-hand{font-size:48px}.g-hand-arrow{height:80px}
/* A narrow invitation and an ink-style voice message, with no photo or callouts. */
.g-page #audio .g-invitation-heading,.g-page #audio .g-centered-copy,.g-page #audio .g-audio-row{width:100%;max-width:560px;margin-inline:auto}
.g-page #audio .g-invitation-heading{display:block;text-align:center}
.g-page #audio .g-invitation-heading h2{white-space:nowrap;text-wrap:nowrap;font-size:clamp(28px,3.55vw,52px)}
.g-page #audio .g-invitation-heading .g-hand:has(.g-brand-lettering){width:min(470px,100%);max-width:none;margin:28px auto 0;transform:rotate(-12deg)}
.g-page #audio .g-audio-row{display:block;margin-top:40px;margin-left:0;margin-right:auto}
.g-page #audio .g-voice-message{display:flex;align-items:center;gap:18px;padding:22px 26px;min-height:112px;max-height:none;aspect-ratio:auto;border:0;border-radius:0;overflow:visible;background:none;color:var(--g-blue);text-align:left}
.g-voice-outline{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.g-voice-play{position:relative;width:56px;height:56px;flex:none}
.g-voice-play>svg{position:absolute;inset:0;width:100%;height:100%}
.g-page #audio .g-play{position:absolute;inset:0;transform:none;width:100%;height:100%;font-size:22px;background:none;padding:0 0 0 3px}
.g-page #audio .g-voice-message[aria-pressed=true] .g-play{padding:0}
.g-voice-content{display:block;flex:1;min-width:0}
.g-voice-wave{position:relative;display:block;height:42px}
.g-voice-wave>svg{opacity:.3}
.g-voice-wave svg{display:block;width:100%;height:42px}
.g-voice-progress{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--voice-progress,0%)) 0 0)}
.g-voice-time{display:flex;justify-content:space-between;margin-top:6px;font:400 14px/1.2 var(--g-body);font-variant-numeric:tabular-nums}
.g-voice-message:hover .g-voice-play{opacity:.7}
@media(max-width:700px){.g-page #audio .g-invitation-heading h2{font-size:30px}.g-page #audio .g-invitation-heading .g-hand:has(.g-brand-lettering){width:min(300px,100%)}.g-page #audio .g-voice-message{padding:18px;gap:12px}.g-voice-play{width:46px;height:46px}}
.g-stories{padding-bottom:35px}.g-story-track{grid-auto-columns:clamp(220px,24vw,340px);gap:20px;padding-inline:var(--g-gutter);scroll-padding-left:var(--g-gutter)}
/* Inset landmark images on solid brand cards, inspired by Happiness breakdown. */
.g-page #stories{background:var(--g-beige);padding-block:64px}
.g-page #stories .g-story-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:26px;padding:0;overflow:visible;scroll-snap-type:none}
.g-page #stories .g-story-card{height:auto;min-width:0;display:flex;flex-direction:column;gap:22px;padding:26px;border-radius:30px;background:#f7c44b;color:var(--g-blue);text-decoration:none}
.g-page #stories .g-story-card:nth-child(2){background:#dfa9c1}
.g-page #stories .g-story-card:nth-child(3){background:var(--g-blue);color:var(--g-beige)}
.g-page #stories .g-story-card:nth-child(4){background:#d8c3e2}
.g-page #stories .g-story-card:nth-child(5){background:#fffdf7}
.g-page #stories .g-story-card:after{display:none}
.g-page #stories .g-story-image{position:relative;inset:auto;padding:0;aspect-ratio:4/3;overflow:hidden;border-radius:8px;background:transparent}
.g-page #stories .g-story-image img{display:block;position:absolute;width:100%;height:100%;max-width:none;inset:0;object-fit:cover;transition:transform .35s ease}
.g-page #stories .g-story-image-metropol img{object-position:50% 0%}
.g-page #stories .g-story-image-postcard img{width:128%;height:128%;inset:-14%;object-position:center}
.g-page #stories .g-story-card h3{margin:0;font:600 clamp(22px,2.1vw,30px)/1.15 var(--g-heading);letter-spacing:-.035em}
.g-page #stories .g-story-card:hover h3{text-decoration:underline;text-underline-offset:5px}
.g-page.g-readable #stories .g-story-card{background:#fff;color:#000;border:2px solid #000}
@media(max-width:1000px){.g-page #stories .g-story-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:600px){.g-page #stories{padding-block:44px}.g-page #stories .g-story-track{grid-template-columns:1fr}.g-page #stories .g-story-card{padding:22px;gap:18px;border-radius:26px}}
.g-story-card{height:clamp(310px,48svh,460px);border-radius:24px}
.g-story-card>div{padding:22px}.g-story-card h3{font-size:28px}.g-story-card p{font-size:16px}
/* Crop the printed border, captions and corner marks; retain only the artwork. */
.g-story-card>img{width:145%;height:145%;max-width:none;position:absolute;left:-22.5%;top:-22.5%;object-fit:cover}
.g-story-card:nth-child(4)>img{width:100%;height:100%;left:0;top:0}
.g-breathe{gap:55px;padding-block:45px;align-items:center}
.g-breathe .g-photo-pair{margin-top:24px;margin-bottom:65px}
.g-breathe .g-photo-person{left:12%;right:auto;top:-24px;width:34%!important;height:auto!important;aspect-ratio:1;object-position:50% 45%}
.g-breathe .g-photo-landscape{left:4%;width:96%;height:79%;bottom:-65px;object-position:50% 42%}
.g-breathe .g-photo-person,.g-breathe .g-photo-landscape{transform:translate3d(0,var(--breathe-shift,0px),0)}
.g-breathe-copy .g-hand{font-size:clamp(35px,4.4vw,62px);margin:0 0 25px;white-space:nowrap}
.g-breathe-copy>p{font-size:18px;line-height:1.5}.g-breathe-copy>p+p{margin-top:16px}
/* Brand lettering is assembled from the supplied original vector outlines. */
.g-page .g-brand-lettering{display:block;width:100%;height:auto;object-fit:contain;margin-inline:auto}
.g-page .g-lettering-text{display:none}
.g-page .g-hand:has(.g-brand-lettering){line-height:1;white-space:normal}
.g-page .g-brand-lettering-beauty{max-width:370px}
.g-page .g-brand-lettering-stories{max-width:470px}
.g-page #watercolor-blue>img{filter:url(#digital-blue-paper-key);mix-blend-mode:normal}
.g-page .g-interlude:has(#watercolor-blue) .g-postcards>.g-hand{position:relative;z-index:3;transform:translate(var(--stories-x,0px),var(--stories-y,0px)) rotate(-8deg)}
.g-page #watercolor-blue>.g-hand{transform:translateX(var(--beauty-x,0px)) rotate(-8deg)}
.g-page .g-invitation-heading .g-hand:has(.g-brand-lettering){width:min(560px,95%)}
.g-page .g-brand-lettering-listen{max-width:250px}
.g-page .g-brand-lettering-breathe{max-width:530px}
.g-page .g-finale-copy .g-hand:has(.g-brand-lettering){width:min(100%,480px)}
.g-page .g-love-stamp>span{inset:39px 25px auto}
.g-page .g-love-stamp .g-brand-lettering{width:125px;max-height:98px}
.g-page.g-readable .g-brand-lettering{display:none}
.g-page.g-readable .g-lettering-text{display:inline;position:static;font:inherit}
@media(max-width:700px){.g-page .g-brand-lettering-beauty{max-width:245px}.g-page .g-brand-lettering-stories{max-width:300px}.g-page .g-brand-lettering-listen{max-width:180px}}
.g-routes-intro{font-size:18px;max-width:900px;margin-top:22px!important}
.g-route-grid{margin-top:28px;gap:24px}
.g-route-image{height:auto;aspect-ratio:4/5;border-radius:24px}
.g-page .g-finale-copy .g-finale-brand{width:min(100%,390px);display:grid;justify-items:center;gap:24px}
.g-page .g-finale-brand .g-finale-logo{display:block;width:210px;height:auto}
.g-page .g-finale-brand .g-hand{width:100%;margin:0}
.g-page .g-finale .g-watercolor-purple.g-digital-art>img{filter:none;mix-blend-mode:darken}
.g-route-awaiting{height:68px;background:transparent;border-radius:0}
.g-route-image>span{left:18px;top:18px;font-size:18px;padding:11px 22px}
.g-route-awaiting>span{left:0;top:5px;background:var(--g-blue);color:var(--g-beige)}
.g-route-card h3{font-size:22px;margin:15px 0 10px}.g-route-card p{font-size:16px}
.g-page .g-routes .g-route-card h3{font:600 clamp(21px,1.85vw,28px)/1.12 var(--g-heading);letter-spacing:-.035em;margin:15px 0 9px}
.g-page .g-routes .g-route-card p{font:400 16px/1.35 var(--g-body);margin:0}
.g-page .g-routes .g-route-image>span{font:600 14px/1.3 var(--g-body);letter-spacing:.04em;text-transform:uppercase}
.g-finale{padding-block:35px 65px}.g-finale .g-drawing>img{max-height:340px;object-fit:contain}
.g-finale-copy .g-hand{font-size:50px}.g-love-stamp{width:180px;height:180px;margin-top:28px}.g-love-stamp span{font-size:30px;top:42px}
/* Scroll chapters: sticky composition, three postcards, then normal page flow. */
.g-scroll-chapter{position:relative;height:240svh}
.g-scroll-chapter>.g-interlude{position:sticky;top:0;min-height:100svh;height:100svh;padding-block:35px;gap:50px;overflow:visible}
.g-scroll-chapter .g-drawing>img{max-height:52svh;width:100%;object-fit:contain}
.g-scroll-chapter .g-drawing .g-hand,.g-scroll-chapter .g-postcards>.g-hand{font-size:clamp(30px,3.2vw,48px);margin:14px 0 30px}
.g-scroll-chapter .g-stack{height:clamp(240px,41svh,370px);max-width:530px}
.g-scroll-chapter .g-postcard{height:85%;width:88%;left:3%;top:8%;transform-origin:94% 5%;transition:none}
.g-scroll-chapter .g-pin{left:auto;right:5%;top:3%;width:43px;transform:rotate(12deg)}
.g-scroll-chapter .g-stack-next{display:none}
.g-scroll-chapter.is-static{height:auto}.g-scroll-chapter.is-static>.g-interlude{position:relative;height:auto;min-height:0;padding-block:50px}
.g-scroll-chapter.is-static .g-stack-next{display:block}
@media(min-width:701px){.g-heading-row h2,.g-routes>h2{white-space:nowrap}}
@media(max-width:700px){
 .g-header{height:66px}
 .g-header .g-logo{gap:10px}.g-header .g-logo img{width:96px}.g-header .g-logo span{font-size:12px}
 .g-header .g-burger{width:44px;height:44px}
 .g-intro .g-photo-landscape{bottom:-30px}
 .g-video{height:55svh;min-height:0;max-height:520px}
 .g-page h2{font-size:30px}.g-space{padding-block:36px}
 .g-intro{grid-template-columns:1fr;padding-top:25px;padding-bottom:60px;gap:24px}.g-intro h1{font-size:clamp(38px,9vw,52px);max-width:520px}
 .g-intro .g-photo-pair{margin-top:0}.g-photo-pair{height:280px}
 .g-cities .city-track{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72vw;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory}
 .g-cities .city-card{padding:14px}.g-cities .city-card img{height:230px}.g-cities .city-card h3{font-size:25px}.g-cities .city-card p{font-size:29px}
 .g-invitation-heading h2{font-size:27px}.g-centered-copy{font-size:17px;margin-top:25px}.g-audio-row{grid-template-columns:1fr;gap:15px;margin-top:25px}
 .g-story-track{grid-auto-columns:76vw}.g-story-card{height:380px}.g-stories .g-heading-row h2{font-size:28px}
 .g-breathe{grid-template-columns:1fr;gap:32px}.g-breathe-copy .g-hand{font-size:42px}.g-breathe-copy>p{font-size:17px}
 .g-breathe .g-photo-pair{margin-bottom:48px}.g-breathe .g-photo-landscape{bottom:-30px}
 .g-page .g-routes .g-route-card h3{font-size:21px}.g-page .g-routes .g-route-card p{font-size:14px}
 .g-routes-intro{font-size:17px}.g-route-grid{gap:12px}.g-route-card h3{font-size:16px}.g-route-card p{font-size:14px}.g-route-image>span{font-size:14px;padding:9px 14px}
 .g-scroll-chapter>.g-interlude{grid-template-columns:1fr;gap:12px;padding-block:22px;align-content:center}
 .g-scroll-chapter .g-drawing>img{max-height:25svh}.g-scroll-chapter .g-drawing .g-hand,.g-scroll-chapter .g-postcards>.g-hand{font-size:27px;margin:8px 0 15px}
 .g-scroll-chapter .g-stack{height:29svh;max-width:370px;width:85%}.g-scroll-chapter .g-pin{width:33px;right:5%}
 .g-finale{gap:30px}.g-finale-copy .g-hand{font-size:40px}
}
.g-readable .g-scroll-chapter{height:auto}.g-readable .g-scroll-chapter>.g-interlude{position:relative;height:auto;min-height:0}
.g-readable .g-scroll-chapter .g-stack-next{display:block}

/* Both postcard piles are held on screen while native scrolling drives each turn. */
.g-page .g-scroll-chapter .g-stack{height:auto;aspect-ratio:1.25;min-height:0}
.g-page .g-scroll-chapter .g-postcard{height:auto;max-height:none;aspect-ratio:auto 1.41;object-fit:contain}
.g-scroll-chapter{height:260svh}
/* Clip decorative overflow at the viewport without a scroll container that breaks sticky. */
html:has(body.g-page){max-width:100%;overflow-x:clip}
body.g-page{width:100%;max-width:100%}
.g-scroll-chapter .g-postcard{left:3%;top:8%;transform-origin:100% 0;will-change:transform,opacity}
.g-scroll-chapter .g-pin{right:9%;top:8%;transform:translate(50%,-50%) rotate(12deg)}
@media(max-height:500px) and (min-width:701px){
 .g-scroll-chapter>.g-interlude{padding-block:12px;gap:30px}
 .g-scroll-chapter .g-stack{height:60svh;min-height:0}
 .g-scroll-chapter .g-postcards>.g-hand,.g-scroll-chapter .g-drawing .g-hand{font-size:26px;margin:4px 0 12px}
}

/* The three approved illustrations share one enlarged display frame. */
.g-page .g-interlude .g-watercolor-orange.g-digital-art>img{transform:scale(1.2);transform-origin:center}
.g-page .g-interlude .g-digital-art>img,
.g-page .g-finale .g-digital-art>img{width:130%;max-width:130%;height:min(67.6svh,640px);max-height:none;margin:0 -15% 20px;object-fit:contain}
@media(max-width:700px){
 .g-page .g-interlude .g-digital-art>img,
 .g-page .g-finale .g-digital-art>img{width:100%;max-width:100%;height:32.5svh;margin:0 auto 16px}
}
