:root {
  --pink: #ff4b91; --pink-light: #ff9ac1; --ink: #111110; --panel: #1b1b1a;
  --paper: #fff9f3; --muted: #bcb8b4; --line: #ffffff29;
  --display: 'Archivo Black', Arial, sans-serif; --body: 'DM Sans', Arial, sans-serif;
  --hand: 'Nothing You Could Do', cursive; --motion: 180ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pink-light); outline-offset: 5px; }
.wrap { max-width: 1320px; width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 90px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(32px, 4.2vw, 60px); }
h2 span { color: var(--pink); }
p { max-width: 44rem; }
.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; color: var(--pink-light); }
.small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 14px 24px; background: var(--pink); border: 1px solid var(--pink); color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 3px; transition: background var(--motion), transform var(--motion); }
.button:hover { background: var(--pink-light); border-color: var(--pink-light); }
.button:active { transform: translateY(1px); }
.button--small { padding: 10px 20px; min-height: 44px; font-size: 12px; }
.button--outline { color: var(--paper); background: transparent; border-color: #ffffff66; }
.button--outline:hover { background: #ffffff13; border-color: var(--paper); }
.button--light { background: var(--paper); border-color: var(--paper); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 20; background: var(--pink); color: var(--ink); padding: 12px; }
.skip-link:focus { top: 12px; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 3; background: linear-gradient(#111110b0, transparent); }
.header-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid #ffffff40; }
.brand { width: 85px; flex-shrink: 0; }
.header-inner nav { display: flex; gap: 32px; }
.header-inner nav a { font-size: 13px; text-decoration: none; padding-block: 14px; text-shadow: 0 1px 5px #000; }
.header-inner nav a:hover { color: var(--pink-light); }
.hero { position: relative; min-height: 760px; min-height: min(900px, 100svh); overflow: hidden; }
.hero-background, .hero-shade { position: absolute; width: 100%; height: 100%; inset: 0; }
.hero-background { object-fit: cover; object-position: center 58%; }
.hero-shade { background: linear-gradient(90deg,#111110eb 0%,#111110ae 32%,#11111012 72%), linear-gradient(0deg,#111110c4,transparent 35%); }
.hero-inner { position: relative; min-height: 760px; min-height: min(900px,100svh); display: flex; align-items: center; padding-block: 145px 75px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { font-size: 10px; letter-spacing: .12em; color: var(--paper); margin-bottom: 27px; }
.hero h1 { font-size: clamp(76px,8.7vw,130px); line-height: .91; letter-spacing: -.065em; }
.hero h1 span { color: var(--pink); }
.hero-script { font: 31px/1.3 var(--hand); color: var(--pink-light); margin-top: 17px; transform: rotate(-3deg); transform-origin: left; }
.hero .intro { font-size: 15px; line-height: 1.7; margin-block: 24px; color: #fff9f3e6; }
.hero .text-link { text-shadow: 0 1px 5px #000; }
.hero-guest { position: absolute; right: 25px; bottom: 80px; width: 255px; background: var(--pink); border: 7px solid var(--pink); box-shadow: 0 10px 30px #0004; transform: rotate(7deg); text-decoration: none; transition: transform var(--motion); }
.hero-guest:hover { transform: rotate(3deg); }
.hero-guest img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: 55% center; }
.hero-guest-label { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 10px; font-weight: 700; padding: 10px 5px 5px; }
.hero-credit { position: absolute; bottom: 22px; right: 0; font-size: 9px; color: #fffc; }
.edition-bar { background: var(--pink); color: var(--ink); padding: 17px 30px; overflow: hidden; }
.edition-bar>div { display: flex; align-items: center; justify-content: space-around; gap: 30px; max-width: 1350px; margin: auto; white-space: nowrap; font: 13px var(--display); letter-spacing: .02em; }
.edition-bar b { font-size: 24px; font-weight: 400; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading>p, .section-aside>p { font-size: 14px; color: var(--muted); }
.section-aside .text-link { margin-top: 8px; color: var(--pink-light); }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid #ffffff40; color: var(--paper); background: transparent; padding: 9px 20px; min-height: 44px; border-radius: 25px; font-size: 12px; }
.filters button[aria-pressed=true] { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.filters button:disabled, .rail-controls button:disabled { opacity: .5; cursor: default; }
#gallery-retry { margin-bottom: 20px; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff50; background: transparent; color: var(--paper); font-size: 20px; }
.rail-controls button:hover { background: #ffffff18; }
#gallery-status { margin-bottom: 18px; font-size: 11px; }
.moment-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, min(22vw,290px)); gap: 18px; padding: 0 max(48px,calc((100vw - 1320px)/2)) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--pink) var(--panel); scrollbar-width: thin; scroll-padding-inline: 48px; }
.moment-card { padding: 0; text-align: left; border: 0; color: var(--paper); background: none; min-width: 0; scroll-snap-align: start; }
.moment-card__media { display: block; position: relative; aspect-ratio: 3/4.5; background: var(--panel); overflow: hidden; border-radius: 7px; }
.moment-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.moment-card:hover .moment-card__media img { transform: scale(1.035); }
.moment-card__media:after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,#0007); pointer-events: none; }
.moment-card__badge { position: absolute; z-index: 1; top: 12px; left: 12px; border: 1px solid #fff6; background: #1118; padding: 5px 10px; border-radius: 20px; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.moment-card__play { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; font-size: 28px; text-shadow: 0 2px 15px #000; }
.moment-card__play:before { content: ''; width: 56px; height: 56px; border-radius: 50%; background: #1116; border: 1px solid #fff8; position: absolute; }
.moment-card__play span { position: relative; margin-left: 4px; }
.moment-card__caption { display: block; padding-top: 14px; font-size: 14px; font-weight: 500; }
.moment-card__credit { display: block; padding-top: 4px; color: var(--muted); font-size: 11px; }
.moment-card__story { display: flex; align-items: center; padding: 25px; height: 100%; font: 24px/1.5 var(--hand); }
.highlight-section { padding-block: 80px; background: #f8e7e9; color: var(--ink); }
.highlight-section .eyebrow { color: #9c1747; }
.highlight-section h2 span { color: #b81752; }
.highlight-section .handwritten { color: #9c1747; font: 28px var(--hand); transform: rotate(-4deg); }
.highlight-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 14px; }
.highlight-grid .moment-card { height: 100%; position: relative; }
.highlight-grid .moment-card:first-child { grid-row: span 2; }
.highlight-grid .moment-card:nth-child(4) { grid-column: span 2; }
.highlight-grid .moment-card__media { height: 100%; aspect-ratio: auto; border-radius: 2px; }
.highlight-grid .moment-card__caption { position: absolute; bottom: 18px; left: 18px; right: 18px; text-shadow: 0 1px 6px #000; font-size: 13px; }
.highlight-grid .moment-card__credit { display: none; }
.highlight-grid .moment-card__media:after { inset: 40% 0 0; }
.album-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.album-card { display: flex; flex-direction: column; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--panel); color: var(--paper); text-align: left; border-radius: 4px; overflow: hidden; }
.album-card:hover { border-color: var(--pink); }
.album-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 145px 145px; gap: 4px; }
.album-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.album-mosaic img:first-child { grid-row: span 2; }
.album-card__info { display: block; flex: 1; padding: 22px; }
.album-card__title { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.album-card__info p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.album-browser { padding-top: 55px; }
.album-browser-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.album-browser-heading h3 { font-size: 28px; margin-block: 7px; }
#album-close { gap: 8px; }
/* Bootstrap Icons x, served locally; license in assets/icons/. */
.bi-x { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; background: currentColor; -webkit-mask: url('/assets/icons/bootstrap-x.svg') center / contain no-repeat; mask: url('/assets/icons/bootstrap-x.svg') center / contain no-repeat; }
.album-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 16px; }
.album-grid .moment-card__media { aspect-ratio: 3/4; }
.album-grid .moment-card__caption { font-size: 11px; }
.album-grid .moment-card__credit { display: none; }
.load-more { margin: 32px auto 0; display: flex; }
.share-section { background: var(--pink); color: var(--ink); padding-block: 90px; overflow: hidden; }
.share-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; align-items: center; }
.share-collage { position: relative; padding: 12px 35px 25px 12px; }
.share-photo-main { width: 78%; aspect-ratio: 3/4; object-fit: cover; border: 8px solid var(--paper); transform: rotate(-6deg); box-shadow: 0 12px 30px #54182b33; }
.share-photo-small { position: absolute; right: -8px; bottom: 0; width: 45%; aspect-ratio: 3/4; object-fit: cover; border: 7px solid var(--paper); transform: rotate(9deg); box-shadow: 0 12px 30px #54182b33; }
.share-sticker { position: absolute; top: 10%; right: 0; padding: 20px; background: var(--ink); color: var(--pink-light); font: 24px/1.2 var(--hand); transform: rotate(9deg); }
.share-copy .eyebrow { color: var(--ink); }
.share-copy h2 { font-size: clamp(48px,6vw,82px); margin-block: 20px; }
.share-copy h2 span { color: var(--paper); text-shadow: 1px 1px 0 #ad2a5a; }
.share-intro { font-size: 19px; margin-bottom: 28px; }
.share-copy .button { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share-copy .button--outline { background: transparent; color: var(--ink); }
.share-copy .button:hover { background: #34232a; color: var(--paper); }
.share-note { font-size: 12px; margin-block: 24px 15px; max-width: 430px; }
.share-copy .small { color: #491428; font-size: 12px; }
.share-copy details { margin-top: 20px; border-top: 1px solid #1114; padding-top: 12px; font-size: 12px; }
.share-copy summary { cursor: pointer; min-height: 32px; }
.share-copy details p { padding-block: 12px; }
.stories-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding-block: 75px; }
.stories-section h2 { font-size: 40px; margin-top: 14px; }
#stories-content>p { color: var(--muted); max-width: 350px; }
#stories-content .text-link { color: var(--pink-light); margin-top: 14px; }
#stories-content blockquote { font: 25px/1.5 var(--hand); margin: 0; }
#stories-content figcaption { color: var(--muted); font-size: 12px; margin-top: 12px; }
.archive-section { position: relative; padding-block: 70px; overflow: hidden; }
.archive-section>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.archive-section:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#111d,#1114); }
.archive-copy { position: relative; z-index: 1; }
.archive-copy .eyebrow { color: var(--paper); }
.archive-copy h2 { font-size: 48px; margin-block: 20px 26px; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.newsletter h2 { font-size: 38px; margin-block: 16px; }
.newsletter p { font-size: 13px; color: var(--muted); }
.newsletter label { font-size: 12px; display: block; margin-bottom: 10px; }
.email-row { display: flex; gap: 8px; }
.email-row input { min-width: 0; flex: 1; background: var(--panel); border: 1px solid #ffffff50; color: var(--paper); padding: 14px; font-size: 16px; border-radius: 3px; }
.email-row input::placeholder { color: #aaa; }
.email-row .button { white-space: nowrap; gap: 12px; }
.newsletter .small { margin-top: 12px; font-size: 11px; }
#newsletter-status { margin-top: 10px; }
.footer { background: #090909; padding-block: 45px 22px; }
.footer-top { display: grid; grid-template-columns: 130px 1fr 220px; gap: 60px; align-items: center; padding-bottom: 35px; }
.footer-top img { width: 115px; }
.footer-top>p { font: 26px/1.4 var(--hand); }
.footer-top>div { display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 10px; color: var(--muted); }
#moment-viewer { position: fixed; inset: 0; margin: 0; padding: 0; border: 0; border-radius: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; background: #080808; color: var(--paper); overflow: hidden; }
#moment-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
#moment-viewer::backdrop { background: #080808; }
.viewer-toolbar, .viewer-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px max(20px,env(safe-area-inset-right)) 10px max(20px,env(safe-area-inset-left)); }
.viewer-toolbar { padding-top: max(10px,env(safe-area-inset-top)); }
.viewer-heading { display: flex; align-items: center; gap: 18px; }
#viewer-position { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
#moment-viewer button, #viewer-save { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-width: 44px; min-height: 44px; border: 1px solid #ffffff40; color: var(--paper); background: #111c; text-decoration: none; transition: background var(--motion), border-color var(--motion); }
#moment-viewer button { width: 48px; height: 48px; padding: 0; border-radius: 50%; font-size: 24px; }
#moment-viewer button:hover:not(:disabled), #viewer-save:hover { background: #33232c; border-color: var(--pink); }
#moment-viewer button:disabled { opacity: .25; cursor: default; }
#moment-viewer :focus-visible { outline-offset: 3px; }
.viewer-stage { position: relative; min-height: 0; min-width: 0; }
#viewer-media { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; overflow: auto; touch-action: pan-y; }
#viewer-media img, #viewer-media video { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
#viewer-media blockquote { font: clamp(24px,4vw,44px)/1.5 var(--hand); padding: 24px 76px; overflow-wrap: anywhere; margin: auto; }
#viewer-media>p { padding: 24px 76px; }
.viewer-controls { position: absolute; inset: 50% 0 auto; transform: translateY(-50%); display: flex; justify-content: space-between; padding-inline: max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right)); pointer-events: none; }
.viewer-controls button { pointer-events: auto; }
.caret-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.caret-icon--prev { transform: rotate(180deg); }
.viewer-footer { padding-block: 12px max(12px,env(safe-area-inset-bottom)); }
.viewer-caption { min-width: 0; }
#viewer-caption { overflow-wrap: anywhere; font-size: 14px; }
#viewer-credit { margin-top: 4px; font-size: 11px; }
#viewer-save { padding: 10px 16px; border-radius: 24px; font-size: 12px; white-space: nowrap; }
body.viewer-open { overflow: hidden; }
@media(min-width:1500px) { .hero-guest { width: 300px; right: 35px; bottom: 100px; } }
@media(max-width:1050px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner nav { gap: 20px; }
  .hero-inner, .hero { min-height: 760px; }
  .hero-guest { right: 10px; width: 220px; }
  .hero h1 { font-size: 100px; }
  .moment-rail { padding-inline: 28px; scroll-padding-inline: 28px; }
  .share-layout { gap: 45px; }
  .share-copy .actions { gap: 12px; }
  .share-copy .button { font-size: 12px; padding-inline: 17px; }
  .highlight-grid { grid-template-rows: 180px 180px; }
  .album-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .newsletter { gap: 30px; }
  .email-row { flex-wrap: wrap; }
  .email-row input { width: 100%; }
}
@media(max-width:760px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 54px; }
  .header-inner { height: 82px; gap: 12px; }
  .brand { width: 64px; }
  .header-inner nav { position: absolute; top: 82px; left: 18px; right: 18px; gap: 20px; }
  .header-inner nav a { font-size: 11px; padding-block: 10px; }
  .header-inner>.button { margin-left: auto; min-height: 43px; font-size: 11px; padding: 9px 15px; gap: 18px; }
  .hero, .hero-inner { min-height: 740px; }
  .hero-inner { padding-block: 155px 55px; align-items: start; }
  .hero-background { object-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg,#111b,#1112),linear-gradient(0deg,#111d,transparent 65%); }
  .hero h1 { font-size: clamp(67px,17.7vw,115px); }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: .07em; margin-bottom: 22px; }
  .hero-script { font-size: 23px; margin-top: 14px; }
  .hero .intro { max-width: 240px; font-size: 13px; margin-block: 24px 20px; }
  .hero .intro br { display: none; }
  .hero .actions { gap: 12px; max-width: 200px; }
  .hero .button { padding: 12px 15px; min-height: 48px; font-size: 11px; gap: 12px; }
  .hero .text-link { font-size: 12px; }
  .hero-guest { width: 123px; bottom: 57px; right: 2px; border-width: 4px; }
  .hero-guest-label { font-size: 7px; padding: 7px 3px 3px; line-height: 1.4; gap: 5px; }
  .hero-credit { bottom: 15px; font-size: 8px; }
  .edition-bar { padding: 13px 18px; }
  .edition-bar>div { width: 850px; justify-content: start; gap: 26px; font-size: 11px; }
  .edition-bar b { font-size: 18px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2 { font-size: clamp(31px,8vw,45px); }
  .eyebrow { font-size: 9px; }
  .section-heading>p, .section-aside { margin-top: 20px; }
  .section-heading>p, .section-aside>p { font-size: 12px; }
  .section-aside .text-link { font-size: 12px; margin-top: 7px; }
  .gallery-toolbar { gap: 10px; }
  .filters { gap: 6px; }
  .filters button { padding-inline: 14px; font-size: 11px; }
  .rail-controls { gap: 5px; }
  .rail-controls button { width: 38px; height: 44px; font-size: 17px; }
  .moment-rail { grid-auto-columns: min(67vw,300px); gap: 13px; padding-inline: 18px; scroll-padding-inline: 18px; }
  .moment-card__caption { font-size: 13px; }
  .highlight-section { padding-block: 50px; }
  .highlight-section .handwritten { font-size: 22px; }
  .highlight-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 225px 170px 170px; gap: 10px; }
  .highlight-grid .moment-card:first-child { grid-row: auto; grid-column: span 2; }
  .highlight-grid .moment-card:nth-child(4) { grid-column: span 2; }
  .highlight-grid .moment-card__caption { font-size: 11px; left: 12px; bottom: 12px; }
  .album-cards { grid-template-columns: 1fr; gap: 22px; }
  .album-mosaic { grid-template-rows: 128px 128px; }
  .album-card__info { padding: 19px; }
  .album-card__title { display: block; font-size: 18px; }
  .album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }
  .album-browser-heading { flex-wrap: wrap; }
  .album-browser-heading h3 { font-size: 23px; }
  .share-section { padding-block: 55px; }
  .share-layout { grid-template-columns: 1fr; gap: 42px; }
  .share-collage { max-width: 380px; margin: auto; padding: 10px 35px 16px 16px; }
  .share-photo-main { aspect-ratio: 4/4.4; }
  .share-photo-small { right: 10px; }
  .share-sticker { right: 8px; font-size: 22px; padding: 14px; }
  .share-copy h2 { font-size: clamp(48px,14vw,70px); }
  .share-intro { font-size: 17px; }
  .share-copy .actions { gap: 10px; }
  .share-copy .button { padding-inline: 15px; font-size: 12px; }
  .stories-section { grid-template-columns: 1fr; gap: 25px; padding-block: 50px; }
  .stories-section h2 { font-size: 33px; }
  #stories-content>p { font-size: 14px; }
  .archive-section { padding-block: 50px; }
  .archive-copy h2 { font-size: 35px; }
  .newsletter { grid-template-columns: 1fr; gap: 28px; }
  .newsletter h2 { font-size: 30px; }
  .email-row { flex-wrap: nowrap; }
  .email-row .button { padding-inline: 12px; font-size: 11px; }
  .email-row .button span { display: none; }
  .footer-top { grid-template-columns: 75px 1fr; gap: 30px; }
  .footer-top img { width: 75px; }
  .footer-top>p { font-size: 21px; }
  .footer-top>div { grid-column: 1/-1; }
  .footer-bottom { font-size: 9px; }
  .viewer-toolbar, .viewer-footer { padding-inline: max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right)); }
  .viewer-heading { gap: 12px; }
  #moment-viewer button { width: 44px; height: 44px; }
  .viewer-controls { padding-inline: max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right)); }
  #viewer-caption { font-size: 13px; }
  #viewer-credit { font-size: 10px; }
  #viewer-save { padding-inline: 12px; font-size: 11px; }
  #moment-viewer[data-media-type="video"] .viewer-stage { position: absolute; inset: 0; }
  #moment-viewer[data-media-type="video"] #viewer-media { overflow: hidden; }
  #moment-viewer[data-media-type="video"] video { width: 100%; height: 100%; object-fit: cover; }
  #moment-viewer[data-media-type="video"] .viewer-toolbar { position: absolute; inset: 0 0 auto; z-index: 2; padding-bottom: 28px; background: linear-gradient(#000b,transparent); pointer-events: none; }
  #moment-viewer[data-media-type="video"] .viewer-toolbar button { pointer-events: auto; }
  #moment-viewer[data-media-type="video"] .viewer-footer { position: absolute; inset: auto 0 calc(72px + env(safe-area-inset-bottom)); z-index: 1; padding-block: 24px; background: linear-gradient(transparent,#0007 55%,transparent); text-shadow: 0 1px 4px #000; pointer-events: none; }
  #moment-viewer[data-media-type="video"] #viewer-position, #moment-viewer[data-media-type="video"] #viewer-credit { color: var(--paper); }
}
@media(max-width:350px) {
  .rail-controls { display: none; }
  .hero .intro { max-width: 175px; }
  .hero-guest { width: 105px; }
  .hero-script { font-size: 21px; }
  .hero h1 { font-size: 66px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
