:root {
  color-scheme: dark;
  --bg: #090d18;
  --bg-raised: #101827;
  --surface: rgba(17, 27, 43, .7);
  --text: #edf4ff;
  --muted: #8d9bb1;
  --faint: #596a83;
  --line: rgba(177, 205, 246, .13);
  --blue: #3686EB;
  --blue-light: #5292DE;
  --ease: cubic-bezier(.2, .75, .25, 1);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-padding-top: 100px; }
body { position: relative; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); transition: color .55s var(--ease), background .65s var(--ease); }
body::before { position: fixed; inset: 0; z-index: -2; pointer-events: none; content: ''; opacity: .13; background-image: radial-gradient(rgba(184,210,250,.3) .5px, transparent .5px); background-size: 5px 5px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
button, a { font: inherit; } button { color: inherit; } a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.ambient { position: fixed; z-index: -1; width: 660px; height: 660px; border-radius: 50%; pointer-events: none; filter: blur(32px); }
.ambient-one { top: -430px; right: -100px; background: radial-gradient(circle, rgba(2,89,199,.23), transparent 69%); }
.ambient-two { left: -470px; bottom: -480px; background: radial-gradient(circle, rgba(47,122,208,.12), transparent 68%); }
.site-header { position: sticky; z-index: 30; top: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 78px; padding-inline: max(5.2vw, calc((100% - 1160px) / 2)); border-bottom: 1px solid rgba(173,201,241,.085); background: rgba(9,13,24,.68); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); transition: background .5s var(--ease), border-color .5s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left; }
.brand-mark { position: relative; display: grid; width: 35px; height: 35px; place-items: center; overflow: hidden; border: 1px solid rgba(104,169,247,.5); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 5px 18px rgba(0,0,0,.15); }
.brand-mark::before, .brand-mark::after, .brand-mark span { position: absolute; width: 22px; height: 8px; border: 1px solid var(--blue-light); border-radius: 50%; content: ''; transform: rotate(-25deg); }
.brand-mark::after { transform: rotate(31deg); border-color: rgba(112,186,255,.75); }.brand-mark span { width: 5px; height: 5px; border: 0; background: #c4e1ff; box-shadow: 0 0 10px 3px rgba(82,146,222,.7); }
.brand-name { font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 1.8px; }.brand-name i { display: block; margin-top: 3px; color: var(--faint); font-size: 7px; font-style: normal; letter-spacing: 1.6px; }
.main-nav { position: absolute; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); padding: 5px; border: 1px solid rgba(177,205,246,.1); border-radius: 999px; background: rgba(255,255,255,.025); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); }
.main-nav button { padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: #99a8bd; cursor: pointer; font-size: 11px; transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.main-nav button:hover { color: var(--text); transform: translateY(-1px); }.main-nav button.is-active { background: rgba(82,146,222,.17); color: #eaf4ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 10px rgba(0,0,0,.1); }
.header-actions { display: flex; align-items: center; gap: 11px; }.icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.01)); color: #b6c8df; cursor: pointer; transition: transform .5s var(--ease), color .3s, box-shadow .4s; }.icon-button:hover { transform: rotate(24deg); color: var(--blue-light); box-shadow: 0 0 24px rgba(82,146,222,.19); }.theme-glyph { font-size: 17px; line-height: 1; }
.admin-link { padding: 10px 14px; border: 1px solid rgba(177,205,246,.13); border-radius: 999px; background: rgba(255,255,255,.035); color: #c1d1e7; font-size: 10px; transition: background .4s var(--ease), transform .4s var(--ease), border-color .4s; }.admin-link span { padding-left: 6px; color: var(--blue-light); }.admin-link:hover { transform: translateY(-2px); border-color: rgba(112,173,245,.34); background: rgba(255,255,255,.075); }
.app-main { position: relative; z-index: 1; width: min(1120px, calc(100% - 72px)); min-height: calc(100vh - 146px); margin: 0 auto; }
.loading { display: grid; min-height: 65vh; align-content: center; justify-items: center; gap: 19px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; }.water-loader { width: 48px; height: 48px; border: 1px solid rgba(93,167,249,.5); border-radius: 50%; box-shadow: inset 0 0 20px rgba(47,122,208,.17), 0 0 25px rgba(47,122,208,.12); animation: loader-pulse 1.5s ease-in-out infinite; }
.home-hero { position: relative; display: grid; min-height: 523px; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 28px 5px 62px; }.hero-main { position: relative; z-index: 2; padding: 0 0 12px 22px; }.eyebrow { display: flex; align-items: center; gap: 9px; color: #7e8ca2; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.65px; text-transform: uppercase; }.eyebrow-dot, .pulse-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 14px rgba(82,146,222,.78); }
.hero-main h1 { max-width: 570px; margin: 26px 0 17px; font-size: clamp(50px, 6.2vw, 76px); font-weight: 600; letter-spacing: -4.9px; line-height: 1.1; }.gradient-text { color: transparent; background: linear-gradient(105deg, #0259C7, #2F7AD0, var(--blue), var(--blue-light)); background-clip: text; -webkit-background-clip: text; }.hero-subtitle { max-width: 450px; margin: 0; color: #9ba9bd; font-size: 14px; line-height: 1.9; }.hero-links { display: flex; align-items: center; gap: 22px; margin-top: 30px; }.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 0 17px; border: 1px solid rgba(209,232,255,.23); border-radius: 999px; background: linear-gradient(115deg, #0752b4, #2f7ad0 54%, var(--blue-light)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 25px rgba(2,89,199,.22); color: #fff; cursor: pointer; font-size: 10px; font-weight: 700; transition: transform .55s var(--ease), box-shadow .55s var(--ease), filter .55s; }.pill-button:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 15px 35px rgba(47,122,208,.33); filter: saturate(1.12); }.pill-button span { color: #d8ecff; }.hero-location { display: flex; align-items: center; gap: 8px; color: #77869c; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: 1px; }.pulse-dot { width: 5px; height: 5px; }
.swim-scene { position: relative; display: grid; min-height: 420px; place-items: center; perspective: 800px; }.swim-scene::before { position: absolute; inset: 6% 4%; border: 1px solid rgba(172,205,250,.075); border-radius: 48% 52% 50% 50% / 45% 47% 53% 55%; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.003) 52%, rgba(47,122,208,.035)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 22px 80px rgba(0,0,0,.12); transform: rotate(-8deg); }.water-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(47,122,208,.24); filter: blur(57px); }.water-ring { position: absolute; width: 290px; height: 114px; border: 1px solid rgba(148,197,255,.47); border-radius: 50%; box-shadow: 0 0 20px rgba(82,146,222,.055); transform-style: preserve-3d; }.ring-outer { width: 355px; height: 148px; border-color: rgba(133,184,244,.35); transform: rotate(-27deg) rotateX(62deg); animation: swim-ring 22s linear infinite; }.ring-mid { width: 312px; height: 122px; transform: rotate(45deg) rotateX(64deg); animation: swim-ring 17s linear infinite reverse; }.ring-inner { width: 223px; height: 242px; border-color: rgba(124,179,246,.26); transform: rotateY(66deg) rotateZ(-19deg); }.swim-orb { position: relative; z-index: 1; width: 156px; height: 156px; overflow: hidden; border: 1px solid rgba(216,238,255,.35); border-radius: 50%; background: radial-gradient(ellipse at 27% 16%, #e3f3ff 0%, #84bcfa 8%, #5292de 20%, #3686eb 40%, #2f7ad0 59%, #0259c7 80%, #061333 100%); box-shadow: inset -19px -20px 34px rgba(0,9,41,.55), inset 10px 10px 20px rgba(222,242,255,.46), 0 12px 55px rgba(47,122,208,.34); animation: orb-drift 7s ease-in-out infinite; }.swim-orb::after { position: absolute; inset: -15%; content: ''; border-radius: inherit; background: repeating-linear-gradient(155deg, transparent 0 17px, rgba(226,245,255,.11) 18px, transparent 19px 33px); mask-image: radial-gradient(ellipse at 42% 40%, black, transparent 74%); }.orb-reflection { position: absolute; top: 20px; left: 27px; width: 50px; height: 19px; border-radius: 50%; background: rgba(240,249,255,.63); filter: blur(11px); transform: rotate(-38deg); }.swimmer { position: absolute; z-index: 3; width: 110px; height: 70px; transform: rotate(-25deg) translate(5px, -5px); animation: glide 5s ease-in-out infinite; }.swimmer-head { position: absolute; top: 13px; left: 38px; width: 13px; height: 13px; border-radius: 50%; background: #d9edff; box-shadow: 0 0 15px rgba(221,240,255,.45); }.swimmer-body { position: absolute; top: 27px; left: 26px; width: 50px; height: 10px; border-radius: 100% 18% 70% 30%; background: linear-gradient(90deg, #a4d2ff, #3985dc); transform: rotate(-12deg); box-shadow: 0 0 19px rgba(82,146,222,.36); }.swimmer-arm { position: absolute; top: 18px; left: 14px; width: 40px; height: 8px; border-radius: 100% 20%; background: #83baff; transform: rotate(-44deg); transform-origin: right; }.scene-bubble { position: absolute; z-index: 3; width: 7px; height: 7px; border: 1px solid rgba(201,229,255,.75); border-radius: 50%; box-shadow: 0 0 15px 4px rgba(82,146,222,.44); animation: bubble-up 3.5s ease-in-out infinite; }.bubble-a { top: 22%; right: 22%; }.bubble-b { bottom: 25%; left: 23%; width: 5px; height: 5px; animation-delay: -1.4s; }.bubble-c { top: 51%; right: 13%; width: 4px; height: 4px; animation-delay: -2.2s; }.scene-label { position: absolute; z-index: 4; left: 9%; right: 9%; display: flex; justify-content: space-between; color: #71839d; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1.45px; }.scene-label span { color: #94c7ff; }.label-top { top: 14%; }.label-bottom { bottom: 13%; }
.hero-caption { position: absolute; right: 2px; bottom: 24px; left: 22px; display: flex; align-items: center; gap: 15px; color: #66758c; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: 1.35px; }.caption-dash { width: 37px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); }
.home-choices { padding: 37px 22px 76px; border-top: 1px solid rgba(177,205,246,.09); }.section-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }.section-intro h2 { margin: 11px 0 0; font-size: clamp(24px, 3.2vw, 34px); font-weight: 600; letter-spacing: -1.8px; }.section-stat { padding-bottom: 5px; color: #74849b; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1px; }.section-stat i { color: var(--blue-light); font-style: normal; padding-inline: 5px; }.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.choice-card { position: relative; display: flex; min-height: 210px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 25px 28px; overflow: hidden; border: 1px solid rgba(174,203,246,.14); border-radius: 17px; background: linear-gradient(128deg, rgba(22,35,57,.73), rgba(13,25,43,.53)); box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 14px 40px rgba(0,0,0,.11); cursor: pointer; text-align: left; backdrop-filter: blur(20px); transition: transform .6s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease); }.choice-card::before { position: absolute; top: -100px; right: -30px; width: 260px; height: 240px; border-radius: 50%; content: ''; background: radial-gradient(circle, rgba(47,122,208,.17), transparent 68%); transition: transform .7s var(--ease); }.choice-card:hover { transform: translateY(-5px); border-color: rgba(129,181,245,.32); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 23px 55px rgba(0,0,0,.2), 0 0 35px rgba(47,122,208,.07); }.choice-card:hover::before { transform: scale(1.25); }.choice-index { position: absolute; top: 22px; left: 26px; color: #76859c; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1.2px; }.choice-icon { position: absolute; top: 54px; right: 35px; color: #a3cfff; }.icon-gallery { display: flex; gap: 4px; transform: rotate(-12deg); }.icon-gallery span { display: block; width: 31px; height: 45px; border: 1px solid rgba(162,206,255,.63); border-radius: 8px; background: linear-gradient(150deg, rgba(82,146,222,.35), rgba(255,255,255,.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.2); }.icon-gallery span:nth-child(2) { transform: translateY(-8px); }.icon-gallery span:nth-child(3) { transform: translateY(4px); }.icon-notes { top: 46px; right: 39px; font-size: 46px; text-shadow: 0 0 28px rgba(82,146,222,.55); }.choice-title { position: relative; margin-top: auto; font-size: 21px; font-weight: 600; letter-spacing: -.7px; }.choice-description { position: relative; margin-top: 5px; color: #91a0b6; font-size: 10px; }.choice-arrow { position: absolute; right: 26px; bottom: 26px; color: var(--blue-light); font-size: 17px; transition: transform .45s var(--ease); }.choice-card:hover .choice-arrow { transform: translate(3px, -3px); }
.about-strip { position: relative; display: grid; grid-template-columns: 155px 1fr 115px; align-items: center; gap: 18px; margin-top: 19px; padding: 20px 24px; overflow: hidden; border: 1px solid rgba(174,203,246,.10); border-radius: 12px; background: linear-gradient(100deg, rgba(17,27,43,.46), rgba(21,34,54,.38)); }.about-watermark { position: absolute; right: 30px; color: rgba(82,146,222,.15); font-size: 82px; line-height: 1; transform: rotate(-12deg); }.about-label { position: relative; color: #76879f; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1.25px; }.about-strip p { position: relative; max-width: 650px; margin: 0; color: #a3b1c5; font-size: 10px; line-height: 1.8; }.about-signoff { position: relative; color: #8295b0; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1.4px; text-align: right; }
.site-footer { display: flex; min-height: 67px; align-items: center; justify-content: center; gap: 9px; border-top: 1px solid rgba(177,205,246,.09); color: #65748a; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: 1.4px; }.footer-wave { color: var(--blue-light); font-size: 17px; }.site-footer button { position: absolute; right: max(5.2vw, calc((100% - 1160px) / 2)); border: 0; background: none; color: #77869b; cursor: pointer; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: 1px; transition: color .3s; }.site-footer button:hover { color: var(--blue-light); }
.content-page { min-height: calc(100vh - 160px); padding: 45px 22px 85px; }.page-heading { position: relative; padding: 0 0 34px; }.back-link { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 0; border: 0; background: none; color: #a9bbd3; cursor: pointer; font-size: 13px; transition: color .3s, transform .4s var(--ease); }.back-link:hover { color: var(--blue-light); transform: translateX(-3px); }.back-link span { font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1.3px; }.page-heading h1 { margin: 12px 0 7px; font-size: clamp(43px, 5vw, 60px); font-weight: 600; letter-spacing: -3.7px; }.page-heading > p, .album-heading-copy > p { margin: 0; color: #96a5bb; font-size: 12px; line-height: 1.8; }.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }.album-card { display: flex; min-width: 0; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid rgba(174,203,246,.12); border-radius: 15px; background: rgba(16,26,42,.63); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.11); cursor: pointer; text-align: left; transition: transform .6s var(--ease), border-color .45s, box-shadow .6s var(--ease), background .5s; }.album-card:hover { transform: translateY(-5px); border-color: rgba(131,185,248,.34); background: rgba(22,35,56,.78); box-shadow: 0 23px 50px rgba(0,0,0,.23), 0 0 28px rgba(47,122,208,.08); }.album-art { position: relative; display: grid; height: 194px; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 40% 43%, rgba(73,149,238,.31), transparent 54%), linear-gradient(140deg,#101c31,#102b50 55%,#0c1729); }.art-1 { background: radial-gradient(ellipse at 70% 36%, rgba(82,146,222,.33), transparent 53%), linear-gradient(135deg,#13243a,#102243 58%,#101827); }.art-2 { background: radial-gradient(ellipse at 35% 65%, rgba(22,119,176,.31), transparent 50%), linear-gradient(145deg,#111e33,#102b42 55%,#111725); }.art-3 { background: radial-gradient(ellipse at 65% 40%, rgba(48,104,183,.27), transparent 55%), linear-gradient(145deg,#111a2b,#142039 55%,#0d1727); }.album-art::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 38%, rgba(4,10,21,.25)); }.album-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .9s; }.album-card:hover .album-art > img { transform: scale(1.055); filter: saturate(1.1); }.cover-sun { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(190,225,255,.8), rgba(82,146,222,.45) 24%, rgba(12,77,157,.2) 72%, transparent); filter: blur(2px); box-shadow: 0 0 70px rgba(47,122,208,.33); }.cover-ripple { position: absolute; width: 230px; height: 77px; border: 1px solid rgba(164,209,255,.55); border-radius: 50%; transform: rotate(-17deg) rotateX(53deg); }.ripple-two { width: 280px; height: 105px; border-color: rgba(110,177,245,.33); transform: rotate(23deg) rotateX(56deg); }.ripple-three { width: 170px; height: 220px; border-color: rgba(110,177,245,.23); transform: rotateY(62deg) rotateZ(14deg); }.cover-lane { position: absolute; bottom: 36px; left: -15%; width: 130%; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,198,255,.43), transparent); box-shadow: 0 7px 23px rgba(82,146,222,.15); transform: rotate(-8deg); }.cover-bubble { position: absolute; width: 5px; height: 5px; border: 1px solid rgba(214,239,255,.75); border-radius: 50%; box-shadow: 0 0 12px rgba(110,177,245,.8); }.bubble-one { top: 33%; left: 25%; }.bubble-two { right: 27%; bottom: 34%; width: 8px; height: 8px; }.album-card-copy { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; padding: 17px 17px 18px; }.album-card-title { font-size: 14px; font-weight: 600; }.album-card-meta { display: flex; align-items: center; gap: 8px; color: #7689a3; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: .9px; }.album-card-meta span { color: var(--blue-light); font-size: 12px; }.album-card-description { grid-column: 1 / -1; color: #8899b0; font-size: 9px; }
.album-heading { display: flex; align-items: center; gap: 27px; padding-bottom: 28px; }.album-heading .album-art { width: 154px; height: 126px; flex: 0 0 auto; border: 1px solid rgba(174,203,246,.14); border-radius: 12px; }.album-heading-copy .back-link { margin-bottom: 17px; }.album-heading-copy h1 { margin-top: 7px; font-size: clamp(36px, 4.2vw, 48px); }.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }.photo-card { display: flex; min-width: 0; flex-direction: column; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }.photo-image { position: relative; display: block; width: 100%; aspect-ratio: 1.16; overflow: hidden; border: 1px solid rgba(180,208,249,.14); border-radius: 13px; background: linear-gradient(145deg,#10213b,#102d52); box-shadow: 0 9px 25px rgba(0,0,0,.16); }.photo-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease), filter .7s; }.photo-card:hover .photo-image img { transform: scale(1.06); filter: saturate(1.08); }.photo-zoom { position: absolute; right: 11px; bottom: 11px; display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(223,238,255,.32); border-radius: 50%; background: rgba(6,17,34,.44); color: white; opacity: 0; transform: translateY(4px); backdrop-filter: blur(12px); transition: opacity .35s, transform .45s var(--ease); }.photo-card:hover .photo-zoom { opacity: 1; transform: translateY(0); }.photo-caption { display: flex; align-items: flex-start; gap: 12px; padding: 12px 2px; }.photo-number { padding-top: 1px; color: var(--blue-light); font-family: 'DM Mono', monospace; font-size: 8px; }.photo-caption > span:last-child { display: grid; gap: 5px; }.photo-caption b { font-size: 10px; font-weight: 600; }.photo-caption small { overflow: hidden; max-width: 290px; color: #94a4ba; font-size: 9px; line-height: 1.7; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.photo-caption .no-note { color: #64748a; }
.empty-state { display: grid; min-height: 300px; align-content: center; justify-items: center; padding: 28px; border: 1px dashed rgba(166,201,246,.19); border-radius: 15px; background: rgba(17,28,46,.35); text-align: center; }.empty-water { color: var(--blue-light); font-size: 32px; }.empty-state h2 { margin: 12px 0 6px; font-size: 18px; font-weight: 600; }.empty-state p { margin: 0 0 19px; color: #91a1b8; font-size: 10px; }.empty-state .pill-button { font-size: 9px; }.empty-state.album-empty { min-height: 220px; }
.notes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.note-card { display: grid; min-height: 170px; grid-template-columns: 168px 1fr; padding: 0; overflow: hidden; border: 1px solid rgba(174,203,246,.14); border-radius: 14px; background: rgba(17,27,43,.66); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 34px rgba(0,0,0,.13); cursor: pointer; text-align: left; transition: transform .55s var(--ease), border-color .4s, box-shadow .55s; }.note-card:hover { transform: translateY(-4px); border-color: rgba(129,181,245,.32); box-shadow: 0 20px 42px rgba(0,0,0,.2); }.note-image { position: relative; display: grid; min-height: 170px; place-items: center; overflow: hidden; background: linear-gradient(145deg,#112340,#144276 55%,#101b2c); color: rgba(188,221,255,.65); font-size: 35px; }.note-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }.note-card:hover .note-image img { transform: scale(1.06); }.note-image > span { z-index: 1; text-shadow: 0 0 30px rgba(82,146,222,.7); }.note-card-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 17px 16px 14px; }.note-album { color: #82a0c3; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: 1px; text-transform: uppercase; }.note-card-copy b { margin-top: 8px; font-size: 12px; font-weight: 600; }.note-text { display: -webkit-box; overflow: hidden; margin-top: 7px; color: #9baabf; font-size: 9px; line-height: 1.7; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }.note-card-footer { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 12px; color: #71829a; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: .85px; }.note-card-footer span { color: var(--blue-light); font-size: 11px; }
.viewer-screen { position: fixed; z-index: 60; inset: 0; display: grid; grid-template-rows: 66px 1fr auto; padding: 12px max(5vw, calc((100% - 1180px) / 2)) 20px; overflow-y: auto; background: rgba(5,9,17,.96); animation: viewer-zoom-in .72s var(--ease) both; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }.viewer-backdrop { position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 46%, rgba(21,66,121,.31), transparent 53%), radial-gradient(ellipse at 50% 100%, rgba(2,29,65,.4), transparent 46%); }.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; }.viewer-control { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: none; color: #bfd1e8; cursor: pointer; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1.1px; transition: color .3s, transform .4s var(--ease); }.viewer-control span { font-size: 18px; }.viewer-control:hover { color: white; transform: translateX(-3px); }.viewer-home { display: flex; align-items: center; gap: 9px; color: #a9bed9; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 1.2px; }.viewer-home .brand-mark { width: 31px; height: 31px; }.viewer-counter { color: #8da4c0; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.4px; }.viewer-counter i { padding-inline: 5px; color: #526986; font-style: normal; }.viewer-stage { position: relative; display: grid; min-height: 0; place-items: center; padding: 8px 0; }.viewer-photo { position: relative; z-index: 2; display: block; max-width: min(100%, 1100px); max-height: min(70vh, 780px); width: auto; height: auto; object-fit: contain; border: 1px solid rgba(190,219,255,.2); border-radius: 11px; box-shadow: 0 24px 90px rgba(0,0,0,.53), 0 0 50px rgba(47,122,208,.12); animation: photo-reveal .8s .05s var(--ease) both; }.viewer-swim { position: absolute; z-index: 1; width: 330px; height: 330px; pointer-events: none; animation: atom-fade .95s .24s var(--ease) both; }.swim-track { position: absolute; top: 50%; left: 50%; width: 310px; height: 108px; margin: -54px 0 0 -155px; border: 1px solid rgba(135,192,255,.57); border-radius: 50%; box-shadow: 0 0 22px rgba(82,146,222,.11); transform: rotate(-26deg) rotateX(54deg); animation: swim-ring 10s linear infinite; }.track-two { width: 270px; height: 132px; margin: -66px 0 0 -135px; border-color: rgba(100,166,237,.4); transform: rotate(48deg) rotateX(58deg); animation-duration: 13s; animation-direction: reverse; }.track-three { width: 220px; height: 250px; margin: -125px 0 0 -110px; border-color: rgba(101,169,241,.27); transform: rotateY(64deg) rotateZ(-16deg); animation-duration: 17s; }.swim-dot { position: absolute; z-index: 2; top: 32px; right: 52px; width: 7px; height: 7px; border-radius: 50%; background: #d7eeff; box-shadow: 0 0 16px 5px rgba(82,146,222,.8); animation: bubble-up 2.3s ease-in-out infinite; }.viewer-caption { display: grid; grid-template-columns: 1fr minmax(200px, 420px); align-items: end; gap: 30px; padding: 13px 2px 1px; }.viewer-caption h1 { margin: 7px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -.6px; }.viewer-caption .eyebrow { font-size: 8px; }.viewer-caption p { margin: 0; color: #a5b5ca; font-size: 10px; line-height: 1.8; }.viewer-caption .caption-placeholder { color: #64758d; }.viewer-home-float { position: fixed; z-index: 3; right: max(5vw, calc((100% - 1180px) / 2)); bottom: 24px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(193,219,252,.19); border-radius: 999px; background: rgba(13,26,43,.72); color: #c1d9f4; cursor: pointer; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: 1px; backdrop-filter: blur(15px); transition: background .3s, transform .4s var(--ease); }.viewer-home-float:hover { transform: translateY(-3px); background: rgba(35,67,108,.72); }.viewer-home-float span { font-size: 14px; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; padding: 12px 17px; border: 1px solid rgba(156,199,255,.22); border-radius: 10px; background: rgba(14,28,48,.92); box-shadow: 0 15px 40px rgba(0,0,0,.3); color: #d8e9fb; font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(8px); backdrop-filter: blur(18px); transition: opacity .28s, transform .36s var(--ease); }.toast.visible { opacity: 1; transform: translateY(0); }
.screen-enter { animation: screen-in .65s var(--ease) both; }.screen-enter > * { animation: fade-up .6s var(--ease) both; }.screen-enter > *:nth-child(2) { animation-delay: .07s; }.screen-enter > *:nth-child(3) { animation-delay: .12s; }
@keyframes screen-in { from { opacity: 0; } to { opacity: 1; } } @keyframes fade-up { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } } @keyframes viewer-zoom-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } } @keyframes photo-reveal { from { opacity: 0; transform: scale(.91); filter: blur(8px); } to { opacity: 1; transform: scale(1); filter: blur(0); } } @keyframes atom-fade { 0% { opacity: 1; transform: scale(.8); } 65% { opacity: .8; } 100% { opacity: .18; transform: scale(1.3); } } @keyframes swim-ring { to { rotate: 360deg; } } @keyframes orb-drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } } @keyframes glide { 0%,100% { translate: -4px 1px; } 50% { translate: 7px -5px; } } @keyframes bubble-up { 0%,100% { translate: 0 4px; opacity: .65; } 50% { translate: 0 -8px; opacity: 1; } } @keyframes loader-pulse { 0%,100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.05); opacity: 1; } }
body.light-theme { color-scheme: light; --bg: #f2f7ff; --bg-raised: #eaf2fd; --surface: rgba(255,255,255,.68); --text: #12213a; --muted: #637791; --faint: #7187a4; --line: rgba(42,76,125,.16); background-image: radial-gradient(ellipse at 72% 12%, rgba(82,146,222,.11), transparent 37%), linear-gradient(180deg, rgba(255,255,255,.5), transparent 40%); }
.light-theme::before { opacity: .07; background-image: radial-gradient(rgba(25,72,135,.3) .5px, transparent .5px); }.light-theme .site-header { border-color: rgba(42,76,125,.12); background: rgba(242,247,255,.74); }.light-theme .brand-mark { background: rgba(255,255,255,.6); }.light-theme .main-nav { border-color: rgba(42,76,125,.13); background: rgba(255,255,255,.45); }.light-theme .main-nav button { color: #637791; }.light-theme .main-nav button.is-active { background: rgba(55,126,205,.13); color: #16345a; }.light-theme .admin-link, .light-theme .icon-button { background: rgba(255,255,255,.6); color: #425c7f; }.light-theme .hero-subtitle, .light-theme .about-strip p, .light-theme .page-heading > p, .light-theme .album-heading-copy > p { color: #60738e; }.light-theme .choice-card, .light-theme .album-card, .light-theme .note-card { border-color: rgba(57,102,159,.14); background: rgba(255,255,255,.58); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 40px rgba(57,91,134,.09); }.light-theme .choice-description, .light-theme .album-card-description, .light-theme .note-text, .light-theme .photo-caption small { color: #647790; }.light-theme .choice-index, .light-theme .album-card-meta, .light-theme .section-stat, .light-theme .photo-caption b { color: #647994; }.light-theme .about-strip { border-color: rgba(57,102,159,.13); background: rgba(255,255,255,.45); }.light-theme .about-label, .light-theme .about-signoff { color: #637994; }.light-theme .content-page .back-link { color: #536d8c; }.light-theme .viewer-screen { color: #edf4ff; }
@media (max-width: 800px) { .app-main { width: min(100% - 42px, 660px); }.site-header { height: 70px; padding-inline: 21px; }.home-hero { min-height: unset; grid-template-columns: 1fr; padding: 72px 7px 65px; }.hero-main { padding-left: 10px; }.hero-main h1 { max-width: 620px; font-size: clamp(53px, 10vw, 75px); }.swim-scene { min-height: 355px; margin-top: 25px; }.hero-caption { bottom: 22px; left: 10px; }.home-choices { padding: 29px 10px 60px; }.about-strip { grid-template-columns: 1fr auto; gap: 10px; }.about-label { grid-column: 1 / -1; }.about-signoff { grid-column: 2; grid-row: 2; }.album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.album-art { height: 175px; }.photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.notes-grid { grid-template-columns: 1fr; }.viewer-screen { padding-inline: 22px; }.viewer-photo { max-height: min(67vh,720px); }.viewer-caption { padding-bottom: 52px; }.viewer-home-float { right: 21px; bottom: 19px; } }
@media (max-width: 540px) { .site-header { height: 65px; padding-inline: 15px; }.brand { gap: 7px; }.brand-mark { width: 31px; height: 31px; }.brand-name { font-size: 8px; letter-spacing: 1px; }.brand-name i { font-size: 6px; letter-spacing: 1.1px; }.main-nav { gap: 0; padding: 3px; }.main-nav button { padding: 8px 9px; font-size: 9px; }.header-actions { gap: 7px; }.icon-button { width: 31px; height: 31px; }.admin-link { padding: 8px 9px; font-size: 8px; }.app-main { width: calc(100% - 30px); }.home-hero { padding: 62px 3px 52px; }.hero-main { padding-inline: 4px; }.eyebrow { font-size: 8px; letter-spacing: 1.2px; }.hero-main h1 { margin-top: 20px; font-size: clamp(47px, 12vw, 61px); letter-spacing: -3.7px; }.hero-subtitle { font-size: 12px; }.hero-links { flex-wrap: wrap; gap: 14px; margin-top: 24px; }.hero-location { font-size: 6px; }.swim-scene { min-height: 300px; margin-top: 17px; transform: scale(.9); }.water-ring.ring-outer { width: 310px; }.hero-caption { left: 4px; gap: 9px; font-size: 6px; }.home-choices { padding: 28px 4px 48px; }.section-intro { align-items: flex-start; gap: 8px; }.section-intro h2 { font-size: 24px; }.section-stat { padding-top: 7px; font-size: 6px; letter-spacing: .4px; text-align: right; }.choice-grid { grid-template-columns: 1fr; gap: 10px; }.choice-card { min-height: 178px; padding: 21px; }.choice-index { top: 18px; left: 20px; }.choice-icon { top: 45px; right: 24px; transform: scale(.83) rotate(-12deg); }.icon-notes { transform: scale(.85); }.choice-title { font-size: 19px; }.about-strip { gap: 8px; padding: 17px 18px; }.about-strip p { font-size: 9px; }.about-signoff { font-size: 7px; }.site-footer { min-height: 57px; font-size: 6px; letter-spacing: .85px; }.site-footer button { right: 15px; font-size: 6px; }.content-page { padding: 31px 3px 61px; }.page-heading { padding-bottom: 25px; }.back-link { margin-bottom: 22px; }.page-heading h1 { font-size: 43px; }.page-heading > p, .album-heading-copy > p { font-size: 10px; }.album-grid { gap: 10px; }.album-art { height: 132px; }.album-card-copy { gap: 6px; padding: 13px 11px 14px; }.album-card-title { font-size: 11px; }.album-card-meta { font-size: 6px; letter-spacing: .4px; }.album-card-description { font-size: 8px; }.album-heading { align-items: flex-start; gap: 13px; }.album-heading .album-art { width: 91px; height: 100px; }.album-heading-copy { min-width: 0; }.album-heading-copy .back-link { margin-bottom: 13px; font-size: 11px; }.album-heading-copy h1 { overflow-wrap: anywhere; font-size: 30px; letter-spacing: -1.8px; }.album-heading-copy .eyebrow { font-size: 6px; letter-spacing: .7px; }.photo-grid { gap: 11px; }.photo-image { aspect-ratio: .94; border-radius: 10px; }.photo-caption { gap: 8px; padding-top: 9px; }.photo-caption b { font-size: 9px; }.photo-caption small { font-size: 8px; }.notes-grid { gap: 10px; }.note-card { min-height: 145px; grid-template-columns: 115px 1fr; }.note-image { min-height: 145px; }.note-card-copy { padding: 13px 11px 11px; }.note-card-copy b { font-size: 10px; }.note-text { font-size: 8px; }.viewer-screen { grid-template-rows: 57px 1fr auto; padding: 8px 14px 14px; }.viewer-home .brand-mark { width: 27px; height: 27px; }.viewer-photo { max-width: 100%; max-height: 64vh; border-radius: 8px; }.viewer-swim { transform: scale(.7); }.viewer-caption { grid-template-columns: 1fr; gap: 8px; padding: 5px 0 50px; }.viewer-caption h1 { font-size: 17px; }.viewer-caption p { font-size: 9px; }.viewer-control { font-size: 7px; }.viewer-counter { font-size: 8px; }.viewer-home-float { right: 14px; bottom: 12px; }.toast { right: 12px; bottom: 12px; left: 12px; text-align: center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Diary first, with a clear camera and handwritten pen cue for the next two spaces. */
.choice-diary { grid-column: 1 / -1; min-height: 150px; justify-content: center; padding-left: 31%; }
.choice-diary::before { top: -105px; right: 7%; width: 360px; height: 310px; background: radial-gradient(circle, rgba(47,122,208,.24), transparent 70%); }
.choice-diary .choice-index { top: 24px; left: 31%; }
.diary-card-copy { position: relative; display: grid; gap: 5px; }
.diary-card-copy .choice-title { margin: 0; font-size: 22px; }
.diary-card-copy .choice-description { font-size: 10px; }
.icon-diary { top: 50%; right: auto; left: 9%; width: 77px; height: 67px; color: #aad0ff; transform: translateY(-40%); }
.icon-diary svg, .icon-gallery svg, .icon-notes svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-diary .diary-page { fill: rgba(72,145,226,.14); stroke: rgba(147,196,255,.8); }
.icon-diary .diary-lines { stroke: rgba(189,222,255,.68); stroke-width: 1.3; }
.icon-diary .pen-body { fill: rgba(89,161,245,.38); stroke: #bedfff; stroke-width: 1.3; }
.icon-diary .pen-line { stroke: #8fc4ff; stroke-width: 1.3; stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .7s var(--ease); }
.choice-diary:hover .icon-diary .pen-line { stroke-dashoffset: 0; }
.diary-rules { position: absolute; top: 31px; right: 11%; width: 24%; height: 1px; background: linear-gradient(90deg, transparent, rgba(131,190,255,.22), transparent); box-shadow: 0 18px 0 rgba(131,190,255,.11), 0 37px 0 rgba(131,190,255,.08); transform: rotate(-12deg); }
.icon-gallery { top: 48px; right: 35px; width: 54px; height: 48px; color: #acd2ff; transform: rotate(-9deg); transition: transform .55s var(--ease); }
.icon-gallery svg { stroke-width: 2; filter: drop-shadow(0 7px 15px rgba(39,116,201,.25)); }
.icon-gallery svg circle:first-of-type { fill: rgba(71,146,232,.18); stroke: rgba(187,222,255,.9); }
.choice-gallery:hover .icon-gallery { transform: rotate(0) scale(1.08); }
.icon-notes { top: 40px; right: 34px; width: 56px; height: 56px; color: #acd2ff; transform: rotate(-8deg); transition: transform .55s var(--ease); }
.icon-notes svg { filter: drop-shadow(0 7px 15px rgba(39,116,201,.25)); }
.icon-notes .note-paper { fill: rgba(72,145,226,.13); stroke: rgba(147,196,255,.76); }
.icon-notes .paper-fold { stroke: rgba(193,223,255,.82); }
.icon-notes .note-lines { stroke: rgba(189,222,255,.61); stroke-width: 1.4; }
.icon-notes .pen-body { fill: rgba(89,161,245,.36); stroke: #c1e2ff; stroke-width: 1.2; }
.icon-notes .pen-line { stroke: #8fc4ff; stroke-width: 1.2; stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .7s var(--ease); }
.choice-notes:hover .icon-notes { transform: rotate(0) scale(1.07); }
.choice-notes:hover .icon-notes .pen-line { stroke-dashoffset: 0; }
.diary-list { display: grid; gap: 12px; max-width: 850px; }
.diary-entry { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 24px; min-height: 142px; padding: 24px 28px; overflow: hidden; border: 1px solid rgba(174,203,246,.14); border-radius: 14px; background: linear-gradient(110deg,rgba(20,33,54,.76),rgba(13,24,41,.61)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06),0 13px 34px rgba(0,0,0,.1); }
.diary-date { display: grid; align-content: start; gap: 9px; padding-top: 4px; color: #8bbbf1; font-family: 'DM Mono',monospace; }
.diary-date span { color: var(--blue-light); font-size: 19px; }
.diary-date time { color: #7689a4; font-size: 8px; letter-spacing: .5px; }
.diary-entry-copy { position: relative; z-index: 1; }
.diary-entry-copy h2 { margin: 0 0 9px; font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.diary-entry-copy p { max-width: 600px; margin: 0; color: #a0afc3; font-size: 10px; line-height: 1.9; white-space: pre-line; }
.diary-entry-mark { position: absolute; right: 19px; bottom: -14px; color: rgba(82,146,222,.13); font-size: 62px; }
.light-theme { --bg: #edf5ff; --bg-raised: #e1efff; --surface: rgba(255,255,255,.82); --text: #102b4e; --muted: #4e7096; --faint: #6683a5; --line: rgba(23,91,169,.18); background-image: radial-gradient(ellipse at 72% 12%,rgba(53,132,223,.17),transparent 37%),linear-gradient(180deg,rgba(255,255,255,.62),transparent 42%); }
.light-theme::before { opacity: .06; background-image: radial-gradient(rgba(19,83,155,.3) .5px,transparent .5px); }
.light-theme .site-header { border-color: rgba(20,86,159,.15); background: rgba(237,245,255,.82); }
.light-theme .main-nav { border-color: rgba(22,91,167,.17); background: rgba(255,255,255,.68); box-shadow: 0 4px 18px rgba(47,104,171,.08); }
.light-theme .main-nav button { color: #456c97; }
.light-theme .main-nav button.is-active { background: linear-gradient(120deg,rgba(20,101,194,.17),rgba(69,145,226,.12)); color: #123d6d; box-shadow: inset 0 1px 0 rgba(255,255,255,.85),0 3px 10px rgba(34,97,165,.1); }
.light-theme .admin-link, .light-theme .icon-button { border-color: rgba(28,97,174,.21); background: rgba(255,255,255,.8); color: #1e5896; }
.light-theme .hero-subtitle, .light-theme .about-strip p, .light-theme .page-heading > p, .light-theme .album-heading-copy > p { color: #496d95; }
.light-theme .eyebrow { color: #5279a3; }
.light-theme .choice-card, .light-theme .album-card, .light-theme .note-card, .light-theme .diary-entry { border-color: rgba(42,104,174,.17); background: linear-gradient(125deg,rgba(255,255,255,.84),rgba(226,239,255,.72)); box-shadow: inset 0 1px 0 rgba(255,255,255,.95),0 13px 38px rgba(42,93,150,.1); }
.light-theme .choice-description, .light-theme .album-card-description, .light-theme .note-text, .light-theme .photo-caption small, .light-theme .diary-entry-copy p { color: #4e6e92; }
.light-theme .choice-index, .light-theme .album-card-meta, .light-theme .section-stat, .light-theme .photo-caption b, .light-theme .diary-date time { color: #54769b; }
.light-theme .about-strip { border-color: rgba(42,104,174,.16); background: rgba(255,255,255,.62); }
.light-theme .about-label, .light-theme .about-signoff, .light-theme .diary-entry-copy h2 { color: #315d8d; }
.light-theme .content-page .back-link { color: #315c8e; }
.light-theme .site-footer { border-color: rgba(42,104,174,.17); color: #55779c; }
@media (max-width: 800px) {
  .choice-diary { padding-left: 30%; }
  .choice-diary .choice-index { left: 30%; }
  .icon-diary { left: 8%; }
  .diary-rules { right: 7%; width: 25%; }
}
@media (max-width: 540px) {
  .choice-diary { grid-column: 1; min-height: 170px; padding-left: 22px; justify-content: flex-end; }
  .choice-diary .choice-index { top: 18px; left: 20px; }
  .icon-diary { top: 43px; right: 25px; left: auto; width: 64px; height: 58px; transform: none; }
  .diary-card-copy { max-width: 78%; }
  .diary-card-copy .choice-title { font-size: 19px; }
  .diary-card-copy .choice-description { max-width: 245px; font-size: 9px; }
  .diary-rules { top: 103px; right: 11%; width: 31%; }
  .choice-gallery .icon-gallery { top: 43px; right: 23px; width: 44px; height: 40px; }
  .choice-notes .icon-notes { top: 39px; right: 22px; width: 47px; height: 47px; }
  .diary-entry { grid-template-columns: 1fr; gap: 11px; padding: 19px; }
  .diary-date { display: flex; align-items: center; gap: 10px; }
  .diary-date span { font-size: 13px; }
  .diary-entry-copy h2 { font-size: 14px; }
  .diary-entry-copy p { font-size: 9px; }
  .diary-entry-mark { font-size: 49px; }
  .light-theme .choice-diary { background: linear-gradient(120deg,rgba(255,255,255,.9),rgba(218,236,255,.84)); }
}

/* Replace the dotted page grain with thin, illuminated glass corner lines. */
body::before, body.light-theme::before { opacity: 0 !important; background-image: none !important; }
.home-hero { isolation: isolate; }
.home-hero::before, .content-page::before, .about-strip::after, .choice-card::after, .diary-entry::after, .album-card::after, .note-card::after {
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  content: '';
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(173,218,255,.48), transparent) left top / 70px 1px no-repeat,
    linear-gradient(180deg, rgba(173,218,255,.48), transparent) left top / 1px 50px no-repeat,
    linear-gradient(270deg, rgba(173,218,255,.3), transparent) right top / 70px 1px no-repeat,
    linear-gradient(180deg, rgba(173,218,255,.3), transparent) right top / 1px 50px no-repeat,
    linear-gradient(90deg, rgba(173,218,255,.24), transparent) left bottom / 55px 1px no-repeat,
    linear-gradient(0deg, rgba(173,218,255,.24), transparent) left bottom / 1px 35px no-repeat,
    linear-gradient(270deg, rgba(173,218,255,.38), transparent) right bottom / 55px 1px no-repeat,
    linear-gradient(0deg, rgba(173,218,255,.38), transparent) right bottom / 1px 35px no-repeat;
  filter: drop-shadow(0 0 5px rgba(82,146,222,.2));
  opacity: .65;
  transition: opacity .5s var(--ease), filter .5s var(--ease);
}
.home-hero::before { inset: 8px 0 17px; z-index: -1; border-radius: 18px; }
.content-page { position: relative; isolation: isolate; }
.content-page::before { inset: 20px 10px; z-index: -1; border-radius: 20px; opacity: .4; }
.about-strip { isolation: isolate; }
.about-strip::after { inset: 7px; border-radius: 9px; opacity: .52; }
.choice-card, .diary-entry, .album-card, .note-card { isolation: isolate; }
.choice-card::after, .diary-entry::after { inset: 9px; border-radius: 11px; opacity: .38; }
.album-card::after, .note-card::after { inset: 8px; z-index: 1; border-radius: 9px; opacity: .45; }
.choice-card:hover::after, .diary-entry:hover::after, .album-card:hover::after, .note-card:hover::after { opacity: .9; filter: drop-shadow(0 0 8px rgba(82,146,222,.35)); }
.home-hero .hero-main, .home-hero .orb-scene, .home-hero .hero-caption { position: relative; z-index: 1; }

/* A calm, sculpted blue glass orb keeps the hero abstract and personalizable. */
.orb-scene { position: relative; display: grid; min-height: 420px; place-items: center; overflow: hidden; perspective: 900px; transform-style: preserve-3d; }
.orb-scene::before { position: absolute; inset: 6% 4%; border: 1px solid rgba(172,205,250,.12); border-radius: 48% 52% 50% 50% / 45% 47% 53% 55%; background: linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.006) 52%,rgba(47,122,208,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 22px 80px rgba(0,0,0,.14); transform: rotate(-8deg); }
.orb-halo { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(47,122,208,.27); filter: blur(66px); }
.orb-ring { position: absolute; width: 300px; height: 116px; border: 1px solid rgba(164,207,255,.56); border-radius: 50%; box-shadow: inset 0 1px 1px rgba(255,255,255,.22),0 0 16px rgba(82,146,222,.13); transform-style: preserve-3d; }
.orb-ring.ring-outer { width: 355px; height: 150px; border-color: rgba(157,201,251,.42); transform: rotate(-27deg) rotateX(62deg); animation: orbit-rotate 24s linear infinite; }
.orb-ring.ring-mid { width: 312px; height: 122px; transform: rotate(45deg) rotateX(64deg); animation: orbit-rotate 18s linear infinite reverse; }
.orb-ring.ring-inner { width: 222px; height: 244px; border-color: rgba(145,191,245,.3); transform: rotateY(66deg) rotateZ(-19deg); }
.glass-orb { position: relative; z-index: 1; width: 158px; height: 158px; overflow: hidden; border: 1px solid rgba(222,242,255,.42); border-radius: 50%; background: radial-gradient(ellipse at 27% 16%,#e8f5ff 0%,#93c7fa 9%,#5292de 21%,#3686eb 41%,#2f7ad0 61%,#0259c7 82%,#081633 100%); box-shadow: inset -20px -21px 37px rgba(0,9,41,.62),inset 10px 10px 22px rgba(234,247,255,.54),0 12px 56px rgba(47,122,208,.35); animation: orb-drift 7s ease-in-out infinite; }
.glass-orb::after { position: absolute; inset: -16%; content: ''; border-radius: inherit; background: repeating-linear-gradient(155deg,transparent 0 18px,rgba(226,245,255,.13) 19px,transparent 20px 35px); mask-image: radial-gradient(ellipse at 42% 40%,black,transparent 74%); }
.orb-reflection { position: absolute; top: 20px; left: 27px; width: 50px; height: 19px; border-radius: 50%; background: rgba(240,249,255,.68); filter: blur(11px); transform: rotate(-38deg); }
.orb-glint { position: absolute; z-index: 2; width: 6px; height: 6px; border: 1px solid rgba(230,246,255,.9); border-radius: 50%; background: #cfe8ff; box-shadow: 0 0 16px 4px rgba(82,146,222,.7); animation: bubble-up 3.6s ease-in-out infinite; }
.glint-one { top: 24%; right: 23%; }.glint-two { bottom: 25%; left: 21%; width: 4px; height: 4px; animation-delay: -1.7s; }
.orb-caption { position: absolute; z-index: 3; left: 9%; right: 9%; color: #8da2be; font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 1.6px; text-align: center; }
.orb-caption.label-top { top: 13%; }.orb-caption.label-bottom { bottom: 12%; }
.cover-sphere { position: absolute; width: 84px; height: 84px; border: 1px solid rgba(218,240,255,.36); border-radius: 50%; background: radial-gradient(circle at 28% 23%,#d6edff,#5292de 23%,#1264bb 66%,#0a1834); box-shadow: inset -12px -14px 24px rgba(0,13,53,.54),inset 7px 7px 14px rgba(255,255,255,.35),0 0 42px rgba(47,122,208,.35); }
.cover-orbit { position: absolute; width: 230px; height: 82px; border: 1px solid rgba(174,214,255,.52); border-radius: 50%; box-shadow: 0 0 13px rgba(82,146,222,.11); }
.cover-orbit-one { transform: rotate(-25deg) rotateX(58deg); }.cover-orbit-two { width: 260px; height: 105px; transform: rotate(36deg) rotateX(59deg); border-color: rgba(125,184,245,.35); }.cover-orbit-three { width: 160px; height: 190px; transform: rotateY(65deg) rotateZ(-17deg); border-color: rgba(125,184,245,.28); }
.cover-glint { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #d9efff; box-shadow: 0 0 13px 4px rgba(82,146,222,.65); }
.viewer-orbit { position: absolute; z-index: 1; width: 330px; height: 330px; pointer-events: none; animation: atom-fade .95s .24s var(--ease) both; }
.orbit-track { position: absolute; top: 50%; left: 50%; width: 310px; height: 108px; margin: -54px 0 0 -155px; border: 1px solid rgba(135,192,255,.57); border-radius: 50%; box-shadow: 0 0 22px rgba(82,146,222,.11); transform: rotate(-26deg) rotateX(54deg); animation: orbit-rotate 10s linear infinite; }
.orbit-track.track-two { width: 270px; height: 132px; margin: -66px 0 0 -135px; border-color: rgba(100,166,237,.4); transform: rotate(48deg) rotateX(58deg); animation-duration: 13s; animation-direction: reverse; }
.orbit-track.track-three { width: 220px; height: 250px; margin: -125px 0 0 -110px; border-color: rgba(101,169,241,.27); transform: rotateY(64deg) rotateZ(-16deg); animation-duration: 17s; }
.orbit-dot { position: absolute; z-index: 2; top: 32px; right: 52px; width: 7px; height: 7px; border-radius: 50%; background: #d7eeff; box-shadow: 0 0 16px 5px rgba(82,146,222,.8); animation: bubble-up 2.3s ease-in-out infinite; }
@keyframes orbit-rotate { to { rotate: 360deg; } }

/* Slightly larger labels and supporting text for laptop and mobile reading. */
.main-nav button { font-size: 12px; }
.admin-link, .pill-button, .hero-subtitle { font-size: 12px; }
.eyebrow { font-size: 10px; }
.choice-index, .album-card-meta, .photo-number, .note-album, .note-card-footer, .footer-mark { font-size: 8px; }
.choice-description, .about-strip p, .page-heading > p, .album-heading-copy > p, .photo-caption small, .note-text, .diary-entry-copy p { font-size: 11px; }
.choice-title { font-size: 22px; }
.photo-caption b, .note-card-copy b { font-size: 12px; }
.footer-mark { color: var(--blue-light); font-size: 23px; text-shadow: 0 0 16px rgba(82,146,222,.5); }
.loading { font-size: 10px; }.page-loader { width: 38px; height: 38px; border: 1px solid rgba(93,167,249,.52); border-radius: 13px; box-shadow: inset 0 0 20px rgba(47,122,208,.2),0 0 25px rgba(47,122,208,.15); transform: rotate(45deg); animation: loader-pulse 1.5s ease-in-out infinite; }
.light-theme .orb-caption { color: #315d8e; }
@media (max-width: 800px) { .orb-scene { min-height: 355px; margin-top: 25px; } }
@media (max-width: 540px) {
  .orb-scene { min-height: 300px; margin-top: 17px; transform: scale(.9); }
  .orb-caption { font-size: 8px; }
  .choice-title { font-size: 20px; }
  .choice-description, .about-strip p, .page-heading > p, .photo-caption small, .note-text, .diary-entry-copy p { font-size: 10px; }
  .main-nav button { padding-inline: 8px; font-size: 10px; }
  .choice-diary { grid-column: 1; min-height: 170px; justify-content: flex-end; padding-left: 22px; }
  .choice-diary .choice-index { left: 20px; }
  .icon-diary { top: 43px; right: 25px; left: auto; width: 64px; height: 58px; transform: none; }
  .diary-card-copy { max-width: 78%; }
  .diary-rules { top: 103px; right: 11%; width: 31%; }
  .choice-gallery .icon-gallery { top: 43px; right: 23px; width: 44px; height: 40px; }
  .choice-notes .icon-notes { top: 39px; right: 22px; width: 47px; height: 47px; }
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.social-area { position: relative; z-index: 35; }
.social-trigger { display: inline-flex; min-height: 37px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid rgba(174,205,246,.17); border-radius: 999px; background: linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.018)); box-shadow: inset 0 1px 0 rgba(255,255,255,.13),0 5px 16px rgba(0,0,0,.12); color: #c3d6ef; cursor: pointer; font-size: 10px; transition: transform .4s var(--ease),border-color .4s,box-shadow .4s,background .4s; backdrop-filter: blur(14px); }
.social-trigger:hover, .social-area.is-open .social-trigger { transform: translateY(-1px); border-color: rgba(126,187,250,.46); box-shadow: inset 0 1px 0 rgba(255,255,255,.18),0 7px 22px rgba(29,92,163,.18); background: linear-gradient(145deg,rgba(63,130,205,.18),rgba(255,255,255,.035)); }
.social-trigger > svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; color: #9ac9ff; }
.social-label { white-space: nowrap; }.social-chevron { margin-left: 1px; color: #8299b7; font-size: 13px; line-height: 1; transition: transform .35s var(--ease); }.social-area.is-open .social-chevron { transform: rotate(180deg); }
.social-popover[hidden] { display: none; }
.social-popover { position: absolute; top: calc(100% + 27px); right: 0; width: min(282px,calc(100vw - 28px)); padding: 17px; border: 1px solid rgba(170,207,251,.23); border-radius: 17px; background: linear-gradient(145deg,rgba(15,29,49,.94),rgba(9,18,32,.91)); box-shadow: inset 0 1px 0 rgba(255,255,255,.13),0 18px 48px rgba(0,0,0,.35),0 0 32px rgba(44,119,205,.12); opacity: 0; transform: translateY(-7px) scale(.98); transform-origin: top right; transition: opacity .22s var(--ease),transform .38s var(--ease); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); }
.social-popover.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.social-popover::after { position: absolute; inset: 8px; border: 1px solid rgba(164,208,255,.08); border-radius: 11px; content: ''; pointer-events: none; }
.social-popover-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: #9eafc7; font-family: 'DM Mono',monospace; font-size: 8px; letter-spacing: 1.35px; }.social-sparkle { color: #9ecbff; font-size: 15px; text-shadow: 0 0 11px rgba(82,146,222,.65); }
.social-links { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.social-link-tile { display: grid; min-width: 0; aspect-ratio: 1; place-items: center; border: 1px solid rgba(172,206,246,.16); border-radius: 12px; background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.014)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 5px 16px rgba(0,0,0,.13); color: #c5e0ff; transition: transform .4s var(--ease),border-color .35s,background .35s,box-shadow .4s; }
.social-link-tile:hover { transform: translateY(-3px) scale(1.04); border-color: rgba(135,194,255,.58); background: rgba(57,119,187,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 8px 22px rgba(31,97,169,.23),0 0 12px rgba(82,146,222,.14); }
.social-link-tile svg { width: 23px; height: 23px; fill: currentColor; }.social-link-tile svg[stroke] { fill: none; }.social-link-tile .icon-dot { fill: currentColor; stroke: none; }
.social-empty { position: relative; z-index: 1; margin: 3px 0 0; padding: 15px 12px; border: 1px dashed rgba(172,206,246,.2); border-radius: 10px; color: #93a6c0; font-size: 10px; line-height: 1.6; text-align: center; }.social-empty[hidden] { display: none; }
.light-theme .social-trigger { border-color: rgba(29,97,172,.21); background: linear-gradient(145deg,rgba(255,255,255,.94),rgba(222,239,255,.84)); box-shadow: inset 0 1px 0 white,0 5px 15px rgba(31,91,151,.11); color: #215487; }
.light-theme .social-trigger > svg { color: #1768b9; }
.light-theme .social-popover { border-color: rgba(36,105,177,.22); background: linear-gradient(145deg,rgba(246,251,255,.97),rgba(222,239,255,.96)); box-shadow: inset 0 1px 0 white,0 18px 48px rgba(28,79,133,.2),0 0 32px rgba(44,119,205,.11); }
@media (max-width: 540px) { .site-header { height: 101px; align-items: flex-start; padding-top: 14px; }.main-nav { top: 58px; left: 50%; }.social-trigger { gap: 5px; min-height: 31px; padding-inline: 7px; font-size: 8px; }.social-trigger > svg { width: 14px; height: 14px; }.social-chevron { font-size: 10px; }.social-popover { top: calc(100% + 25px); }.social-links { gap: 8px; } }

/* A soft left-to-right wave reveals social icons and their names. */
.social-popover.is-visible { animation: social-popover-in .42s var(--ease) both; }
.social-links { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; clip-path: polygon(0 0,0 0,0 16%,0 32%,0 48%,0 64%,0 80%,0 100%,0 100%); }
.social-popover.is-visible .social-links { animation: social-wave-reveal .82s .05s var(--ease) both; }
.social-link-tile { position: relative; display: flex; min-width: 0; min-height: 53px; align-items: center; gap: 11px; padding: 8px 10px; border: 1px solid rgba(172,206,246,.2); border-radius: 11px; background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 5px 14px rgba(0,0,0,.12); color: #d7e9ff; opacity: 0; transform: translateX(-12px); transition: transform .35s var(--ease),border-color .3s,background .3s,box-shadow .35s; }
.social-popover.is-visible .social-link-tile { animation: social-item-appear .42s var(--ease) both; }
.social-popover.is-visible .social-link-tile:nth-child(1) { animation-delay: .12s; }
.social-popover.is-visible .social-link-tile:nth-child(2) { animation-delay: .185s; }
.social-popover.is-visible .social-link-tile:nth-child(3) { animation-delay: .25s; }
.social-popover.is-visible .social-link-tile:nth-child(4) { animation-delay: .315s; }
.social-popover.is-visible .social-link-tile:nth-child(5) { animation-delay: .38s; }
.social-popover.is-visible .social-link-tile:nth-child(6) { animation-delay: .445s; }
.social-popover.is-visible .social-link-tile:nth-child(7) { animation-delay: .51s; }
.social-popover.is-visible .social-link-tile:nth-child(8) { animation-delay: .575s; }
.social-popover.is-visible .social-link-tile:nth-child(9) { animation-delay: .64s; }
.social-popover.is-visible .social-link-tile:nth-child(10) { animation-delay: .705s; }
.social-popover.is-visible .social-link-tile:nth-child(11) { animation-delay: .77s; }
.social-link-tile:hover, .social-link-tile:focus-visible { transform: translateX(2px); border-color: rgba(134,194,255,.6); background: rgba(67,129,193,.19); box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 8px 18px rgba(0,0,0,.2),0 0 13px rgba(82,146,222,.16); }
.social-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(162,202,246,.18); border-radius: 9px; background: rgba(255,255,255,.06); color: #b9d9ff; }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }.social-icon svg[stroke] { fill: none; }.social-icon .icon-dot { fill: currentColor; stroke: none; }
.social-name { overflow: hidden; color: inherit; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.social-arrow { margin-left: auto; color: #82b6ee; font-size: 12px; opacity: .65; transition: transform .3s var(--ease),opacity .3s; }.social-link-tile:hover .social-arrow { transform: translate(2px,-2px); opacity: 1; }
.social-empty { margin-top: 5px; }
.light-theme .social-link-tile { border-color: rgba(29,81,138,.22); background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(222,237,255,.91)); color: #1a3d62; box-shadow: inset 0 1px 0 #fff,0 5px 13px rgba(20,54,91,.15); }
.light-theme .social-link-tile:hover, .light-theme .social-link-tile:focus-visible { border-color: rgba(12,83,158,.5); background: #e4f0ff; box-shadow: inset 0 1px 0 #fff,0 8px 17px rgba(19,53,90,.21); }
.light-theme .social-icon { border-color: rgba(35,91,150,.2); background: rgba(221,237,255,.8); color: #145994; }
.light-theme .social-name { color: #163957; }.light-theme .social-arrow { color: #115da7; }
@keyframes social-popover-in { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes social-wave-reveal {
  0% { clip-path: polygon(0 0,0 0,0 14%,0 28%,0 42%,0 56%,0 70%,0 84%,0 100%,0 100%); }
  55% { clip-path: polygon(0 0,67% 0,60% 14%,70% 28%,60% 42%,69% 56%,59% 70%,68% 84%,60% 100%,0 100%); }
  100% { clip-path: polygon(0 0,100% 0,100% 14%,100% 28%,100% 42%,100% 56%,100% 70%,100% 84%,100% 100%,0 100%); }
}
@keyframes social-item-appear { to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .social-popover.is-visible, .social-popover.is-visible .social-links, .social-popover.is-visible .social-link-tile { animation: none !important; clip-path: none; opacity: 1; transform: none; }.social-link-tile { transition: none !important; } }
@media (max-width: 380px) { .social-popover { width: min(300px,calc(100vw - 24px)); }.social-links { grid-template-columns: 1fr; }.social-link-tile { min-height: 49px; } }

.scroll-reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px) scale(.985);
  transition: opacity .58s var(--ease), filter .58s var(--ease), transform .68s var(--ease);
  will-change: opacity, transform, filter;
}
.scroll-reveal.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  transition-delay: var(--scroll-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal, .scroll-reveal.is-revealed {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Increase light-mode contrast for text and interactive surfaces. */
body.light-theme {
  --bg: #eaf3ff;
  --bg-raised: #dceaff;
  --text: #10243d;
  --muted: #354e6b;
  --faint: #506783;
  --line: rgba(18, 57, 103, .22);
}
.light-theme .hero-subtitle,
.light-theme .about-strip p,
.light-theme .page-heading > p,
.light-theme .album-heading-copy > p,
.light-theme .choice-description,
.light-theme .album-card-description,
.light-theme .note-text,
.light-theme .photo-caption small,
.light-theme .diary-entry-copy p { color: #304967; }
.light-theme .eyebrow,
.light-theme .choice-index,
.light-theme .section-stat,
.light-theme .album-card-meta,
.light-theme .note-album,
.light-theme .diary-date time,
.light-theme .about-label,
.light-theme .about-signoff { color: #365675; }
.light-theme .photo-caption b,
.light-theme .note-card-copy b,
.light-theme .diary-entry-copy h2 { color: #122b49; }
.light-theme .main-nav { border-color: rgba(22,73,132,.25); background: rgba(255,255,255,.82); box-shadow: 0 6px 18px rgba(19,49,82,.13); }
.light-theme .main-nav button { color: #294768; }
.light-theme .main-nav button:hover { background: rgba(37,105,181,.1); color: #102f52; }
.light-theme .main-nav button.is-active { border: 1px solid rgba(27,91,159,.24); background: linear-gradient(135deg,#d9eaff,#c8def8); color: #0e335e; box-shadow: inset 0 1px 0 #fff,0 4px 12px rgba(23,69,119,.17); }
.light-theme .choice-card,
.light-theme .album-card,
.light-theme .note-card,
.light-theme .diary-entry { border-color: rgba(20,70,125,.24); box-shadow: inset 0 1px 0 rgba(255,255,255,.95),0 12px 30px rgba(20,48,80,.14); }
.light-theme .choice-card:hover,
.light-theme .album-card:hover,
.light-theme .note-card:hover,
.light-theme .diary-entry:hover { border-color: rgba(15,83,157,.43); box-shadow: inset 0 1px 0 #fff,0 18px 38px rgba(17,48,84,.2),0 0 20px rgba(44,119,205,.1); }
.light-theme .pill-button { border-color: rgba(4,53,111,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.47),0 7px 18px rgba(7,54,107,.29); }
.light-theme .pill-button:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55),0 12px 25px rgba(7,54,107,.36); }
.light-theme .social-trigger,
.light-theme .icon-button { border-color: rgba(18,70,129,.27); box-shadow: inset 0 1px 0 #fff,0 5px 15px rgba(20,49,81,.17); color: #153b64; }
.light-theme .social-trigger:hover,
.light-theme .social-area.is-open .social-trigger,
.light-theme .icon-button:hover { border-color: rgba(15,82,155,.48); box-shadow: inset 0 1px 0 #fff,0 8px 20px rgba(18,56,98,.23); }
.light-theme .back-link,
.light-theme .site-footer button { color: #244b74; }
.light-theme .content-page .back-link { color: #244b74; }
.light-theme .back-link:hover,
.light-theme .content-page .back-link:hover,
.light-theme .site-footer button:hover { color: #0759ad; }
.light-theme .empty-state { border-color: rgba(20,70,125,.3); background: rgba(255,255,255,.72); box-shadow: 0 10px 25px rgba(20,48,80,.1); }
.light-theme .empty-state p { color: #405b79; }
.light-theme .about-strip { border-color: rgba(20,70,125,.22); background: rgba(255,255,255,.76); box-shadow: 0 8px 22px rgba(20,48,80,.1); }
.light-theme .social-popover { border-color: rgba(18,69,126,.3); box-shadow: inset 0 1px 0 #fff,0 18px 42px rgba(16,42,73,.24),0 0 22px rgba(44,119,205,.13); }

.reaction-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.reaction-label { margin-right: 3px; color: var(--faint); font-family: 'DM Mono',monospace; font-size: 8px; letter-spacing: .65px; text-transform: uppercase; }
.reaction-bar button { display: inline-flex; min-width: 48px; min-height: 30px; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border: 1px solid rgba(154,196,243,.16); border-radius: 999px; background: rgba(255,255,255,.035); color: #a9c3e2; cursor: pointer; font-size: 11px; transition: background .28s var(--ease),border-color .28s,color .28s,transform .28s var(--ease); }
.reaction-bar button:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(100,169,242,.48); background: rgba(47,122,208,.12); color: #e3f1ff; }
.reaction-bar button:disabled { cursor: wait; opacity: .55; }
.reaction-bar button.is-selected { border-color: rgba(89,157,231,.48); background: rgba(47,122,208,.19); color: #c4e0ff; }
.reaction-bar button[data-reaction-vote="like"] > span:first-child { color: #8dbaf0; }
.reaction-bar button.is-selected[data-reaction-vote="like"] > span:first-child { color: #ff9bc0; }
.reaction-status { min-width: 90px; color: var(--faint); font-size: 9px; }
.viewer-reactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; width: min(850px,calc(100% - 42px)); margin: 20px auto 60px; }
.viewer-reactions .reaction-bar { justify-content: center; }
.about-strip .reaction-bar { position: relative; z-index: 1; grid-column: 1 / -1; margin-top: 8px; }
.diary-entry-copy .reaction-bar { margin-top: 15px; }
.light-theme .reaction-label { color: #496b8e; }
.light-theme .reaction-bar button { border-color: rgba(25,75,132,.2); background: rgba(255,255,255,.66); color: #244769; }
.light-theme .reaction-bar button:hover:not(:disabled),.light-theme .reaction-bar button.is-selected { border-color: rgba(20,91,165,.39); background: #deedff; color: #123b66; }

/* Reactions stay attached to their individual photo and note cards. */
.photo-item,.note-item { min-width: 0; }
.photo-item .reaction-bar { margin: 0 2px 8px; }
.note-item .note-card { width: 100%; }
.note-item .reaction-bar { margin: 8px 7px 12px; }

/* Keep the social control icon-only until it is approached or opened. */
.social-trigger { width: 36px; min-width: 36px; justify-content: flex-start; gap: 0; padding-inline: 9px; overflow: hidden; transition: width .42s var(--ease), min-width .42s var(--ease), gap .3s var(--ease), padding .3s var(--ease), transform .4s var(--ease), border-color .4s, box-shadow .4s, background .4s; }
.social-trigger > svg { width: 13px; height: 13px; flex: 0 0 13px; }
.social-at { display: inline-grid; width: 16px; height: 17px; flex: 0 0 16px; place-items: center; color: #b6c8df; font-family: Arial, sans-serif; font-size: 17px; font-weight: 500; line-height: 1; }
.light-theme .social-at { color: #425c7f; }
.theme-button { border-color: rgba(174,205,246,.24); background: linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14),0 5px 16px rgba(0,0,0,.13); }
.theme-button:hover { transform: translateY(-2px); }
.theme-glyph { display: grid; width: 20px; height: 20px; place-items: center; color: inherit; transition: transform .35s var(--ease); }
.theme-glyph svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; animation: theme-icon-arrive .35s var(--ease) both; }
.theme-button:hover .theme-glyph { transform: rotate(12deg) scale(1.08); }
.light-theme .theme-button { border-color: rgba(42,99,159,.22); background: linear-gradient(145deg,rgba(255,255,255,.92),rgba(226,239,255,.74)); box-shadow: inset 0 1px 0 white,0 5px 15px rgba(31,91,151,.1); color: #33577d; }
@keyframes theme-icon-arrive { from { opacity: .55; transform: scale(.72) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

/* Album artwork: soft halo above, diagonal shade below, title in the shade. */
.album-art > img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album-art::before { position: absolute; z-index: 1; inset: -18%; background: radial-gradient(ellipse at 91% 5%,rgba(139,197,255,.4),rgba(69,139,218,.13) 25%,transparent 53%); content: ''; pointer-events: none; }
.album-art::after { z-index: 2; background: linear-gradient(45deg,rgba(3,9,19,.86) 0%,rgba(4,11,23,.67) 33%,rgba(5,13,25,.2) 69%,rgba(5,13,25,.04) 100%); pointer-events: none; }
.album-cover-title { position: absolute; z-index: 3; right: 18px; bottom: 16px; left: 18px; overflow: hidden; color: #f2f7ff; font-size: clamp(16px,1.8vw,22px); font-weight: 700; letter-spacing: -.6px; line-height: 1.2; text-align: left; text-overflow: ellipsis; text-shadow: 0 2px 16px rgba(0,0,0,.5); white-space: nowrap; }
.album-card-copy { grid-template-columns: 1fr; gap: 8px; }
.album-card-description { grid-column: 1; }
.field select { width: 100%; min-width: 0; padding: 11px 34px 11px 12px; border: 1px solid rgba(164,196,237,.15); border-radius: 8px; outline: none; appearance: none; background: rgba(6,13,24,.43); color: #e5eefb; font-family: 'Manrope',sans-serif; font-size: 10px; line-height: 1.65; transition: border-color .3s,background .3s,box-shadow .3s; }
.field select:focus { border-color: rgba(93,162,237,.55); background: rgba(8,20,37,.69); box-shadow: 0 0 0 3px rgba(47,122,208,.1); }
.field select option { background: #101827; color: #e5eefb; }
.light-theme .field select { border-color: rgba(42,104,174,.2); background-color: rgba(244,249,255,.84); color: #18395e; }
.light-theme .field select option { background: #eef6ff; color: #17385b; }
@media (max-width: 540px) { .album-cover-title { right: 12px; bottom: 12px; left: 12px; font-size: 15px; } }

/* Album pages gently zoom out into place, including browser back navigation. */
#app { view-transition-name: album-content; }
::view-transition-group(album-content) { animation-duration: .58s; }
::view-transition-old(album-content) { animation: album-route-exit .42s var(--ease) both; }
::view-transition-new(album-content) { animation: album-route-arrive .58s var(--ease) both; }
.gallery-content-page, .album-content-page { animation: album-page-zoom-out .72s var(--ease) both; }
.gallery-content-page.screen-enter > *, .album-content-page.screen-enter > * { animation: none; }
html.album-route-transition .gallery-content-page, html.album-route-transition .album-content-page { animation: none; }
html.album-route-transition .gallery-content-page > *, html.album-route-transition .album-content-page > * { animation: none; }
@keyframes album-route-exit { to { opacity: 0; filter: blur(5px); transform: scale(.955); } }
@keyframes album-route-arrive { from { opacity: 0; filter: blur(5px); transform: scale(1.065); } to { opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes album-page-zoom-out { from { opacity: 0; filter: blur(8px); transform: scale(1.075); } to { opacity: 1; filter: blur(0); transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .gallery-content-page, .album-content-page { animation: none !important; } }
.album-grid { perspective: 1100px; }
.album-card { position: relative; z-index: 0; transform-origin: center; }
.album-card:hover, .album-card:focus-visible { z-index: 2; transform: translateY(-5px) scale(1.035); border-color: rgba(131,185,248,.48); box-shadow: 0 26px 58px rgba(0,0,0,.28),0 0 34px rgba(47,122,208,.14); }
.album-card:focus-visible { outline: 2px solid rgba(122,185,248,.72); outline-offset: 4px; }
.album-card:hover .album-art > img, .album-card:focus-visible .album-art > img { transform: scale(1.12); filter: saturate(1.12); }
.album-card:hover .album-art::before, .album-card:focus-visible .album-art::before { opacity: 1; transform: scale(1.12); }
.album-art::before { transition: opacity .6s var(--ease), transform .85s var(--ease); opacity: .78; }
.album-card:active { transform: translateY(-1px) scale(.985); }
@media (prefers-reduced-motion: reduce) {
  .album-card, .album-art > img, .album-art::before { transition: none !important; }
  .album-card:hover, .album-card:focus-visible, .album-card:active { transform: none; }
}
.social-label { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .38s var(--ease), opacity .2s ease .04s; }
.social-chevron { display: none; }
.social-trigger:hover, .social-trigger:focus-visible, .social-area.is-open .social-trigger { width: 132px; min-width: 132px; gap: 8px; padding-inline: 11px; }
.social-trigger:hover .social-label, .social-trigger:focus-visible .social-label, .social-area.is-open .social-label { max-width: 96px; opacity: 1; }
.social-trigger:hover .social-chevron, .social-trigger:focus-visible .social-chevron, .social-area.is-open .social-chevron { display: inline; margin-left: auto; }
@media (max-width: 540px) {
  .social-trigger { width: 31px; min-width: 31px; min-height: 31px; padding-inline: 7px; }
  .social-trigger > svg { width: 13px; height: 13px; flex-basis: 13px; }
  .social-at { width: 15px; height: 16px; flex-basis: 15px; font-size: 16px; }
  .social-trigger:hover, .social-trigger:focus-visible, .social-area.is-open .social-trigger { width: 126px; min-width: 126px; }
}
.light-theme .reaction-status { color: #506b88; }
@media (max-width: 540px) { .viewer-reactions { flex-direction: column; align-items: center; gap: 4px; margin-top: 13px; }.reaction-status { flex-basis: 100%; text-align: center; } }

/* Branded Cloudflare Pages not-found screen. */
.not-found-main { position: relative; display: grid; min-height: calc(100svh - 70px); place-items: center; width: min(1120px,calc(100% - 44px)); margin: 0 auto; padding: 56px 0 80px; }
.not-found-card { position: relative; display: grid; width: min(760px,100%); justify-items: center; padding: clamp(34px,7vw,72px) 28px; overflow: hidden; border: 1px solid rgba(161,200,247,.17); border-radius: 28px; background: linear-gradient(145deg,rgba(21,37,60,.78),rgba(11,19,34,.72)); box-shadow: inset 0 1px 0 rgba(255,255,255,.09),0 30px 90px rgba(0,0,0,.25),0 0 70px rgba(47,122,208,.08); text-align: center; isolation: isolate; }
.not-found-card::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 12%,rgba(47,122,208,.2),transparent 52%); content: ''; }
.not-found-orbit { position: relative; display: grid; width: 156px; height: 156px; place-items: center; margin-bottom: 24px; border: 1px solid rgba(116,180,251,.26); border-radius: 50%; background: radial-gradient(circle,rgba(47,122,208,.14),rgba(11,20,36,.18) 62%,transparent 63%); box-shadow: inset 0 0 32px rgba(47,122,208,.12),0 0 45px rgba(47,122,208,.1); animation: not-found-float 5s ease-in-out infinite; }
.not-found-orbit::before,.not-found-orbit::after { position: absolute; width: 128px; height: 48px; border: 1px solid rgba(107,172,242,.62); border-radius: 50%; content: ''; transform: rotate(-28deg); box-shadow: 0 0 15px rgba(47,122,208,.12); }
.not-found-orbit::after { width: 138px; height: 58px; border-color: rgba(144,202,255,.38); transform: rotate(43deg); }
.not-found-orbit span { color: #e1f0ff; font-family: 'DM Mono',monospace; font-size: 29px; letter-spacing: -2px; text-shadow: 0 0 20px rgba(82,146,222,.7); }
.not-found-orbit i { position: absolute; top: 35px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: #bfe0ff; box-shadow: 0 0 14px 4px rgba(82,146,222,.7); }
.not-found-label { margin: 0 0 13px; color: #8fbdf0; font-family: 'DM Mono',monospace; font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; }
.not-found-card h1 { margin: 0; color: var(--text); font-size: clamp(34px,6vw,56px); font-weight: 600; letter-spacing: -2.8px; }
.not-found-copy { max-width: 410px; margin: 14px 0 27px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.not-found-actions a,.not-found-actions button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid rgba(159,199,246,.2); border-radius: 999px; background: rgba(255,255,255,.045); color: #d4e8ff; cursor: pointer; font-size: 12px; transition: transform .35s var(--ease),border-color .35s,background .35s,box-shadow .35s; }
.not-found-actions a { border-color: rgba(151,202,255,.4); background: linear-gradient(110deg,#0752b4,#2f7ad0 55%,#5292de); box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 8px 22px rgba(8,75,157,.32); color: white; }
.not-found-actions a:hover,.not-found-actions button:hover { transform: translateY(-2px); border-color: rgba(164,210,255,.65); box-shadow: 0 10px 24px rgba(8,75,157,.25); }
.light-theme .not-found-card { border-color: rgba(20,70,125,.22); background: linear-gradient(145deg,rgba(255,255,255,.88),rgba(222,238,255,.87)); box-shadow: inset 0 1px 0 white,0 25px 70px rgba(24,63,106,.16),0 0 55px rgba(47,122,208,.09); }
.light-theme .not-found-label { color: #185b9f; }
.light-theme .not-found-copy { color: #354f6b; }
.light-theme .not-found-actions button { border-color: rgba(26,78,135,.23); background: rgba(255,255,255,.76); color: #173d66; }
@keyframes not-found-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@media (max-width: 540px) { .not-found-main { width: calc(100% - 28px); min-height: calc(100svh - 48px); padding: 28px 0 45px; }.not-found-card { border-radius: 22px; }.not-found-orbit { width: 132px; height: 132px; }.not-found-orbit::before { width: 108px; }.not-found-orbit::after { width: 116px; }.not-found-copy { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .not-found-orbit { animation: none; }.not-found-actions a,.not-found-actions button { transition: none; } }
