/* Full-bleed album cover. Content markers remain owned by the album editor. */
#photo-site-header{position:absolute;inset:0 0 auto;z-index:40;background:transparent!important;backdrop-filter:none;border:0;padding:28px clamp(24px,4.5vw,88px);color:white;transition:padding .3s}
#photo-site-header>div{max-width:none;flex-direction:row;gap:20px}
#photo-site-header nav{gap:32px}
#photo-site-header nav>*{margin:0;font-size:14px;letter-spacing:.12em;padding-block:10px;text-shadow:0 1px 12px #0005}
#photo-site-header.is-past-cover{position:fixed;background:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none;padding-block:12px;border-bottom:1px solid transparent;box-shadow:none}
#normalHero .photo-cover{position:relative;isolation:isolate;height:100vh;height:100svh;min-height:620px;width:100%;overflow:hidden;background:#363c40;color:#fff}
#normalHero .photo-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;z-index:-2}
#normalHero .photo-cover-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#080e182e 0%,transparent 30%,#080e1810 43%,#060c145c 72%,#060b13ba 100%),linear-gradient(90deg,#050b132e,transparent 70%)}
#normalHero .photo-cover-copy{position:absolute;left:clamp(24px,6vw,116px);bottom:clamp(130px,17vh,180px);max-width:min(620px,calc(100% - 48px));text-shadow:0 2px 24px #0002}
#normalHero .photo-cover-tag{display:block;font-size:clamp(14px,1vw,17px);letter-spacing:.25em;color:#ffffffe0;margin-bottom:22px}
#normalHero h1{font-size:clamp(36px,4.3vw,76px);font-weight:400;line-height:1.25;letter-spacing:.08em;color:white;margin:0 0 25px;text-wrap:balance}
#normalHero .photo-cover-quote{max-width:520px;font-size:clamp(16px,1.1vw,20px);font-weight:300;line-height:1.95;letter-spacing:.1em;color:#ffffffc9;margin:0;text-wrap:pretty}
#normalHero .photo-cover-footer{position:absolute;bottom:38px;left:clamp(24px,6vw,116px);right:clamp(24px,6vw,116px);display:flex;align-items:flex-end;justify-content:space-between;gap:24px;border-top:1px solid #ffffff3b;padding-top:20px}
#normalHero .photo-cover-caption{display:flex;gap:24px;font-size:clamp(12px,.8vw,14px);letter-spacing:.1em;color:#ffffffc9;line-height:1.6}
#normalHero .photo-cover-caption [data-admin=hero-gear]{font-family:ui-monospace,monospace;letter-spacing:.02em}
#normalHero .photo-cover-explore{display:flex;gap:25px;align-items:center;color:#fff;font-family:inherit;font-size:14px;line-height:1.6;letter-spacing:.14em;cursor:pointer;white-space:nowrap;background:transparent;border:0;padding:6px 0}
#normalHero .photo-cover-explore>span:last-child{font-family:Arial,sans-serif;font-size:24px;transition:transform .2s}
#normalHero .photo-cover-explore:hover>span:last-child{transform:translateY(4px)}
#photo-site-header button:focus-visible,#normalHero button:focus-visible{outline:1px solid white;outline-offset:6px}
body.photo-birthday-cover #photo-site-header{position:sticky;background:#101112!important}
@media(min-width:1600px){#normalHero .photo-cover-copy{bottom:19vh}}
@media(max-width:767px){
 #photo-site-header{padding:18px 22px}#photo-site-header>div{gap:12px}#photo-site-header nav{gap:15px;white-space:nowrap}#photo-site-header nav>*{font-size:12px;letter-spacing:.03em}#photo-site-header .photo-brand-account{gap:8px}#photo-site-header .photo-header-identity{display:none!important}
 #normalHero .photo-cover{min-height:600px}#normalHero .photo-cover-image{object-position:53% center}
 #normalHero .photo-cover-copy{left:26px;bottom:155px;max-width:calc(100% - 52px)}#normalHero .photo-cover-tag{font-size:12px;margin-bottom:18px;letter-spacing:.2em}#normalHero h1{font-size:clamp(30px,7.6vw,48px);letter-spacing:.04em;margin-bottom:18px}#normalHero .photo-cover-quote{font-size:14px;line-height:1.95;max-width:340px;letter-spacing:.06em}
 #normalHero .photo-cover-footer{left:26px;right:26px;bottom:max(24px,env(safe-area-inset-bottom));padding-top:18px;gap:14px}#normalHero .photo-cover-caption{flex-direction:column;gap:6px;font-size:11px}#normalHero .photo-cover-explore{font-size:12px;gap:12px}
}
@media(max-width:359px){#photo-site-header nav{gap:10px}#photo-site-header{padding-inline:16px}}
@media(max-height:600px) and (min-width:768px){#normalHero .photo-cover{min-height:480px}#normalHero .photo-cover-copy{bottom:110px}#normalHero h1{font-size:38px;margin-bottom:14px}#normalHero .photo-cover-tag{margin-bottom:12px}#normalHero .photo-cover-footer{bottom:20px}}
@media(prefers-reduced-motion:reduce){#photo-site-header,#normalHero *{transition:none!important}}


/* Shared with the main site's menu: a full-width surface, then staggered text. */
#photo-site-header .photo-menu{position:static;margin-left:auto}
#photo-site-header .photo-menu summary{position:relative;list-style:none;display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:8px 0;cursor:pointer;user-select:none;color:#ffffffe6}
#photo-site-header .photo-menu summary::-webkit-details-marker{display:none}
#photo-site-header .photo-menu summary:focus-visible{outline:1px solid #fff;outline-offset:5px;border-radius:3px}
.photo-menu-icon{width:24px;height:24px;overflow:visible}
.photo-menu-stroke{stroke:currentColor;stroke-width:1.6;stroke-linecap:round;transition:transform 120ms cubic-bezier(.4,0,.6,1)}
.photo-menu-shift{transition:transform 120ms cubic-bezier(.4,0,.6,1) 120ms}
.photo-menu-stroke-top{transform-origin:10px 7px}.photo-menu-stroke-bottom{transform-origin:10px 13px}
.photo-menu.is-menu-open .photo-menu-shift-top{transform:translateY(3px)}.photo-menu.is-menu-open .photo-menu-shift-bottom{transform:translateY(-3px)}
.photo-menu.is-menu-open .photo-menu-shift{transition-delay:0s}.photo-menu.is-menu-open .photo-menu-stroke{transition-delay:120ms}
.photo-menu.is-menu-open .photo-menu-stroke-top{transform:rotate(45deg)}.photo-menu.is-menu-open .photo-menu-stroke-bottom{transform:rotate(-45deg)}
#photo-site-header.is-menu-open{position:fixed;background:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:transparent;box-shadow:none;transition:none}
#photo-site-header .photo-menu nav{position:absolute;top:100%;left:clamp(24px,4.5vw,88px);right:clamp(24px,4.5vw,88px);width:auto;max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px 0;background:transparent;border:0;border-radius:0;box-shadow:none;visibility:hidden;pointer-events:none;transition:visibility 0s linear 540ms}
#photo-site-header .photo-menu.is-menu-open nav{visibility:visible;pointer-events:auto;transition:visibility 0s}
#photo-site-header .photo-menu:not([open]) nav{display:none}
#photo-site-header .photo-menu nav>button{width:100%;min-height:56px;margin:0;padding:12px;text-align:right;font-size:clamp(22px,1.6vw,28px);font-weight:500;letter-spacing:.06em;border:0;color:#ffffffd9;text-shadow:none;opacity:0;transform:translateY(-4px);transition:opacity 200ms cubic-bezier(.4,0,.6,1),transform 240ms cubic-bezier(.4,0,.6,1)}
#photo-site-header .photo-menu.is-menu-open nav>button{opacity:1;transform:translateY(0);transition-duration:240ms;transition-delay:calc(420ms + var(--menu-order,0)*20ms)}
#photo-site-header .photo-menu nav>button:nth-child(2){--menu-order:1}#photo-site-header .photo-menu nav>button:nth-child(3){--menu-order:2}#photo-site-header .photo-menu nav>button:nth-child(4){--menu-order:3}#photo-site-header .photo-menu nav>button:nth-child(5){--menu-order:4}
#photo-site-header .photo-menu nav>button:hover{color:#fff}
.photo-nav-surface{position:fixed;inset:0 0 auto;height:var(--photo-menu-start,0px);z-index:39;box-sizing:border-box;visibility:hidden;overflow:hidden;pointer-events:none;background:rgba(22,22,23,.86);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid transparent;transition:height 420ms cubic-bezier(.4,0,.6,1) 120ms,background-color 280ms ease,border-color 120ms linear 420ms,visibility 0s linear 540ms}
/* Keep the same backdrop layer alive as the collapsed glass bar: no material swap. */
.photo-glass-bar .photo-nav-surface{visibility:visible;background:rgba(22,22,23,.72);border-bottom-color:#ffffff17;transition-delay:120ms,0s,420ms,0s}
.photo-nav-open .photo-nav-surface{visibility:visible;height:var(--photo-menu-height);background:rgba(22,22,23,.86);border-bottom-color:#ffffff18;transition-delay:0s}
.photo-nav-curtain{position:fixed;inset:0;z-index:38;background:#0000000f;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity 320ms cubic-bezier(.4,0,.6,1) 80ms,visibility 0s linear 540ms}
.photo-nav-open .photo-nav-curtain{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms,0s}
@media(max-width:767px){#photo-site-header .photo-menu nav{left:22px;right:22px}#photo-site-header .photo-menu nav>button{font-size:22px;min-height:54px}}
@media(prefers-reduced-motion:reduce){.photo-nav-surface,.photo-nav-curtain,.photo-menu-stroke,.photo-menu-shift{transition:none!important}}

#about-section .photo-find-me{display:inline-flex;align-items:center;gap:16px;width:fit-content;min-height:44px;padding:8px 0;color:inherit;font-size:16px;letter-spacing:.12em;line-height:1.6;text-decoration:none;border-bottom:1px solid currentColor;transition:opacity .2s}
#about-section .photo-find-me svg{flex:none;transition:transform .2s}
#about-section .photo-find-me:hover{opacity:.7}#about-section .photo-find-me:hover svg{transform:translate(2px,-2px)}
#about-section .photo-find-me:focus-visible{outline:2px solid currentColor;outline-offset:6px}
@media(prefers-reduced-motion:reduce){#about-section .photo-find-me,#about-section .photo-find-me svg{transition:none}}

/* Straight edges for the photography guestbook detail and reply controls. */
#messageModal :is(#modalMainCard,#modalReplies>div,#modalReplyForm,input,textarea,button,.roy-rich-frame,.roy-rich-preview,blockquote,pre,code){border-radius:0!important}

/* Sidebar width, rather than viewport width, determines the composer layout. */
#guestbookForm :is(input,textarea,button,label,.roy-rich-frame,.roy-rich-preview),#guestbook-section .message-card,#guestbook-section .lg\:col-span-4{border-radius:0!important}
#guestbookForm .roy-rich-footer{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;padding:10px 12px 12px}
#guestbookForm .roy-rich-meta{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}
#guestbookForm .roy-rich-count{white-space:nowrap;flex:none;margin-left:0;font-variant-numeric:tabular-nums}
#guestbookForm .roy-rich-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;width:100%;min-width:0;margin:0}
#guestbookForm .roy-rich-hint{min-width:0;font-size:11px}

/* Album composers keep the count and their actual post/reply actions only. */
#guestbookForm .roy-rich-preview-toggle,#modalReplyForm .roy-rich-preview-toggle{display:none!important}
#guestbookForm .roy-rich-actions>button[type=submit]:not(:has([data-i18n="guestbook.submit"])){display:none!important}
#guestbookForm .roy-rich-actions:not(:has([data-i18n="guestbook.submit"])){display:none!important}

/* The bar and panel share one continuous glass surface while expanding and closing. */
#photo-site-header.is-past-cover.is-menu-open{background:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom-color:transparent}

/* Outside an active collapse, track the sticky bar without animating its height. */
.photo-glass-bar:not(.photo-nav-open):not(.photo-nav-closing) .photo-nav-surface{transition-property:background-color,border-color,visibility;transition-duration:280ms,120ms,0s;transition-delay:0s}
