/* Sky Collage: published photographs in three opposing horizontal rows. */
body.sky-theme {
  --paper: #f2ffff;
  --white: #fff;
  --ink: #155969;
  --muted: #63858a;
  --rose: #087f8d;
  --pink: #ffc4dd;
  --pink-light: #fff0f7;
  --sky: #beedf0;
  --sky-light: #ebffff;
  --line: #d4e9e8;
  --sky-cyan: #00baca;
  --sky-pink: #ff6ba7;
  --sky-mint: #e7fff8;
  background: var(--paper);
}
body.sky-theme .site-header { height: 74px; background: #fffffff5; border-bottom-color: #d4eeee; backdrop-filter: blur(14px); }
body.sky-theme .brand { gap: 7px; position: relative; }
body.sky-theme .brand-wordmark { color: #00a9ba; font: 900 italic 36px/1 Arial, sans-serif; letter-spacing: -2.7px; }
body.sky-theme .brand-spark { color: var(--sky-pink); font-size: 22px; align-self: flex-start; margin-top: 5px; }
body.sky-theme .brand-label { color: #5d8389; font-size: 9px; margin-left: 5px; }
body.sky-theme .main-nav { gap: 28px; }
body.sky-theme .main-nav a { font-size: 11px; color: #376c77; }
body.sky-theme .main-nav a.active { color: #087b8e; }
body.sky-theme .main-nav a.active:after { background: var(--sky-pink); }
body.sky-theme .header-actions .text-button, body.sky-theme .mobile-profile-link { color: #376c77; }
body.sky-theme .header-actions .button { border-color: #c5e4e4; background: #f5ffff; color: #246979; }
body.sky-theme .button:not(.secondary):not(.danger) { background: #078391; border-color: #078391; }
body.sky-theme .button:not(.secondary):not(.danger):hover { background: #066c79; border-color: #066c79; }
body.sky-theme .button.secondary { border-color: #b8d9db; color: #267282; }
body.sky-theme .button.secondary:hover { background: #e9faf7; }
body.sky-theme :is(button, a):focus-visible { outline-color: #d53d7b; }
body.sky-theme .site-footer { background: #e6faf6; border-color: #d2eae6; }
body.sky-theme .footer-wordmark { color: #009bab; }
body.sky-theme .site-footer nav a:hover { color: #067e8e; }
body.sky-theme:not([data-page="home"]) main { background: radial-gradient(ellipse at 100% 0, #dcfff86b, transparent 43%), radial-gradient(ellipse at 0 380px, #ffecf66b, transparent 48%); }
body.sky-theme :is(.profile-page, .gallery-page, .schedule-page) .page-top h1 { color: #296473; }
body.sky-theme .page-top:after { color: #13a7b5; }

.sky-home { overflow: clip; }
.sky-home .sky-stage {
  min-height: 690px;
  height: calc(100svh - 74px);
  max-height: 1120px;
  background: linear-gradient(125deg, #d9fff4, #faffff 55%, #d8f6ff);
}
.sky-home .sky-stage:before { display: none; }
.sky-home .sky-stage:after { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none; background: radial-gradient(#00baca30 1px, transparent 1px); background-size: 7px 7px; z-index: -1; }
.sky-photo-wall { position: absolute; inset: -8% -12%; transform: rotate(-8deg); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sky-row-window { flex: 0 0 31%; min-height: 0; display: flex; overflow: visible; }
.sky-photo-row { display: flex; height: 100%; width: max-content; animation: sky-photo-flow 105s linear infinite; will-change: transform; }
.sky-row-window:nth-child(2) .sky-photo-row { animation-direction: reverse; animation-duration: 118s; }
.sky-row-window:nth-child(3) .sky-photo-row { animation-duration: 110s; animation-delay: -28s; }
.sky-row-group { display: flex; flex: 0 0 auto; gap: 10px; padding-right: 10px; height: 100%; }
.sky-tile { display: block; position: relative; flex: 0 0 clamp(250px, 23vw, 360px); width: clamp(250px, 23vw, 360px); height: 100%; padding: 0; border: 5px solid white; border-radius: 0; background: white; overflow: hidden; box-shadow: 0 3px 0 #00baca35; }
.sky-tile:nth-child(3n+2) { flex-basis: clamp(200px, 18vw, 280px); width: clamp(200px, 18vw, 280px); }
.sky-photo { cursor: pointer; transition: transform .35s cubic-bezier(.22,.8,.23,1); }
.sky-photo img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s cubic-bezier(.22,.8,.23,1); user-select: none; -webkit-user-drag: none; }
.sky-profile-photo img { object-position: 50% 16%; }
.sky-photo-caption { display: flex; position: absolute; left: 10px; bottom: 10px; right: 10px; justify-content: space-between; align-items: center; gap: 12px; background: white; color: #155969; padding: 7px 8px; font-size: 9px; line-height: 1.5; opacity: 0; transition: opacity .2s; }
.sky-photo-caption .icon { width: 15px; height: 15px; flex: 0 0 15px; }
.sky-photo:focus-visible .sky-photo-caption { opacity: 1; }
.sky-brand-tile { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 17px; color: #03a9b8; background: #e5fff5; }
.sky-brand-tone-1 { background: #e5faff; color: #5dbfd0; }
.sky-brand-tone-2 { background: #fff0f6; color: #efa4c5; }
.sky-brand-tile:before { content: ""; position: absolute; inset: 16px; border: 1px solid currentColor; opacity: .24; }
.sky-tile-star { font-size: clamp(46px, 5vw, 72px); font-weight: 400; line-height: 1; }
.sky-tile-word { font: 900 italic 30px/1 Arial, sans-serif; letter-spacing: -1.4px; }
.sky-brand-tone-1 .sky-tile-word { font-size: 25px; letter-spacing: 2px; font-style: normal; }
.sky-brand-tone-2 { background-image: radial-gradient(#ff94bf45 1px, transparent 1px); background-size: 9px 9px; }
.sky-hero-brand { position: absolute; left: 5.5%; bottom: 8%; z-index: 3; transform: rotate(-5deg); pointer-events: none; }
.sky-hero-brand h1 { font: 900 italic clamp(80px, 8vw, 122px)/.82 Arial, sans-serif; letter-spacing: -8px; margin: 0; color: var(--sky-cyan); -webkit-text-stroke: 9px white; paint-order: stroke fill; filter: drop-shadow(3px 5px 0 var(--sky-pink)); }
.sky-hero-brand p { display: table; margin: 19px 0 0 7px; padding: 9px 14px; background: white; color: #00586b; font-size: 10px; letter-spacing: 2px; font-weight: 700; box-shadow: 4px 4px 0 var(--sky-cyan); }
.sky-ticker { position: absolute; top: 6%; left: -8px; z-index: 3; background: #e9ff8d; color: #005a67; padding: 10px 19px; font-size: 9px; font-weight: 700; letter-spacing: 1.8px; transform: rotate(-8deg); box-shadow: 4px 4px 0 white; }
.sky-stage-controls { position: absolute; bottom: 4%; right: 4%; z-index: 4; display: flex; flex-direction: column; align-items: flex-end; gap: 11px; }
.sky-stage-note { background: white; color: #357582; padding: 7px 11px; font-size: 9px; letter-spacing: .5px; line-height: 1.5; }
.sky-stage-links { display: flex; gap: 10px; }
.sky-stage-links a { min-height: 50px; display: flex; align-items: center; gap: 25px; background: white; border-radius: 40px; padding: 0 22px; color: #005d70; font-size: 11px; font-weight: 700; box-shadow: 4px 4px 0 var(--sky-cyan); text-decoration: none; }
.sky-stage-links a:first-child { padding: 0 17px; gap: 15px; box-shadow: 4px 4px 0 #ffb4d3; }
.sky-stage-links .icon { width: 20px; height: 20px; color: #dc5189; }
.sky-spark { position: absolute; z-index: 3; pointer-events: none; text-shadow: 3px 3px white; animation: sky-sparkle 6s ease-in-out infinite; line-height: 1; }
.sky-spark-one { top: 10%; right: 10%; font-size: 64px; color: var(--sky-pink); }
.sky-spark-two { right: 3%; bottom: 22%; font-size: 40px; color: #d5ee4c; animation-delay: -2s; }
.sky-stage .motion-toggle { top: 20px; right: 3.5%; background: #ffffffed; color: #176476; border-color: white; box-shadow: 3px 3px 0 #9de4de; backdrop-filter: none; font-size: 10px; }
.sky-home .home-collection { padding-top: 38px; }
.sky-home .collection-heading h2 { color: #216575; }
.sky-home .collection-count { color: #009cac; }
.sky-home .collection-empty { border-color: #c3e5e3; color: #66888e; background: #effbf8; }
.sky-home .section-link { color: #287280; }
.sky-home .home-connect { border-color: #d1e9e5; background: #e9faf7; }
.sky-home .connect-actions a { background: #fff0f7; border-color: #efd4e3; color: #74616d; }
.sky-home .gallery-image-button, .sky-theme .gallery-page .gallery-image-button { border: 4px solid white; border-radius: 2px; box-shadow: 0 3px 0 #c5e9e6; }

.sky-scene-wipe { display: grid; grid-template-rows: repeat(7, 1fr); }
.sky-wipe-band { display: block; margin-block: -1px; background: #00baca; border-bottom: 2px solid white; transform: translateX(-120%) skewX(-12deg) scaleX(1.4); }
.sky-scene-wipe[data-phase] .sky-wipe-band { will-change: transform; }
.scene-wipe-status { position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 81; width: max-content; max-width: calc(100vw - 40px); padding: 17px 24px; border-radius: 30px; background: #fffffff2; color: #155969; box-shadow: 0 8px 35px #1559691f; text-align: center; font-size: 14px; pointer-events: none; }
.scene-wipe-status[hidden] { display: none; }
.sky-wipe-band:nth-child(even) { transform: translateX(120%) skewX(-12deg) scaleX(1.4); }
.sky-wipe-band:nth-child(3n+2) { background: #ff9ac5; }
.sky-wipe-band:nth-child(3n+3) { background: #ddff89; }

body.motion-paused .sky-photo-row, body.motion-paused .sky-spark,
body.motion-hidden .sky-photo-row, body.motion-hidden .sky-spark,
body.photo-viewing .sky-photo-row, body.photo-viewing .sky-spark,
body.dialog-viewing .sky-photo-row, body.dialog-viewing .sky-spark,
.sky-stage.is-offscreen .sky-photo-row, .sky-stage.is-offscreen .sky-spark,
.sky-photo-row:focus-within { animation-play-state: paused; }
body.motion-reduced .sky-photo-row, body.motion-reduced .sky-spark { animation: none; will-change: auto; }
@keyframes sky-photo-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sky-sparkle { 0%, 100% { transform: rotate(-10deg) scale(.86); } 50% { transform: rotate(8deg) scale(1.08); } }
@media(hover:hover) and (pointer:fine) {
  .sky-photo-row:hover { animation-play-state: paused; }
  .sky-photo:hover { transform: translateY(-7px); z-index: 2; }
  .sky-photo:hover img { transform: scale(1.035); }
  .sky-photo:hover .sky-photo-caption { opacity: 1; }
}
@media(min-width:768px) and (max-width:1100px) {
  body.sky-theme .main-nav { gap: 20px; }
  .sky-home .sky-stage { min-height: 640px; }
  .sky-hero-brand h1 { font-size: 94px; }
  .sky-stage-links a { padding: 0 18px; gap: 18px; }
}
@media(max-width:767px), (max-width:1024px) and (max-height:500px) {
  body.sky-theme .site-header { height: calc(60px + env(safe-area-inset-top, 0px)); padding-inline: max(16px, env(safe-area-inset-left, 0px)); gap: 10px; }
  body.sky-theme .brand { gap: 3px; }
  body.sky-theme .brand-wordmark { font-size: 30px; letter-spacing: -2.1px; }
  body.sky-theme .brand-spark { font-size: 17px; margin-top: 7px; }
  body.sky-theme .header-actions { gap: 10px; }
  body.sky-theme .mobile-nav { border-color: #cde9e5; background: #fbfffff7; }
  body.sky-theme .mobile-nav a { color: #5b858b; }
  body.sky-theme .mobile-nav a.active { color: #007a8b; background: #def7f2; }
  body.sky-theme .mobile-nav a[data-route="new"] .icon { background: #ffe0ef; border-color: #efb4cc; }
  .sky-home .sky-stage { height: calc(100svh - 130px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); min-height: 535px; max-height: 1000px; }
  .sky-photo-wall { inset: -2% -26%; gap: 8px; transform: rotate(-9deg); }
  .sky-row-window { flex-basis: 30%; }
  .sky-row-group { gap: 8px; padding-right: 8px; }
  .sky-photo-row { animation-duration: 88s; }
  .sky-row-window:nth-child(2) .sky-photo-row { animation-duration: 98s; }
  .sky-row-window:nth-child(3) .sky-photo-row { animation-duration: 92s; animation-delay: -23s; }
  .sky-tile { width: 205px; flex-basis: 205px; border-width: 4px; }
  .sky-tile:nth-child(3n+2) { width: 175px; flex-basis: 175px; }
  .sky-brand-tile { gap: 11px; }
  .sky-brand-tile:before { inset: 12px; }
  .sky-tile-star { font-size: 41px; }
  .sky-tile-word { font-size: 26px; }
  .sky-brand-tone-1 .sky-tile-word { font-size: 21px; }
  .sky-hero-brand { left: 7%; bottom: 12%; }
  .sky-hero-brand h1 { font-size: 72px; letter-spacing: -5px; -webkit-text-stroke-width: 7px; filter: drop-shadow(3px 4px 0 var(--sky-pink)); }
  .sky-hero-brand p { font-size: 8px; letter-spacing: 1px; padding: 7px 10px; margin: 14px 0 0 2px; box-shadow: 3px 3px var(--sky-cyan); }
  .sky-ticker { top: 5%; padding: 8px 12px; font-size: 7px; letter-spacing: 1px; }
  .sky-stage-controls { right: 5%; left: 5%; bottom: 3%; align-items: flex-end; gap: 8px; }
  .sky-stage-note { font-size: 8px; padding: 5px 8px; }
  .sky-stage-links { gap: 8px; }
  .sky-stage-links a { min-height: 44px; padding: 0 14px; gap: 15px; font-size: 9px; box-shadow: 3px 3px 0 var(--sky-cyan); }
  .sky-stage-links a:first-child { display: none; }
  .sky-stage-links .icon { width: 18px; height: 18px; }
  .sky-stage .motion-toggle { top: 13px; right: 4%; min-height: 44px; padding-inline: 12px; font-size: 9px; }
  .sky-spark-one { top: 16%; right: 7%; font-size: 40px; }
  .sky-spark-two { bottom: 31%; right: 3%; font-size: 31px; }
  .sky-photo-caption { left: 6px; right: 6px; bottom: 6px; font-size: 8px; padding: 5px 6px; }
  .sky-home .home-collection { padding-top: 29px; }
}
@media(max-width:359px) {
  body.sky-theme .site-header { padding-inline: 12px; gap: 6px; }
  body.sky-theme .header-actions { gap: 5px; }
  body.sky-theme .brand-wordmark { font-size: 28px; }
  .sky-hero-brand h1 { font-size: 65px; }
  .sky-home .sky-stage { min-height: 500px; }
}
@media(max-width:1024px) and (max-height:500px) and (orientation:landscape) {
  .sky-home .sky-stage { height: 520px; min-height: 520px; }
  .sky-photo-wall { inset: -8% -14%; }
  .sky-row-window { flex-basis: 31%; }
  .sky-hero-brand { bottom: 10%; }
}
@media(prefers-reduced-motion:reduce) {
  .sky-photo-row, .sky-spark { animation: none!important; will-change: auto; }
  .sky-scene-wipe { display: none; }
}
