body{background:var(--cream);color:var(--olive)}
header{background:var(--olive);color:var(--cream);border-bottom:1px solid var(--olive);text-align:center;letter-spacing:.22em;font-weight:650}
.hero{background:none;color:inherit;padding:clamp(35px,7vw,84px) 20px}
.hero p{color:var(--olive)}.hero h1{font-size:clamp(3rem,8vw,6.5rem)}
main{max-width:1440px;padding-top:12px}.albums{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:clamp(22px,3vw,48px)}
.card,.card:hover{border:0;border-radius:0;box-shadow:none;background:transparent}
.cover{background:var(--olive-tint);color:var(--olive);aspect-ratio:4/3;overflow:hidden}
.cover img{transition:transform .65s cubic-bezier(.2,.75,.2,1)}
.card:hover .cover img,.card:focus-visible .cover img{transform:scale(1.055)}
.card h3{padding:13px 0;font-size:1.6rem}
.action,.sections a[aria-current]{background:var(--olive);color:var(--cream);border-color:var(--olive)}
.action:hover{background:var(--cream);color:var(--olive);box-shadow:inset 0 0 0 1px var(--olive)}.sections a{border-color:var(--olive)}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:12px;margin:22px 0}
.photo{border:0;padding:0;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:var(--olive-tint);cursor:zoom-in}
.photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.photo:hover img{transform:scale(1.04)}
.lightbox{box-sizing:border-box;position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:#fbf6ee;color:#000}
.lightbox[open]{display:grid;grid-template-rows:calc(64px + env(safe-area-inset-top)) minmax(0,1fr) calc(46px + env(safe-area-inset-bottom));animation:veil .22s ease-out}
.lightbox::backdrop{background:#fbf6ee}
.viewer-tools{display:flex;align-items:center;justify-content:space-between;padding:env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))}
.lightbox button,.viewer-tools a{display:grid;place-items:center;width:44px;height:44px;background:transparent;color:#000;border:0;padding:0;cursor:pointer}
.lightbox svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.viewer-stage{display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;margin-inline:clamp(44px,6vw,110px);touch-action:none;user-select:none}
.viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.viewer-image.reveal{animation:veil .25s ease-out}
.viewer-caption{align-self:start;text-align:center;padding:12px 12px 0;font:14px/1.4 system-ui,sans-serif;color:#57534e;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.lightbox [data-prev],.lightbox [data-next]{position:absolute;top:50%;transform:translateY(-50%);width:clamp(44px,6vw,110px);height:72px}
.lightbox [data-prev]{left:0}.lightbox [data-next]{right:0}
.lightbox [data-prev] svg,.lightbox [data-next] svg{width:clamp(26px,4vw,66px);height:100%;stroke-width:.8}
.lightbox button:disabled{opacity:.25;cursor:default}
@media(max-width:640px){.lightbox[open]{grid-template-rows:calc(52px + env(safe-area-inset-top)) minmax(0,1fr) calc(48px + env(safe-area-inset-bottom))}.viewer-stage{margin-inline:0}.lightbox [data-prev],.lightbox [data-next]{height:48px;background:#fbf6eecf;border-radius:3px}}
@keyframes veil{from{opacity:0}to{opacity:1}}
@keyframes lift{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.cover img,.photo img{opacity:0;transition:opacity .32s ease-out,transform .45s ease-out}
.cover img.ready,.photo img.ready{opacity:1}
:root{--gallery-font:"degular-display",system-ui,sans-serif;font-family:var(--gallery-font)}
h1,h2,.card h3,.cover{font-family:var(--gallery-font)}
header{font-weight:600}
.album-page header{position:absolute;z-index:2;inset:0 auto auto 0;padding:clamp(22px,4vw,64px);background:transparent;border:0;text-align:left;letter-spacing:.17em;text-shadow:0 1px 8px #000}
.album-page .hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:100vh;min-height:100svh;padding:clamp(100px,12vh,150px) clamp(22px,4vw,64px) clamp(30px,5vw,70px);background:var(--olive);color:var(--cream);text-align:left}
.album-page .hero::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#0008,transparent 32%,transparent 46%,#000b)}
.album-hero-photo{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;opacity:0;transition:opacity .55s ease}
.album-hero-photo.ready{opacity:1}
.album-page .hero h1{margin:0;font-size:clamp(3rem,7vw,7rem);font-weight:600;line-height:.98;text-shadow:0 2px 18px #0008}
.album-hero-link{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:48px;padding:10px 24px;border:1px solid var(--cream);border-radius:30px;color:var(--cream);background:#0005;text-decoration:none;font-weight:600}
.album-hero-link:hover{background:var(--cream);color:var(--olive)}
.album-hero-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.album-hero-actions .album-hero-link{font:inherit;font-weight:600;cursor:pointer}
.album-hero-actions .album-hero-link:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
@media(max-width:600px){.album-hero-actions{justify-content:flex-start}.album-hero-actions .album-hero-link{padding-inline:14px}}
.album-page #gallery{scroll-margin-top:20px}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media(max-width:600px){.album-page .hero{flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:18px}.album-hero-link{min-height:44px}}
.album-page #gallery{max-width:none;padding:0 clamp(10px,1.1vw,24px) 32px;scroll-margin-top:0}
.gallery-toolbar{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px 18px;padding:14px 0;
}
.gallery-toolbar .sections{
  display:flex;align-items:center;gap:3px;margin:0;padding:4px;
  min-width:0;max-width:100%;background:#515c2c0d;border-radius:12px;
}
.gallery-toolbar .sections[hidden],.gallery-toolbar .bulk-actions [hidden]{display:none}
.gallery-toolbar .sections a,.gallery-toolbar .bulk-actions button{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:9px 16px;min-height:42px;max-width:100%;overflow-wrap:anywhere;
  border:0;border-radius:8px;background:transparent;color:var(--olive);
  text-decoration:none;font:inherit;font-size:1rem;font-weight:500;line-height:1.25;
  touch-action:manipulation;cursor:pointer;box-shadow:none;
  transition:background-color .22s ease,color .22s ease,box-shadow .22s ease,transform .22s cubic-bezier(.2,.75,.25,1);
}
.gallery-toolbar .sections a[aria-current],.gallery-toolbar .bulk-actions button{
  background:var(--olive);color:var(--cream);font-weight:600;
}
.gallery-toolbar .bulk-actions button{min-height:44px;border-radius:9px}
.gallery-toolbar .bulk-actions button[aria-pressed=true]{background:var(--olive-tint);color:var(--olive)}
.bulk-actions button[aria-pressed=false]::before{
  content:"";width:14px;height:14px;border:1.5px solid currentColor;border-radius:4px;
  background:linear-gradient(45deg,transparent 40%,currentColor 40% 60%,transparent 60%) 2px 6px/4px 4px no-repeat,
             linear-gradient(-45deg,transparent 42%,currentColor 42% 58%,transparent 58%) 5px 4px/6px 6px no-repeat;
}
.bulk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;max-width:100%}
.bulk-actions [role=status]{font-size:.93rem;overflow-wrap:anywhere}
.bulk-actions [role=status]:empty{display:none}
.bulk-actions button:disabled{opacity:.5;cursor:default}
.gallery-toolbar :is(a,button):focus-visible{outline:2px solid var(--olive);outline-offset:2px}
@media(hover:hover){
  .gallery-toolbar .sections a:not([aria-current]):hover,
  .gallery-toolbar .bulk-actions button[aria-pressed=true]:hover{background:#515c2c1c;color:var(--olive)}
  .gallery-toolbar .sections a[aria-current]:hover,
  .gallery-toolbar .bulk-actions button:enabled:not([aria-pressed=true]):hover{
    background:#39421f;color:var(--cream);box-shadow:0 4px 10px #343c1a22;
  }
}
@media(prefers-reduced-motion:no-preference){
  .gallery-toolbar :is(a,button:enabled):active{transform:scale(.96);transition-duration:.09s}
}
@media(max-width:700px){
  .gallery-toolbar .sections{width:100%}
  .gallery-toolbar .sections a{flex:1 1 auto;padding:9px 10px;min-height:44px;font-size:.94rem}
  .gallery-toolbar .bulk-actions{width:100%;justify-content:flex-end}
  .gallery-toolbar .bulk-actions button{padding:9px 12px;font-size:.94rem;flex:1 1 auto}
  .bulk-actions [role=status]{flex-basis:100%;text-align:center}
}
.album-page .photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,1vw,20px);margin:0 0 18px}
.album-page .photo{aspect-ratio:3/4}
.photo-search{width:min(calc(100% - 24px),460px);max-height:92dvh;padding:clamp(20px,5vw,32px);border:0;border-radius:20px;background:var(--cream);color:var(--olive);box-shadow:0 24px 90px #14190b40;overscroll-behavior:contain}
.photo-search[open]{animation:lift .28s ease-out}
.photo-search::backdrop{background:#10150899;backdrop-filter:blur(5px)}
.photo-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.photo-search h2{font-size:clamp(1.7rem,6vw,2.3rem);letter-spacing:-.035em;padding-right:32px}
.search-close{position:absolute;right:10px;top:12px;display:grid;place-items:center;width:40px;height:40px;border:0;background:transparent;border-radius:50%;color:inherit;cursor:pointer}
.search-close:hover{background:var(--olive-tint)}
.photo-search .search-hint{margin:10px 0 20px;line-height:1.4;font-size:1rem}
.selfie-form{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.selfie-picker{position:relative;display:flex;align-items:center;flex-direction:column;gap:5px;padding:20px 12px;border:1.5px dashed #788156;border-radius:14px;background:#525e2c08;transition:background .2s}
.selfie-picker:hover,.selfie-picker:focus-within{background:#525e2c15}
.selfie-picker:focus-within{outline:2px solid var(--olive);outline-offset:3px}
.selfie-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1}
.selfie-symbol{position:relative;display:grid;place-items:center;border-radius:50%;background:#525e2c14;width:62px;height:62px;margin-bottom:4px}
.selfie-symbol svg{width:32px;height:32px}
.selfie-symbol img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.selfie-picker small{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.search-scope{display:grid;gap:6px;font-weight:600;font-size:.95rem}
.search-scope select{width:100%;height:46px;padding:0 12px;font:inherit;font-weight:400;font-size:1rem;background:var(--cream);color:inherit;border:1px solid #4f592d66;border-radius:9px;cursor:pointer}
.selfie-form .action{width:100%;justify-content:center;gap:9px;min-height:49px;border-radius:10px}
.selfie-form .action:disabled{cursor:progress;opacity:.72}
.selfie-privacy{display:flex;align-items:center;justify-content:center;gap:6px;font-size:.875rem}
.selfie-privacy svg{width:16px;height:16px}
.selfie-form [role=status]{margin:0}
.selfie-form [role=status]:empty,.selfie-form .photo-search-results:empty{display:none}
.selfie-form summary{cursor:pointer;margin-bottom:10px}
.photo-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.photo-search-results img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
@media(max-width:700px){.album-page .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-toolbar{padding:8px 0}}
.site-footer{padding:24px 16px;border-top:1px solid var(--olive-tint);text-align:center;color:var(--olive);font-size:.95rem}

.studio-logo{display:block;width:clamp(72px,8vw,112px);height:auto;margin-inline:auto;filter:drop-shadow(0 1px 3px #0005)}
.photo-grid.selecting .photo{position:relative;cursor:pointer}
.photo-grid.selecting .photo::after{content:'';position:absolute;top:10px;right:10px;width:24px;height:24px;border:2px solid white;border-radius:5px;background:#0006;color:white;display:grid;place-items:center}
.photo-grid.selecting .photo[aria-pressed=true]::after{content:'✓';background:var(--olive)}
.photo-grid.selecting .photo[aria-pressed=true]{outline:3px solid var(--olive);outline-offset:-3px}

.album-hero-photo[src="./wahab-couple.webp"],.cover img[src="./wahab-couple.webp"]{object-position:50% 26%}
.album-hero-photo[src="./vishnu-atholi-portrait.webp"],.cover img[src="./vishnu-atholi-portrait.webp"]{object-position:50% 27%}
.downloadable-tile{position:relative;min-width:0}
.downloadable-tile>.tile-download{position:absolute;inset:auto 5px 5px auto;z-index:1;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:#0006;color:white;opacity:0;pointer-events:none;cursor:pointer;transition:opacity .16s}
.tile-download svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.downloadable-tile:hover>.tile-download,.downloadable-tile:focus-within>.tile-download,.tile-download[aria-busy=true]{opacity:1;pointer-events:auto}
.tile-download[aria-busy=true] svg{display:none}
.tile-download[aria-busy=true]::after{content:'';width:19px;height:19px;border:2px solid #fff6;border-top-color:white;border-right-color:white;border-radius:50%;animation:photo-download-spin .75s linear infinite}
@keyframes photo-download-spin{to{transform:rotate(1turn)}}
.download-error{position:absolute;bottom:54px;right:5px;padding:6px 9px;background:var(--cream);color:var(--olive);border-radius:4px;font-size:.875rem}
@media(hover:none){.downloadable-tile>.tile-download{opacity:1;pointer-events:auto}}
.site-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 24px}
.booking-link{display:inline-flex;align-items:center;gap:8px;padding:0 10px;min-height:44px;border-radius:8px;color:inherit;font-weight:600;text-decoration:none;transition:background-color .2s ease}
.booking-link svg{width:22px;height:22px;fill:currentColor}
.booking-link:hover,.booking-link:focus-visible{background:var(--olive-tint)}
@media(max-width:600px){.site-footer{flex-direction:column}}
.album-hero-photo[src="./athira-05.webp"],.cover img[src="./athira-05.webp"]{object-position:50% 24%}
