.gallery-heading{text-align:center;margin:0 0 22px}.gallery-heading h2{font-size:42px;margin-top:12px}.gallery-heading .eyebrow{font-size:8px}#stage{position:relative;height:470px;max-width:1100px;margin:auto;perspective:1200px;touch-action:pan-y;user-select:none;-webkit-user-select:none;outline-offset:8px}.cards{height:100%;transform-style:preserve-3d}.card{position:absolute;left:50%;top:12px;width:330px;height:425px;margin-left:-165px;overflow:hidden;border-radius:18px;border:1px solid #edece530;background:#12222b;box-shadow:0 24px 55px #0007;transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .65s,opacity .65s;will-change:transform;backface-visibility:hidden;transform-style:preserve-3d}.card img{width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none}.card[data-card="0"] img{object-position:center 25%}.card[data-card="1"] img{object-position:center center}.card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#07111900 20%,#07111922 45%,#071119ed 100%);pointer-events:none}.card-copy{position:absolute;bottom:28px;left:26px;right:22px;z-index:2}.card h3{font-family:var(--serif);font-size:48px;font-weight:400;margin:10px 0 16px}.card .eyebrow{font-size:7px;line-height:1.6}.card button{min-height:44px;font-size:11px;letter-spacing:.5px;border-bottom:1px solid #b9d5e270;padding:5px 0;display:flex;gap:38px;align-items:center}.card.active{z-index:3;transform:translateX(0) translateZ(60px);filter:brightness(1);opacity:1}.card.before{z-index:1;transform:translateX(-69%) translateZ(-115px) rotateY(32deg);filter:brightness(.55);opacity:.88}.card.after{z-index:1;transform:translateX(69%) translateZ(-115px) rotateY(-32deg);filter:brightness(.55);opacity:.88}.reduce-motion .card{transition:none}@media(prefers-reduced-motion:reduce){.card{transition:none}}@media(max-width:650px){.gallery-heading{margin:0 0 12px}.gallery-heading h2{font-size:32px}.gallery-heading .eyebrow{display:none}#stage{height:390px;perspective:900px;margin:0 -20px;overflow:hidden}.card{width:255px;height:345px;margin-left:-127.5px;top:22px;border-radius:15px}.card.active{transform:translateZ(30px)}.card.before{transform:translateX(-65%) translateZ(-120px) rotateY(35deg)}.card.after{transform:translateX(65%) translateZ(-120px) rotateY(-35deg)}.card-copy{bottom:20px;left:20px}.card h3{font-size:38px;margin:8px 0 10px}.card button{font-size:10px}}#stage{height:440px}.card{height:395px}@media(max-width:650px){#stage{height:390px}.card{height:345px}}.card img.slide-in{position:absolute;inset:0;opacity:0;transition:opacity 1.8s ease}.card img.slide-in.visible{opacity:1}@media(prefers-reduced-motion:reduce){.card img.slide-in{transition:none}}.card .slide-control{min-height:30px;font-size:9px;border:0;margin-top:4px;padding:0;color:#b7cbd6}.card img.slide-in{z-index:0}.card-copy{z-index:2}.card{box-shadow:0 24px 55px #0009,inset 0 1px 0 #edece55c}.card:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 28px #06131c38,inset 1px 0 0 #edece540,inset -1px 0 0 #07131eaa;background:linear-gradient(130deg,#edece514 0%,transparent 27%,transparent 76%,#09172222 100%)}.card:after{background:linear-gradient(90deg,#04111b30,transparent 23%,transparent 79%,#04111b38),linear-gradient(180deg,#07111906 16%,#07111908 45%,#071119ef 100%)}.card .slide-control{position:absolute;top:12px;right:12px;z-index:3;min-height:32px;margin:0;padding:0 10px;border:1px solid #edece522;border-radius:16px;background:#07131b90;color:#edece5;font-size:8px;backdrop-filter:blur(8px)}.card[data-card="2"] img{object-position:center center}.card .card-hit{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer;border-radius:inherit}.card .card-hit:focus-visible{outline:2px solid #c0dcea;outline-offset:-5px}.card-copy{pointer-events:none;z-index:3}.card h3{margin:0}.card .slide-control{z-index:4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cards{pointer-events:none}.card{pointer-events:auto;transform-style:flat}.card.behind{opacity:0;visibility:hidden;pointer-events:none;transform:translateZ(-260px) scale(.8);z-index:0}.journal-card{background:radial-gradient(ellipse at 35% 20%,#24404d,#07131f 80%)}.journal-card img{opacity:.3;object-fit:cover}.journal-card h3{font-family:'Parisienne','Cormorant Garamond',Georgia,serif;color:#b8d7e9;font-size:59px;font-style:italic}@media(max-width:650px){.journal-card h3{font-size:48px}}.journal-card img{opacity:1;object-fit:cover;object-position:center 35%}.journal-card .slide-in:not(.visible){opacity:0}.journal-card h3{text-shadow:0 2px 22px #02070e}.card h3{font-family:'Parisienne','Cormorant Garamond',Georgia,serif;font-style:italic;font-size:55px;line-height:1.15;font-weight:400;color:#edece5;text-shadow:0 2px 22px #02070e}.journal-card h3{color:#b8d7e9}@media(max-width:650px){.card h3{font-size:43px;line-height:1.2}}
#gallery{padding:30px 6vw 45px;min-height:calc(100svh - 100px);background:radial-gradient(ellipse at 50% 35%,#18313c 0,#08121d 70%)}#gallery .quiet,#social-back{min-height:44px;font-size:11px;color:#afc2ce}#socials{max-width:1050px;margin:auto;padding:25px 6vw 65px}.social-layout{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center;margin-top:28px}.social-layout img{width:100%;height:440px;object-fit:cover;border-radius:16px}.social-layout h2{font:60px 'Parisienne',Georgia,serif;color:#edece5}.social-links{display:flex;flex-direction:column;gap:20px;margin-top:32px}.social-links a{display:block;padding:18px 0;border-bottom:1px solid #b8d7e945;color:#edece5;font-size:20px}.social-links .pending{color:#91a3b5;font-size:13px}.social-layout p{color:#b7c8d2;line-height:1.8}.card.social-card img{object-position:center 30%}@media(max-width:650px){#gallery{padding:12px 20px 35px}.social-layout{grid-template-columns:1fr;gap:28px}.social-layout img{height:300px}.social-layout h2{font-size:48px}}

