:root {
    --navy-950: #0d1426;
    --navy-900: #111d36;
    --navy-800: #1b2a4a;
    --navy-700: #2e4374;
    --cream: #f7f4ed;
    --paper: #fffdf8;
    --ink: #17223b;
    --muted: #667086;
    --gold: #e0b875;
    --gold-soft: #ead5af;
    --rose: #d9a6a1;
    --lavender: #9faed7;
    --line: rgba(27, 42, 74, .13);
    --shadow: 0 24px 70px rgba(13, 20, 38, .12);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.65; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.grain { display:none; }
.site-header { position: sticky; top: 0; z-index: 100; height: 82px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; background: rgba(13, 20, 38, .985); color: white; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 44px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: rgba(212,175,122,.1); transform: rotate(-4deg); }
.brand-mark svg { width: 30px; height: 30px; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark.small { width: 40px; border-radius: 12px; }
.brand-copy { font-family: var(--serif); line-height: 1; }
.brand-copy b { font-size: 23px; font-weight: 600; letter-spacing: -.7px; }
.brand-copy b span { color: var(--gold); }
.brand-copy small { display: block; margin-top: 4px; color: var(--gold-soft); font: 9px var(--sans); letter-spacing: 2.2px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.site-nav a { position: relative; color: rgba(255,255,255,.74); font-size: 13px; letter-spacing: .3px; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: white; }
.site-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.nav-toggle { display: none; color: white; background: none; border: 0; font-size: 24px; }

.hero { position: relative; min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; overflow: hidden; padding: 80px clamp(24px, 8vw, 128px); color: white; background: radial-gradient(circle at 75% 25%, rgba(46,67,116,.8), transparent 35%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.hero::before { content: ""; position: absolute; z-index: 1; width: 380px; height: 380px; left: -190px; bottom: -190px; border: 1px solid rgba(212,175,122,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(212,175,122,.025), 0 0 0 140px rgba(212,175,122,.02); }
.hero-atmosphere { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.hero-aurora { position: absolute; display: block; border-radius: 50%; animation: aurora-float 11s ease-in-out infinite alternate; will-change:transform; }
.aurora-one { width: 680px; height: 420px; top: -120px; right: 8%; opacity: .27; background: radial-gradient(ellipse, rgba(159,174,215,.82), rgba(67,84,134,.2) 52%, transparent 72%); transform: rotate(-12deg); }
.aurora-two { width: 580px; height: 380px; left: 19%; bottom: -210px; opacity: .15; background: radial-gradient(ellipse, rgba(217,166,161,.68), rgba(224,184,117,.16) 48%, transparent 72%); animation-delay: -4s; }
.hero-stars { position: absolute; inset: -80px; opacity: .45; background-image: radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.5px), radial-gradient(circle, rgba(212,175,122,.85) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(255,255,255,.45) 0 .7px, transparent 1.2px); background-size: 113px 127px, 173px 149px, 79px 91px; background-position: 22px 17px, 61px 83px, 11px 51px; mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.28) 34%, #000 62%, rgba(0,0,0,.7)); animation: star-drift 32s linear infinite; will-change:transform; }
.hero-time-orb { position:absolute; z-index:0; width:108px; height:108px; right:11%; top:9%; border-radius:50%; opacity:.72; animation:orb-breathe 8s ease-in-out infinite alternate; will-change:transform; }
.hero-orbit { position: absolute; display: block; border: 1px solid rgba(212,175,122,.14); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 720px; height: 270px; right: -110px; top: 25%; }
.orbit-two { width: 470px; height: 170px; right: 20px; top: 36%; border-color: rgba(255,255,255,.07); }
.hero-constellation { position: absolute; width: 270px; right: 5.5%; bottom: 8%; opacity: .2; overflow: visible; }
.hero-constellation path { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 7; }
.hero-constellation circle { fill: var(--gold); animation: constellation-pulse 3s ease-in-out infinite alternate; }
.hero-cat-scene { position:absolute; width:min(440px,34vw); right:-1.5%; bottom:-28px; opacity:.46; overflow:visible; animation:cat-scene-float 6s ease-in-out infinite alternate; }
.cat-moon { fill:rgba(159,174,215,.06); stroke:rgba(159,174,215,.25); stroke-width:1.4; stroke-dasharray:4 9; }
.cat-body { fill:rgba(159,174,215,.09); stroke:rgba(224,184,117,.63); stroke-width:2; }
.cat-head { fill:rgba(159,174,215,.13); stroke:rgba(244,220,178,.88); stroke-width:2.2; stroke-linejoin:round; }
.cat-inner-ear,.cat-face,.cat-paws-front,.cat-eyes { stroke:rgba(234,213,175,.78); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.cat-eyes { transform-box:fill-box; transform-origin:center; animation:cat-blink 5s ease-in-out infinite; }
.cat-tail { stroke:rgba(224,184,117,.83); stroke-width:11; stroke-linecap:round; transform-box:fill-box; transform-origin:left center; animation:cat-tail-sway 2.8s ease-in-out infinite alternate; }
.cat-cheeks { fill:rgba(217,166,161,.8); filter:drop-shadow(0 0 8px rgba(217,166,161,.25)); }
.cat-paws { fill:rgba(217,166,161,.72); }
.cat-paw { opacity:0; animation:paw-step 4.8s ease-in-out infinite; }
.paw-two { animation-delay:1s; }
.paw-three { animation-delay:2s; }
.cat-yarn { stroke:rgba(224,184,117,.88); stroke-width:2; stroke-linecap:round; }
.cat-yarn circle { fill:rgba(217,166,161,.16); }
.cat-yarn path { transform-box:fill-box; transform-origin:center; animation:yarn-roll 7s linear infinite; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.time-mood { width:max-content; margin:-2px 0 20px; padding:7px 12px; display:flex; align-items:center; gap:8px; color:rgba(255,255,255,.68); border:1px solid rgba(255,255,255,.11); border-radius:99px; background:rgba(13,20,38,.16); font-size:10px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
.time-mood-dot { width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(224,184,117,.12); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--gold-soft); font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 35px; height: 1px; background: var(--gold); }
.hero h1 { margin: 0; font: 600 clamp(60px, 8vw, 112px)/.88 var(--serif); letter-spacing: -5px; }
.hero h1 em { display: inline; color: var(--gold); font-weight: 600; }
.hero-lead { max-width: 510px; margin: 30px 0; color: rgba(255,255,255,.7); font-size: clamp(15px, 1.5vw, 18px); }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy-950); background: var(--gold); }
.btn-outline { color: white; border-color: rgba(255,255,255,.3); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.hero-visual { position: relative; z-index: 1; min-height: 560px; }
.hero-card { position: absolute; z-index: 3; width: min(290px, 60%); padding: 12px 12px 56px; background: #fdfaf3; box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: rotate(5deg); right: 7%; top: 8%; }
.hero-card.secondary { z-index: 2; width: min(250px, 54%); left: 3%; top: 38%; transform: rotate(-8deg); }
.photo-placeholder { position: relative; aspect-ratio: .86; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, #798aad, #22375f 55%, #111d36); }
.hero-photo { position: relative; aspect-ratio: .86; overflow: hidden; background: linear-gradient(105deg, #d8dce5 20%, #f6f3eb 38%, #d8dce5 56%); background-size: 220% 100%; animation: shimmer 1.25s linear infinite; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.hero-photo.loaded { animation: none; background: #d8dce5; }
.hero-photo.loaded img { opacity: 1; }
.photo-placeholder::before { content: ""; width: 46%; aspect-ratio: 1; border-radius: 50% 50% 45% 45%; background: rgba(245,245,240,.1); box-shadow: -52px 30px 0 -25px rgba(212,175,122,.2), 52px 30px 0 -25px rgba(212,175,122,.2); }
.photo-placeholder.night { background: radial-gradient(circle at 65% 25%, #dfbd89 0 2px, transparent 3px), radial-gradient(circle at 30% 35%, #fff 0 1px, transparent 2px), linear-gradient(145deg, #334b78, #121b32 65%); background-size: 58px 58px, 38px 38px, auto; }
.hero-card p { position: absolute; bottom: 13px; left: 20px; margin: 0; color: #32405d; font: italic 16px var(--serif); }
.tape { position: absolute; z-index: 2; top: -18px; left: 50%; width: 72px; height: 26px; background: rgba(229,207,168,.7); transform: translateX(-50%) rotate(-3deg); }
.cat-doodle { position: absolute; right: 0; bottom: 0; width: 105px; height: 105px; opacity: .7; }
.cat-doodle::before { content: "=^·ﻌ·^="; position: absolute; font: 28px var(--serif); color: var(--gold-soft); transform: rotate(-8deg); }
.counter { position: absolute; z-index: 5; left: 8%; bottom: 2%; padding: 18px 24px; color: var(--navy-900); background: var(--gold); border-radius: 2px; box-shadow: var(--shadow); transform: rotate(2deg); }
.counter strong { display: block; font: 700 32px/1 var(--serif); }
.counter span { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }
.hero-copy .eyebrow { animation:hero-copy-in .7s .08s both; }
.hero-copy .time-mood { animation:hero-copy-in .75s .13s both; }
.hero-copy h1 { animation:hero-copy-in .85s .17s both; }
.hero-copy .hero-lead { animation:hero-copy-in .8s .28s both; }
.hero-copy .hero-actions { animation:hero-copy-in .8s .38s both; }
.hero-card:not(.secondary) { animation:hero-card-main-in 1s .28s cubic-bezier(.2,.8,.2,1) both; }
.hero-card.secondary { animation:hero-card-second-in 1s .42s cubic-bezier(.2,.8,.2,1) both; }
.counter { animation:counter-pop-in .7s .85s cubic-bezier(.2,.9,.3,1.25) both; }

.section { padding: 110px clamp(24px, 8vw, 128px); content-visibility:auto; contain-intrinsic-size:auto 800px; }
.section-head { max-width: 680px; margin-bottom: 55px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin: 0 0 14px; font: 600 clamp(38px, 5vw, 64px)/1.05 var(--serif); letter-spacing: -2px; color: var(--navy-900); }
.section-head p { color: var(--muted); }
.section-dark { color: white; background: var(--navy-900); }
.section-dark .section-head h2 { color: white; }

.folder-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.folder-card { position: relative; min-height: 210px; padding: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: white; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: linear-gradient(135deg, rgba(46,67,116,.8), rgba(17,29,54,.8)); transition: transform .25s, border-color .25s; }
.folder-card:hover { transform: translateY(-5px); border-color: rgba(212,175,122,.7); }
.folder-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -60px; bottom: -70px; border: 1px solid rgba(212,175,122,.25); border-radius: 50%; }
.folder-icon { width: 52px; height: 40px; position: relative; border-radius: 6px; background: var(--gold); }
.folder-icon::before { content: ""; position: absolute; top: -8px; left: 0; width: 24px; height: 12px; border-radius: 5px 5px 0 0; background: var(--gold); }
.folder-card h3 { position: relative; z-index: 1; margin: 25px 0 2px; font: 600 21px var(--serif); }
.folder-card small { color: rgba(255,255,255,.55); }
.empty-card { grid-column: 1/-1; padding: 50px 30px; text-align: center; color: rgba(255,255,255,.65); border: 1px dashed rgba(255,255,255,.2); border-radius: 18px; }

.polaroid-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1050px; margin: 20px auto; padding: 20px 30px 60px; gap: 0; align-items: center; }
.polaroid { position: relative; grid-row: 1; padding: 14px 14px 65px; background: var(--paper); box-shadow: 0 24px 55px rgba(13,20,38,.17); transition: transform .3s, z-index .3s; }
.polaroid:first-child { z-index: 3; grid-column: 2; transform: translateY(35px) rotate(-2deg); }
.polaroid:nth-child(2) { z-index: 2; grid-column: 1; transform: translateX(38px) rotate(-6deg); }
.polaroid:nth-child(3) { z-index: 1; grid-column: 3; transform: translateX(-38px) rotate(5deg); }
.polaroid:hover { z-index: 5; transform: rotate(0) translateY(-12px); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #d8ddeb; }
.polaroid p { position: absolute; left: 20px; right: 20px; bottom: 12px; margin: 0; text-align: center; font: italic 16px var(--serif); }
.polaroid-empty { grid-column: 1/-1; padding: 70px 30px; text-align: center; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); }

.timeline { position: relative; max-width: 900px; margin: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--gold), rgba(212,175,122,.15)); }
.timeline-item { position: relative; width: 50%; padding: 0 65px 70px 0; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; padding: 0 0 70px 65px; text-align: left; }
.timeline-item::after { content: ""; position: absolute; right: -7px; top: 5px; width: 11px; height: 11px; border: 2px solid var(--navy-900); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px var(--cream); }
.timeline-item:nth-child(even)::after { left: -7px; right: auto; }
.timeline-date { color: #9a7440; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.timeline-item h3 { margin: 7px 0 8px; font: 600 26px var(--serif); }
.timeline-item p { margin: 0; color: var(--muted); }

.letter-wrap { position: relative; max-width: 900px; margin: auto; padding: clamp(38px, 7vw, 82px); background: var(--paper); box-shadow: var(--shadow); }
.letter-wrap::before { content: "“"; position: absolute; top: 6px; left: 28px; color: rgba(212,175,122,.2); font: 140px/1 var(--serif); }
.letter-wrap h2 { position: relative; margin: 0 0 28px; font: italic 600 clamp(32px, 5vw, 52px)/1.15 var(--serif); }
.letter-body { position: relative; color: #4b556b; font-size: 17px; white-space: pre-line; }
.letter-sign { margin-top: 30px; color: var(--navy-700); font: italic 22px var(--serif); }

.wishlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wish-card { position: relative; min-height: 190px; padding: 26px; border-radius: 16px; color: white; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.wish-card.done { background: rgba(212,175,122,.12); border-color: rgba(212,175,122,.35); }
.wish-status { display: inline-flex; padding: 5px 10px; border-radius: 30px; color: var(--gold-soft); background: rgba(212,175,122,.12); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.wish-card h3 { margin: 25px 0 7px; font: 600 25px var(--serif); }
.wish-card p { margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }

.gallery-hero { padding: 85px clamp(24px, 8vw, 128px) 65px; color: white; background: radial-gradient(circle at 85% 20%, rgba(46,67,116,.8), transparent 36%), var(--navy-900); }
.gallery-hero h1 { max-width: 800px; margin: 0; font: 600 clamp(48px, 7vw, 82px)/.98 var(--serif); letter-spacing: -3px; }
.gallery-hero p { max-width: 600px; color: rgba(255,255,255,.62); }
.gallery-shell { min-height: 65vh; padding: 55px clamp(24px, 8vw, 128px) 110px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.gallery-toolbar h2 { margin: 0; font: 600 31px var(--serif); }
.breadcrumb { color: var(--muted); font-size: 13px; }
.folder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-folder { padding: 22px; text-align: left; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.gallery-folder:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(27,42,74,.1); }
.gallery-folder .folder-icon { width: 38px; height: 29px; }
.gallery-folder strong { display: block; margin: 22px 0 4px; color: var(--navy-900); }
.gallery-folder small { color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-card { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1; background: #dce1eb; cursor: zoom-in; }
.photo-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(105deg, #e2e5eb 20%, #f7f8fa 38%, #e2e5eb 56%); background-size: 220% 100%; transition: opacity .2s; pointer-events: none; }
.photo-card.is-loading::before { z-index: 1; opacity: 1; animation: shimmer 1.25s linear infinite; }
.photo-card img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform .4s, opacity .25s; }
.photo-card.is-loading img { opacity: 0; }
.photo-card.is-error::after { content: "Foto belum dapat dimuat"; position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 20px; color: var(--muted); background: #e8eaf0; text-align: center; font-size: 11px; }
.photo-card:hover img { transform: scale(1.04); }
.photo-actions { position: absolute; z-index: 3; inset: auto 8px 8px; display: flex; justify-content: flex-end; opacity: 0; transition: opacity .2s; }
.photo-card:hover .photo-actions { opacity: 1; }
.download-btn { padding: 7px 11px; border-radius: 30px; color: white; background: rgba(13,20,38,.8); font-size: 11px; backdrop-filter: blur(8px); }
.loading { grid-column: 1/-1; padding: 60px; text-align: center; color: var(--muted); }
.spinner { display: inline-block; width: 26px; height: 26px; margin-bottom: 10px; border: 2px solid rgba(27,42,74,.15); border-top-color: var(--navy-700); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position-x: -220%; } }
@keyframes aurora-float { to { transform: translate3d(-35px, 24px, 0) rotate(-5deg) scale(1.08); } }
@keyframes star-drift { to { transform:translate3d(70px,55px,0); } }
@keyframes orb-breathe { to { transform:translate3d(0,8px,0) scale(1.04); } }
@keyframes constellation-pulse { to { opacity: .35; transform: scale(.75); } }
@keyframes cat-scene-float { to { transform:translate3d(-8px,-12px,0); } }
@keyframes cat-tail-sway { from { transform:rotate(-7deg); } to { transform:rotate(9deg); } }
@keyframes cat-blink { 0%,43%,47%,100% { transform:scaleY(1); } 45% { transform:scaleY(.08); } }
@keyframes paw-step { 0%,8% { opacity:0; } 18%,48% { opacity:.75; } 64%,100% { opacity:0; } }
@keyframes yarn-roll { to { transform:rotate(360deg); } }
@keyframes hero-copy-in { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes hero-card-main-in { from { opacity:0; transform:translate3d(70px,-20px,0) rotate(13deg) scale(.9); } to { opacity:1; transform:rotate(5deg); } }
@keyframes hero-card-second-in { from { opacity:0; transform:translate3d(-50px,50px,0) rotate(-16deg) scale(.9); } to { opacity:1; transform:rotate(-8deg); } }
@keyframes counter-pop-in { from { opacity:0; transform:translateY(18px) rotate(2deg) scale(.8); } to { opacity:1; transform:rotate(2deg) scale(1); } }

.reveal-ready { opacity:0; translate:0 28px; transition:opacity .7s ease var(--reveal-delay,0ms), translate .7s cubic-bezier(.2,.75,.2,1) var(--reveal-delay,0ms); }
.reveal-ready.is-visible { opacity:1; translate:0 0; }
.hero.animations-paused *, .hero.animations-paused *::before, .hero.animations-paused *::after { animation-play-state:paused !important; }

/* Suasana otomatis mengikuti jam lokal pengunjung. Semua efek memakai gradient dan transform ringan. */
html[data-ambience="morning"] .hero { background:radial-gradient(circle at 78% 18%,rgba(245,196,120,.35),transparent 31%),radial-gradient(circle at 28% 82%,rgba(218,160,143,.16),transparent 35%),linear-gradient(135deg,#17243b,#385375); }
html[data-ambience="morning"] .hero-stars { opacity:.08; }
html[data-ambience="morning"] .hero-constellation { opacity:.09; }
html[data-ambience="morning"] .hero-time-orb { background:#f2c980; box-shadow:0 0 0 18px rgba(242,201,128,.06),0 0 55px rgba(242,201,128,.24); }
html[data-ambience="morning"] .aurora-one { opacity:.2; background:radial-gradient(ellipse,rgba(245,196,120,.64),rgba(217,166,161,.12) 54%,transparent 72%); }

html[data-ambience="day"] .hero { background:radial-gradient(circle at 79% 17%,rgba(188,205,231,.24),transparent 32%),linear-gradient(135deg,#15233e,#304e79); }
html[data-ambience="day"] .hero-stars { opacity:.05; }
html[data-ambience="day"] .hero-constellation { opacity:.07; }
html[data-ambience="day"] .hero-time-orb { background:#f4dba9; box-shadow:0 0 0 20px rgba(244,219,169,.045),0 0 60px rgba(244,219,169,.16); }
html[data-ambience="day"] .aurora-one { opacity:.22; }

html[data-ambience="evening"] .hero { background:radial-gradient(circle at 79% 22%,rgba(224,156,126,.35),transparent 32%),radial-gradient(circle at 35% 105%,rgba(217,166,161,.16),transparent 37%),linear-gradient(135deg,#151c33,#3a405f); }
html[data-ambience="evening"] .hero-stars { opacity:.24; }
html[data-ambience="evening"] .hero-constellation { opacity:.16; }
html[data-ambience="evening"] .hero-time-orb { top:18%; background:#e5a777; box-shadow:0 0 0 18px rgba(229,167,119,.05),0 0 55px rgba(229,167,119,.2); }
html[data-ambience="evening"] .aurora-two { opacity:.23; }

html[data-ambience="night"] .hero-stars { opacity:.52; }
html[data-ambience="night"] .hero-constellation { opacity:.24; }
html[data-ambience="night"] .hero-time-orb { width:94px; height:94px; background:transparent; box-shadow:-22px 12px 0 1px rgba(234,213,175,.78); }
html[data-ambience="night"] .time-mood-dot { background:#c6d1ef; box-shadow:0 0 0 4px rgba(198,209,239,.1); }

html[data-ambience="morning"] .about-hero { background:radial-gradient(circle at 80% 25%,rgba(245,196,120,.27),transparent 35%),linear-gradient(135deg,#17243b,#385375); }
html[data-ambience="day"] .about-hero { background:radial-gradient(circle at 80% 25%,rgba(188,205,231,.25),transparent 35%),linear-gradient(135deg,#15233e,#304e79); }
html[data-ambience="evening"] .about-hero { background:radial-gradient(circle at 80% 25%,rgba(224,156,126,.3),transparent 35%),linear-gradient(135deg,#151c33,#3a405f); }
html[data-ambience="morning"] .about-hero::before { opacity:.09; }
html[data-ambience="day"] .about-hero::before { opacity:.06; }
html[data-ambience="evening"] .about-hero::before { opacity:.17; }
html[data-ambience="morning"] .gallery-hero { background:radial-gradient(circle at 85% 20%,rgba(245,196,120,.28),transparent 36%),#1e304d; }
html[data-ambience="day"] .gallery-hero { background:radial-gradient(circle at 85% 20%,rgba(188,205,231,.27),transparent 36%),#1d365c; }
html[data-ambience="evening"] .gallery-hero { background:radial-gradient(circle at 85% 20%,rgba(224,156,126,.3),transparent 36%),#252b46; }

.about-hero { position:relative; min-height:720px; display:grid; grid-template-columns:1fr .8fr; align-items:center; gap:70px; overflow:hidden; padding:90px clamp(24px,8vw,128px); color:white; background:radial-gradient(circle at 80% 25%,rgba(159,174,215,.28),transparent 35%),linear-gradient(135deg,var(--navy-950),var(--navy-800)); }
.about-hero::before { content:""; position:absolute; inset:0; opacity:.26; pointer-events:none; background-image:radial-gradient(circle,rgba(255,255,255,.7) 0 1px,transparent 1.5px),radial-gradient(circle,rgba(224,184,117,.75) 0 1px,transparent 1.5px); background-size:103px 117px,167px 151px; }
.about-hero-glow { position:absolute; width:520px; height:520px; right:-190px; bottom:-230px; border:1px solid rgba(224,184,117,.18); border-radius:50%; box-shadow:0 0 0 70px rgba(224,184,117,.025),0 0 0 140px rgba(159,174,215,.025); }
.about-copy { position:relative; z-index:2; max-width:650px; }
.about-copy h1 { margin:0 0 25px; font:600 clamp(54px,7vw,92px)/.96 var(--serif); letter-spacing:-4px; }
.about-copy>p:not(.eyebrow) { max-width:590px; margin:0 0 32px; color:rgba(255,255,255,.68); font-size:17px; }
.about-portrait-wrap { position:relative; z-index:2; width:min(390px,100%); margin:auto; }
.about-portrait { position:relative; z-index:2; margin:0; padding:14px 14px 62px; background:var(--paper); box-shadow:0 35px 80px rgba(0,0,0,.34); transform:rotate(3deg); }
.about-portrait img,.about-portrait .photo-placeholder { width:100%; aspect-ratio:.88; object-fit:cover; }
.about-portrait figcaption { position:absolute; left:20px; right:20px; bottom:17px; color:var(--navy-800); text-align:center; font:italic 18px var(--serif); }
.about-portrait figcaption span { color:var(--rose); }
.about-tape { position:absolute; z-index:3; width:85px; height:29px; left:50%; top:-16px; background:rgba(234,213,175,.72); transform:translateX(-50%) rotate(-4deg); }
.about-cat-stamp { position:absolute; z-index:4; right:-45px; bottom:38px; padding:12px 16px; color:var(--gold); border:1px solid rgba(224,184,117,.4); border-radius:50%; background:var(--navy-900); font:18px var(--serif); transform:rotate(-9deg); }
.about-story-section { background:var(--paper); }
.about-story-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(50px,9vw,135px); align-items:center; max-width:1200px; margin:auto; }
.about-story-copy h2 { margin:0 0 20px; font:600 clamp(40px,5vw,62px)/1.05 var(--serif); letter-spacing:-2px; }
.about-story-copy>p:last-child { color:var(--muted); font-size:16px; }
.about-stats { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.about-stat { min-height:150px; padding:24px; display:flex; flex-direction:column; justify-content:flex-end; border:1px solid var(--line); border-radius:16px; background:linear-gradient(145deg,#fff,#f2eee6); }
.about-stat:nth-child(2),.about-stat:nth-child(3) { background:linear-gradient(145deg,var(--navy-800),var(--navy-900)); color:white; }
.about-stat strong { font:600 42px/1 var(--serif); }
.about-stat span { margin-top:8px; color:var(--muted); font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; }
.about-stat:nth-child(2) span,.about-stat:nth-child(3) span { color:rgba(255,255,255,.5); }
.about-people-section { background:var(--cream); }
.about-people { max-width:1050px; margin:auto; display:grid; grid-template-columns:1fr auto 1fr; gap:30px; align-items:center; }
.person-card { min-height:230px; padding:32px; display:flex; align-items:center; gap:25px; border:1px solid var(--line); border-radius:20px; background:var(--paper); box-shadow:0 20px 55px rgba(13,20,38,.08); }
.person-card.rinda { background:linear-gradient(145deg,#fff9f7,#f4edef); }
.person-initial { flex:0 0 82px; width:82px; height:82px; display:grid; place-items:center; color:white; border-radius:25px; background:var(--navy-800); font:600 40px var(--serif); transform:rotate(-4deg); }
.person-card.rinda .person-initial { color:var(--navy-900); background:var(--rose); transform:rotate(4deg); }
.person-card p { margin:0; color:#9a7440; font-size:9px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; }
.person-card h3 { margin:4px 0 9px; font:600 29px var(--serif); }
.person-card div>span { color:var(--muted); font-size:13px; }
.about-heart { color:var(--rose); font-size:26px; animation:heart-beat 2.3s ease-in-out infinite; }
.about-maker-section { color:white; background:var(--navy-900); }
.maker-card { max-width:1000px; margin:auto; padding:45px; display:grid; grid-template-columns:auto 1fr auto; gap:28px; align-items:center; border:1px solid rgba(255,255,255,.1); border-radius:22px; background:rgba(255,255,255,.045); }
.maker-code { width:75px; height:75px; display:grid; place-items:center; color:var(--gold); border-radius:20px; background:rgba(224,184,117,.1); font-weight:700; }
.maker-card h2 { margin:0 0 8px; font:600 38px var(--serif); }
.maker-card>div>p:last-child { max-width:620px; margin:0; color:rgba(255,255,255,.58); }
.maker-cat { color:var(--rose); font:22px var(--serif); }
.about-quote { max-width:850px; margin:80px auto 0; color:var(--gold-soft); text-align:center; font:italic 600 clamp(30px,4vw,50px)/1.25 var(--serif); }
@keyframes heart-beat { 0%,100% { transform:scale(1); } 12% { transform:scale(1.18); } 24% { transform:scale(1); } }
.lightbox { position: fixed; z-index: 500; inset: 0; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(5,9,18,.94); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 84vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 22px; right: 28px; color: white; background: none; border: 0; font-size: 33px; cursor: pointer; }
.lightbox-download { position: absolute; right: 28px; bottom: 24px; color: white; }

.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; padding: 55px clamp(24px, 8vw, 128px); color: rgba(255,255,255,.55); background: var(--navy-950); font-size: 12px; }
.site-footer > div { display: flex; align-items: center; gap: 15px; }
.site-footer .footer-actions { justify-content:flex-end; flex-wrap:wrap; }
.pwa-install { min-height:38px; padding:0 15px; display:inline-flex; align-items:center; gap:7px; color:var(--gold-soft); border:1px solid rgba(224,184,117,.25); border-radius:99px; background:rgba(224,184,117,.08); cursor:pointer; font-size:11px; font-weight:700; transition:background .2s,border-color .2s,transform .2s; }
.pwa-install:hover { background:rgba(224,184,117,.14); border-color:rgba(224,184,117,.5); transform:translateY(-1px); }
.install-dialog { position:fixed; z-index:700; inset:0; padding:24px; display:grid; place-items:center; background:rgba(5,9,18,.82); }
.install-dialog-card { position:relative; width:min(440px,100%); padding:42px 34px 36px; color:var(--ink); text-align:center; border:1px solid var(--line); border-radius:24px; background:var(--paper); box-shadow:0 30px 90px rgba(0,0,0,.35); }
.install-dialog-close { position:absolute; top:13px; right:16px; width:36px; height:36px; color:var(--muted); border:0; background:transparent; cursor:pointer; font-size:27px; line-height:1; }
.install-dialog-icon { width:68px; height:68px; margin:0 auto 22px; display:grid; place-items:center; color:var(--gold); border-radius:20px; background:var(--navy-900); font:35px var(--serif); }
.install-dialog-card .eyebrow { justify-content:center; color:#9a7440; }
.install-dialog-card h2 { margin:0 0 12px; font:600 34px/1.1 var(--serif); }
.install-dialog-card>p:last-child { margin:0; color:var(--muted); }
.to-top { position: fixed; z-index: 80; right: 24px; bottom: 24px; width: 42px; height: 42px; opacity: 0; pointer-events: none; border: 0; border-radius: 50%; color: var(--navy-950); background: var(--gold); box-shadow: 0 8px 25px rgba(0,0,0,.2); transition: opacity .2s; cursor: pointer; }
.to-top.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav { position: fixed; inset: 82px 0 auto; padding: 25px; display: none; flex-direction: column; align-items: flex-start; background: var(--navy-950); }
    .site-nav.open { display: flex; }
    .hero { grid-template-columns: minmax(0, 1fr); padding-top: 70px; }
    .hero-copy, .hero-visual { min-width: 0; }
    .hero h1 { letter-spacing: -3px; }
    .hero-visual { min-height: 480px; margin-top: 30px; }
    .folder-preview, .wishlist-grid { grid-template-columns: 1fr 1fr; }
    .folder-grid, .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .about-hero { grid-template-columns:1fr; gap:55px; padding-top:75px; }
    .about-copy { text-align:center; margin:auto; }
    .about-copy .eyebrow { justify-content:center; }
    .about-story-grid { grid-template-columns:1fr; }
    .about-people { grid-template-columns:1fr; }
    .about-heart { justify-self:center; }
}

@media (max-width: 620px) {
    html { scroll-padding-top: 72px; }
    .site-header { height: 72px; padding-inline: 18px; }
    .brand { gap: 9px; }
    .brand-mark { width: 38px; border-radius: 11px; }
    .brand-mark svg { width: 25px; height: 25px; }
    .brand-copy { display: block; }
    .brand-copy b { font-size: 20px; }
    .brand-copy small { display: none; }
    .site-nav { top: 72px; }
    .hero { min-height: auto; padding: 55px 22px 26px; }
    .hero h1 { font-size: clamp(53px, 17vw, 70px); letter-spacing: -3px; }
    .hero-lead { margin: 24px 0; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .hero-actions .btn { min-width: 0; padding-inline: 12px; white-space: nowrap; }
    .hero-visual { min-height: 365px; margin-top: 38px; }
    .hero-stars { opacity: .28; mask-image: linear-gradient(180deg, transparent, #000 35%, rgba(0,0,0,.4)); }
    html[data-ambience="morning"] .hero-stars { opacity:.07; }
    html[data-ambience="day"] .hero-stars { opacity:.04; }
    html[data-ambience="evening"] .hero-stars { opacity:.18; }
    html[data-ambience="night"] .hero-stars { opacity:.34; }
    .hero-time-orb { width:76px; height:76px; right:8%; top:7%; opacity:.58; }
    html[data-ambience="night"] .hero-time-orb { width:70px; height:70px; box-shadow:-16px 9px 0 0 rgba(234,213,175,.7); }
    .hero-constellation { width: 180px; right: -20px; bottom: 4%; }
    .hero-cat-scene { width:310px; right:-82px; bottom:-5px; opacity:.34; }
    .orbit-one { width: 480px; right: -260px; }
    .orbit-two { display: none; }
    .hero-card { width: 58%; right: 1%; padding: 8px 8px 45px; }
    .hero-card.secondary { width: 52%; left: 2%; top: 36%; padding: 8px 8px 45px; }
    .hero-card p { left: 13px; bottom: 10px; font-size: 13px; }
    .counter { left: 12%; bottom: 0; padding: 14px 18px; }
    .counter strong { font-size: 27px; }
    .section { padding-block: 75px; }
    .section-head { margin-bottom: 38px; }
    .section-head h2 { font-size: 38px; letter-spacing: -1.3px; }
    .folder-preview, .wishlist-grid { grid-template-columns: 1fr; }
    .folder-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-folder { min-width: 0; padding: 17px; }
    .gallery-folder strong { overflow-wrap: anywhere; }
    .gallery-hero { padding: 62px 22px 48px; }
    .gallery-hero h1 { font-size: 44px; letter-spacing: -2px; }
    .gallery-shell { padding: 38px 18px 75px; }
    .lightbox { padding: 14px; }
    .lightbox img { max-width: 100%; max-height: 78vh; }
    .lightbox-download { right: 16px; bottom: 16px; }
    .polaroid-stage { grid-template-columns: 1fr; gap: 20px; padding-inline: 18px; }
    .polaroid, .polaroid:first-child, .polaroid:nth-child(2), .polaroid:nth-child(3) { grid-column: 1; grid-row: auto; z-index: auto; transform: rotate(-2deg); }
    .timeline::before { left: 6px; }
    .timeline-item, .timeline-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 48px 35px; text-align: left; }
    .timeline-item::after, .timeline-item:nth-child(even)::after { left: 0; right: auto; }
    .gallery-toolbar { align-items: flex-start; flex-direction: column; }
    .site-footer { align-items: flex-start; flex-direction: column; }
    .site-footer .footer-actions { align-items:flex-start; justify-content:flex-start; }
    .about-hero { min-height:auto; padding:60px 22px 80px; }
    .about-copy h1 { font-size:52px; letter-spacing:-2.5px; }
    .about-copy>p:not(.eyebrow) { font-size:15px; }
    .about-portrait-wrap { width:min(310px,88%); }
    .about-cat-stamp { right:-24px; }
    .about-stats { grid-template-columns:1fr 1fr; gap:10px; }
    .about-stat { min-height:125px; padding:18px; }
    .about-stat strong { font-size:34px; }
    .person-card { min-height:auto; padding:24px; }
    .person-initial { flex-basis:65px; width:65px; height:65px; font-size:31px; }
    .maker-card { padding:28px 22px; grid-template-columns:1fr; text-align:center; }
    .maker-code { margin:auto; }
    .maker-cat { margin-top:5px; }
    .about-quote { margin-top:55px; }
}

@media (display-mode: standalone) {
    .pwa-install { display:none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-aurora, .hero-stars, .hero-time-orb, .hero-constellation circle, .hero-cat-scene, .cat-tail, .cat-eyes, .cat-paw, .cat-yarn path, .hero-copy > *, .hero-card, .counter { animation:none !important; }
    .reveal-ready { opacity:1; translate:none; transition:none; }
}

@media (max-width: 370px) {
    .hero { padding-inline: 18px; }
    .hero-actions { grid-template-columns: 1fr; }
    .folder-grid { grid-template-columns: 1fr; }
    .section, .gallery-shell { padding-inline: 18px; }
}