.social-links a,.contact-pending{display:flex;align-items:center;gap:18px;padding:15px 0;color:#edece5;border-bottom:1px solid #b8d7e92b;font-size:16px}.social-links svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round}.social-links .filled{fill:currentColor;stroke:none}.contact-pending{color:#91a3b5}.social-links .pending{font-size:11px;margin-top:0}.social-card h3{font-size:46px}@media(max-width:650px){.social-card h3{font-size:35px}}

/* Phone refinement: one quiet carousel, generous contact title. */
#gallery{padding-top:52px}.social-card h3{font-size:55px;line-height:1.08;max-width:240px}.social-layout h2{font-size:68px;line-height:1.1}@media(max-width:650px){#gallery{padding-top:42px}.social-card h3{font-size:46px;max-width:205px;line-height:1.1}.social-layout h2{font-size:60px}.social-layout{margin-top:20px}}

/* Four worlds: viewport-contained gallery; chapters and reading pages remain scrollable. */
#gallery{height:calc(100svh - 110px);min-height:0;box-sizing:border-box;padding:12px 6vw 78px;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center}
#gallery::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/assets/menu-engraving.svg') center/cover no-repeat;opacity:.065}
#gallery #stage{height:100%;max-height:440px;width:100%;margin:0;flex:none}.card{--card-h:min(395px,calc(100svh - 230px));height:var(--card-h);top:calc(50% - var(--card-h)/2)}
.world-contact{position:absolute;right:6vw;bottom:max(19px,env(safe-area-inset-bottom));min-height:44px;display:flex;align-items:center;gap:11px;color:#edece5;font-size:15px;letter-spacing:.02em;padding:8px 2px;border-bottom:1px solid #b8d7e933}.world-contact svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}.world-contact:hover{color:#edece5}
.menu-contact{display:block;font-family:Parisienne,Georgia,serif;font-size:30px;color:#edece5;min-height:44px;margin:8px 0 13px;padding:4px 0;text-align:left}
@media(max-width:650px){#gallery{height:calc(100svh - 86px);padding:8px 0 76px}#gallery #stage{max-height:390px}.card{--card-h:min(345px,calc(100svh - 220px));width:min(255px,calc((100svh - 220px)*.739));margin-left:calc(min(255px,calc((100svh - 220px)*.739))/-2)}.world-contact{right:25px;font-size:15px;bottom:max(17px,env(safe-area-inset-bottom))}}

/* Restore the owner's invitation without reintroducing excess page height. */
#gallery{padding-top:65px}.world-invitation{position:absolute;top:12px;left:0;right:0;text-align:center;margin:0;font-family:var(--serif);font-size:38px;font-weight:400;line-height:1.15;color:#edece5}
@media(max-width:650px){#gallery{padding-top:62px}.world-invitation{top:13px;font-size:31px}.card{--card-h:min(345px,calc(100svh - 252px));width:min(255px,calc((100svh - 252px)*.739));margin-left:calc(min(255px,calc((100svh - 252px)*.739))/-2)}}

.entrance-contact{z-index:8;bottom:max(20px,env(safe-area-inset-bottom));right:6vw;background:transparent;text-shadow:0 1px 12px #000;font-size:13px}@media(max-width:650px){.entrance-contact{right:25px;bottom:max(15px,env(safe-area-inset-bottom));font-size:13px}.photo-caption{bottom:max(78px,calc(env(safe-area-inset-bottom) + 62px))}}
/* Supporting invitation echoes the understated wordmark, not article typography. */
.world-invitation{font-family:'DM Sans',sans-serif;font-size:20px;font-weight:400;letter-spacing:.16em;line-height:1.4;top:17px}@media(max-width:650px){.world-invitation{font-size:16px;letter-spacing:.13em;top:18px}}
/* Owner-approved invitation adjustment: slightly larger, lower, same layout. */
.world-invitation{font-size:22px;top:27px}@media(max-width:650px){.world-invitation{font-size:18px;top:28px}}
/* Desktop-only breathing room. Phone composition remains unchanged. */
@media(min-width:901px){
 #gallery{padding-left:4vw;padding-right:4vw;padding-bottom:100px}
 #gallery #stage{max-width:1440px;max-height:560px;perspective:1500px}
 .card{--card-h:min(525px,calc(100svh - 285px));--card-w:min(440px,29vw,calc(var(--card-h)*.84));width:var(--card-w);height:var(--card-h);margin-left:calc(var(--card-w)/-2)}
 .card.before{transform:translateX(-83%) translateZ(-100px) rotateY(24deg)}
 .card.after{transform:translateX(83%) translateZ(-100px) rotateY(-24deg)}
 .world-contact{right:5vw;bottom:max(64px,env(safe-area-inset-bottom))}
}
@media(min-width:651px) and (max-width:900px){.card.before{transform:translateX(-75%) translateZ(-115px) rotateY(28deg)}.card.after{transform:translateX(75%) translateZ(-115px) rotateY(-28deg)}}
/* Narrow entrance: restore breathing room below the supporting sentence. */
@media(max-width:650px){.photo-caption{bottom:max(62px,calc(env(safe-area-inset-bottom) + 46px))}}
/* Supporting sentence shares the invitation's refined sans-serif voice. */
.threshold-copy>p{font-family:'DM Sans',sans-serif;font-weight:400;font-size:14px;letter-spacing:.08em;line-height:1.5}@media(max-width:650px){.threshold-copy>p{font-size:12px;letter-spacing:.06em}}
/* Size the entrance to the available viewport, not a fixed minimum canvas. */
.entrance{height:100svh;height:100dvh;min-height:0}
@media(max-width:650px) and (max-height:560px){.threshold-copy h1{font-size:clamp(32px,8vh,44px);margin:12px 0}.threshold-copy{bottom:110px}.photo-caption{bottom:max(30px,calc(env(safe-area-inset-bottom) + 18px))}}
@media(min-width:651px) and (max-height:560px){.threshold-copy h1{font-size:clamp(38px,10vh,60px);margin:14px 0}.threshold-copy{bottom:12vh}}
/* Contact anchors the world to the same left margin as the wordmark. */
#world-contact{left:6vw;right:auto;padding-left:0;padding-right:0}
@media(max-width:650px){#world-contact{left:25px}}
/* Small vertical refinements requested in the owner's placement screenshots. */
.topbar .brand{transform:translateY(8px)}
#world-contact{bottom:max(9px,env(safe-area-inset-bottom))}
@media(min-width:901px){#world-contact{bottom:max(52px,env(safe-area-inset-bottom))}}
@media(max-width:650px){#world-contact{bottom:max(9px,env(safe-area-inset-bottom))}}
.topbar .menu-toggle{top:8px}
/* Keep the invitation clear of the header and give the desktop cards air below it. */
@media(min-width:901px){#gallery #stage{transform:translateY(10px)}}
@media(min-width:651px) and (max-width:900px){#gallery #stage{transform:translateY(8px)}}

/* A clear, quiet next step before social discovery. */
.contact-concierge{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;padding:7px 0;color:#b8d7e9;font-size:15px;letter-spacing:.025em;text-decoration:none;border-bottom:1px solid #b8d7e960}.contact-concierge:hover{color:#edece5;border-color:currentColor}.contact-concierge:focus-visible{outline:1px solid #b8d7e9;outline-offset:6px}

/* Fine accessible slideshow control; no visible utility pill. */
.card .slide-control{width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:transparent;backdrop-filter:none;box-shadow:none;color:#edece5}.card .slide-control svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.1;stroke-linecap:round;filter:drop-shadow(0 1px 2px #000a)}.card .slide-control:focus-visible{outline:1px solid #b8d7e9;outline-offset:1px}
