/* Hyperlapse Nepal v5 — compact hero, sharp imagery and dimensional cards */
:root{--card-depth:0 22px 42px rgba(5,31,49,.15),0 4px 10px rgba(5,31,49,.08)}
img{image-rendering:auto;filter:none}
.site-header .brand{width:70px;flex-basis:70px}
.site-header .brand img{width:62px;height:62px;border:1px solid rgba(9,39,57,.09);background:#fff}
.desktop-nav{gap:1px}
.desktop-nav a{min-width:67px;padding-inline:5px;font-weight:900;font-size:10px}
.desktop-nav a i{font-size:20px}

/* Compact hero: copy, search and cards share one centered visual axis. */
.hero-home{height:455px;min-height:455px;background-position:center 48%}
.hero-inner{display:grid;grid-template-columns:minmax(500px,51%) minmax(0,49%);align-items:center;gap:0}
.hero-copy{width:auto;padding:0 0 0 5.5%;align-self:center}
.hero-copy h1{font-size:clamp(51px,4.8vw,67px);margin-bottom:8px}
.hero-script{font-size:clamp(23px,2vw,29px);margin-bottom:8px}
.hero-keywords{font-size:14px;margin-bottom:15px}
.hero-search{max-width:600px;min-height:50px}
.hero-search input{padding-block:10px}
.hero-search button{padding-block:11px}
.hero-slants{width:auto;height:84%;align-self:center;align-items:center;gap:7px;transform:none;padding:0 1.5% 0 0;perspective:1200px}
.slant-card,.slant-card:nth-child(2),.slant-card:nth-child(4){height:92%;width:25%;align-self:center;transform-style:preserve-3d;transform:perspective(1100px) rotateY(-4deg) translateZ(0);filter:drop-shadow(0 18px 18px rgba(0,0,0,.28)) drop-shadow(5px 6px 0 color-mix(in srgb,var(--card-accent,#1468c9) 28%,transparent));transition:transform .3s cubic-bezier(.2,.8,.2,1),filter .3s ease}
.slant-card:before,.slant-card.culture:before,.slant-card.nature:before,.slant-card.stories:before{background:linear-gradient(180deg,rgba(4,18,30,.02) 0 69%,color-mix(in srgb,var(--card-accent,#1468c9) 95%,transparent) 70% 100%)}
.slant-card div{bottom:15px;gap:4px;font-size:16px;font-weight:950;letter-spacing:.01em}
.slant-card i{font-size:19px}
.slant-card:hover{transform:perspective(1100px) translate3d(0,-9px,24px) rotateX(2deg) rotateY(-2deg) scale(1.018);filter:drop-shadow(0 25px 22px rgba(0,0,0,.34)) drop-shadow(6px 8px 0 color-mix(in srgb,var(--card-accent,#1468c9) 34%,transparent))}
.social-rail{top:50%;transform:translateY(-50%)}
.social-rail a:nth-child(3){background:#050608}

/* Larger imagery and denser, bolder card copy. */
.showcase-column,.list-card,.municipality-card,.muni-large-card,.mini-card,.place-card,.place-gallery-item,.media-card,.side-box{transform-style:preserve-3d;will-change:transform}
.showcase-column{padding:16px 16px 15px;border-radius:18px;box-shadow:var(--card-depth);transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease}
.showcase-column:hover{transform:perspective(900px) translateY(-8px) rotateX(1.4deg) rotateY(-.7deg);box-shadow:0 30px 55px rgba(5,31,49,.19),0 8px 16px rgba(5,31,49,.10)}
.showcase-heading{min-height:52px;margin-bottom:11px}
.showcase-heading h2{font-size:clamp(17px,1.28vw,20px);font-weight:950;white-space:nowrap;text-wrap:nowrap}
.showcase-heading p{font-weight:750}
.showcase-media{height:225px;border-radius:13px}
.showcase-media img,.media-thumb img,.municipality-card,.muni-large-card>img,.detail-hero>img,.detail-hero>video,.place-card-media img,.place-gallery-item img{image-rendering:auto;filter:none;backface-visibility:hidden}
.showcase-copy{padding:10px 2px 0;min-height:88px}
.showcase-copy h3{font-weight:950;font-size:17px;margin-bottom:4px}
.showcase-excerpt{-webkit-line-clamp:1;font-weight:550}
.showcase-dots{min-height:17px;margin:2px 0 0}
.showcase-btn{margin-top:7px;font-weight:950}

/* Branded video controls: use the supplied Hyperlapse mark everywhere a card opens video. */
.brand-play{
  width:72px;
  height:72px;
  padding:0;
  overflow:hidden;
  border:3px solid rgba(255,255,255,.96);
  border-radius:50%;
  background:#02070b;
  box-shadow:0 13px 32px rgba(0,0,0,.42),0 0 0 5px rgba(255,255,255,.12);
  backdrop-filter:none;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease;
}
.brand-play>img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:50%;
}
.showcase-media:hover .brand-play,.media-thumb:hover .brand-play,.place-card-media:hover .brand-play{
  transform:translate(-50%,-50%) scale(1.09);
  box-shadow:0 18px 38px rgba(0,0,0,.5),0 0 0 6px rgba(255,255,255,.17);
}
.place-video-badge.brand-video-badge{
  left:50%;
  right:auto;
  top:50%;
  bottom:auto;
  transform:translate(-50%,-50%);
  width:72px;
  height:72px;
  padding:0;
  border:3px solid rgba(255,255,255,.96);
  border-radius:50%;
  background:#02070b;
  box-shadow:0 13px 32px rgba(0,0,0,.42),0 0 0 5px rgba(255,255,255,.12);
  font-size:0;
}

.list-card{box-shadow:var(--card-depth);transition:transform .27s cubic-bezier(.2,.8,.2,1),box-shadow .27s ease}
.list-card:hover{transform:perspective(900px) translateY(-9px) rotateX(1.2deg) rotateY(-.7deg);box-shadow:0 30px 55px rgba(5,31,49,.18)}
.list-card .media-thumb{height:270px}
.card-body{padding:17px 19px 19px}
.card-body h2,.card-body h3{font-weight:950;letter-spacing:-.2px}
.card-body p{font-weight:550}

.municipality-card{box-shadow:0 18px 34px rgba(0,20,31,.26);transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease}
.municipality-card:hover{transform:perspective(800px) translateY(-9px) rotateX(3deg) rotateY(-2deg);box-shadow:0 28px 48px rgba(0,20,31,.34)}
.muni-large-card{box-shadow:var(--card-depth);transition:transform .28s ease,box-shadow .28s ease}
.muni-large-card:hover{transform:perspective(900px) translateY(-9px) rotateX(1.5deg);box-shadow:0 30px 55px rgba(5,31,49,.2)}
.mini-card{border-radius:10px;transition:transform .22s ease,box-shadow .22s ease}
.mini-card:hover{transform:perspective(700px) translateY(-3px) rotateX(1.5deg);box-shadow:0 12px 24px rgba(5,31,49,.11)}
.media-card,.side-box{box-shadow:var(--card-depth);transition:transform .25s ease,box-shadow .25s ease}
.media-card:hover{transform:perspective(800px) translateY(-7px) rotateX(1.2deg);box-shadow:0 27px 48px rgba(5,31,49,.17)}

/* Video-backed municipality and place heroes. */
.detail-hero.has-media>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.municipality-hero,.place-hero{height:385px;min-height:385px}
.municipality-hero .detail-overlay,.place-hero .detail-overlay{background:linear-gradient(180deg,rgba(2,13,22,.08) 14%,rgba(3,16,27,.91) 100%)}
.municipality-overview{box-shadow:var(--card-depth)}
.municipality-places{margin:18px 0 55px}
.municipality-places>.block-heading{align-items:end}
.municipality-places>.block-heading>div h2{margin:5px 0 10px}
.place-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.place-card{overflow:hidden;border-radius:19px;background:#fff;border:1px solid rgba(11,50,75,.1);box-shadow:var(--card-depth);transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease}
.place-card:hover{transform:perspective(900px) translateY(-9px) rotateX(1.5deg) rotateY(-.8deg);box-shadow:0 31px 56px rgba(5,31,49,.2)}
.place-card-media{height:245px;display:block;position:relative;overflow:hidden;background:#071521}
.place-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.place-card:hover .place-card-media img{transform:scale(1.045)}
.place-video-badge{position:absolute;right:12px;bottom:12px;padding:7px 11px;border-radius:999px;background:rgba(227,30,36,.94);color:#fff;font-size:10px;font-weight:900;box-shadow:0 7px 18px rgba(0,0,0,.25)}
.place-card-body{padding:17px 19px 20px}
.place-card-body h3{font-size:22px;line-height:1.2;margin:5px 0 8px;font-weight:950;letter-spacing:-.35px}
.place-card-body p{margin:0 0 9px;color:#687680;font-size:13px;line-height:1.55;font-weight:560;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

.place-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;font-weight:800;color:#dce8ef}.place-breadcrumb i{font-size:8px}.place-breadcrumb a:hover{color:#fff;text-decoration:underline}
.place-content{padding:62px 0;background:#f6f9fb}
.place-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.68fr);gap:42px}
.place-layout>article{min-width:0;padding:32px;border-radius:22px;background:#fff;border:1px solid rgba(11,50,75,.09);box-shadow:var(--card-depth)}
.place-intro{padding:22px 24px;margin-bottom:27px;border-left:4px solid #168766;border-radius:0 14px 14px 0;background:#eff8f4}
.place-intro p{font-size:20px;line-height:1.55;font-weight:750;color:#16352d;margin:5px 0 0}
.place-article{max-width:840px}.place-feature-video{margin-bottom:28px}
.place-side{padding:24px}.place-side h3{font-size:25px;margin:6px 0}.place-side p{font-size:13px;color:#687680}.place-side .btn{width:100%;margin-top:8px}
.place-gallery{margin-top:46px}.place-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.place-gallery-item{margin:0;overflow:hidden;border-radius:16px;background:#071521;box-shadow:0 16px 30px rgba(5,31,49,.13);transition:transform .25s ease,box-shadow .25s ease}
.place-gallery-item:hover{transform:perspective(800px) translateY(-6px) rotateX(1deg);box-shadow:0 24px 42px rgba(5,31,49,.18)}
.place-gallery-item>img,.place-gallery-item>video{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.place-gallery-item .video-frame{margin:0;border-radius:0;box-shadow:none}.place-gallery-item figcaption{padding:11px 14px;background:#fff;color:#263946;font-size:12px;font-weight:750}

@media(max-width:1240px){
  .desktop-nav a{min-width:58px;font-size:9px}.hero-inner{grid-template-columns:minmax(450px,49%) minmax(0,51%)}
  .showcase-media{height:205px}.place-card-grid{gap:18px}
}
@media(max-width:980px){
  .hero-home{height:auto;min-height:690px}.hero-inner{display:grid;grid-template-columns:1fr;align-content:center;gap:28px;padding:48px 0 38px}
  .hero-copy{padding:0 30px}.hero-slants{height:auto;padding:0 30px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
  .slant-card,.slant-card:nth-child(2),.slant-card:nth-child(4){height:150px;width:100%;clip-path:none;border-radius:15px;transform:perspective(900px) rotateX(.7deg)}
  .slant-card:before,.slant-card.culture:before,.slant-card.nature:before,.slant-card.stories:before{background:linear-gradient(180deg,rgba(2,16,27,.03) 0 61%,color-mix(in srgb,var(--card-accent,#1468c9) 94%,transparent) 62% 100%)}
  .place-card-grid{grid-template-columns:repeat(2,1fr)}.place-layout{grid-template-columns:1fr}.place-side{position:static}
}
@media(max-width:700px){
  .hero-home{min-height:640px}.hero-inner{padding:40px 0 30px;gap:24px}.hero-copy{padding:0 14px}.hero-copy h1{font-size:47px}.hero-keywords{font-size:11px}.hero-search input{font-size:12px}.hero-search button{padding-inline:14px;font-size:11px}
  .hero-slants{padding:0 14px;grid-template-columns:repeat(2,1fr)}.slant-card,.slant-card:nth-child(2),.slant-card:nth-child(4){height:112px;transform:perspective(800px) rotateX(.7deg)}.slant-card div{bottom:10px;font-size:14px}.slant-card i{font-size:16px}
  .showcase-heading h2{white-space:normal;text-wrap:balance}.showcase-media{height:230px}.list-card .media-thumb{height:245px}
  .municipality-hero,.place-hero{height:300px;min-height:300px}.place-card-grid{grid-template-columns:1fr}.place-card-media{height:235px}
  .brand-play,.place-video-badge.brand-video-badge{width:64px;height:64px;border-width:2px}
  .place-content{padding:34px 0}.place-layout>article{padding:21px}.place-gallery-grid{grid-template-columns:1fr}.place-intro{padding:17px 18px}.place-intro p{font-size:17px}
}

/* Hyperlapse Nepal v5.4 — aligned hero cards and site-wide professional 3D surfaces. */
.showcase-grid,.listing-grid,.municipality-grid,.muni-large-grid,.place-card-grid,.place-gallery-grid{perspective:1400px}

.showcase-column,
.list-card,
.municipality-card,
.muni-large-card,
.mini-card,
.place-card,
.place-gallery-item,
.media-card{
  position:relative;
  transform:perspective(1200px) translate3d(0,0,0) rotateX(.35deg);
  transform-origin:center bottom;
  border-color:rgba(10,48,72,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 3px 0 rgba(10,48,72,.11),0 9px 18px rgba(5,31,49,.09),0 24px 46px rgba(5,31,49,.14);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease;
}
.showcase-column:hover,
.list-card:hover,
.municipality-card:hover,
.muni-large-card:hover,
.mini-card:hover,
.place-card:hover,
.place-gallery-item:hover,
.media-card:hover{
  transform:perspective(1200px) translate3d(0,-10px,22px) rotateX(1.7deg) rotateY(-.8deg);
  border-color:rgba(13,81,119,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 5px 0 rgba(10,48,72,.12),0 18px 28px rgba(5,31,49,.13),0 34px 62px rgba(5,31,49,.2);
}
.municipality-card{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 4px 0 rgba(1,18,29,.23),0 13px 24px rgba(0,20,31,.22),0 28px 48px rgba(0,20,31,.25);
}
.municipality-card:hover{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 6px 0 rgba(1,18,29,.2),0 20px 34px rgba(0,20,31,.27),0 38px 65px rgba(0,20,31,.31);
}
.showcase-media,.media-thumb,.place-card-media{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -8px 18px rgba(2,15,24,.12),0 8px 17px rgba(5,31,49,.12);
  transform:translateZ(12px);
}
.municipality-overview,.place-layout>article,.side-box,.municipality-empty{
  border-color:rgba(10,48,72,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 4px 0 rgba(10,48,72,.1),0 15px 28px rgba(5,31,49,.1),0 30px 60px rgba(5,31,49,.13);
}

@media(max-width:980px){
  .showcase-column,.list-card,.municipality-card,.muni-large-card,.mini-card,.place-card,.place-gallery-item,.media-card{transform:perspective(1000px) translate3d(0,0,0) rotateX(.25deg)}
}
@media(max-width:700px){
  .showcase-column,.list-card,.municipality-card,.muni-large-card,.mini-card,.place-card,.place-gallery-item,.media-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 3px 0 rgba(10,48,72,.1),0 12px 28px rgba(5,31,49,.14)}
}
@media(prefers-reduced-motion:reduce){
  .slant-card,.showcase-column,.list-card,.municipality-card,.muni-large-card,.mini-card,.place-card,.place-gallery-item,.media-card{transition:none}
}

/* Hyperlapse Nepal v5.6 — simplified one-line horizontal website branding. */
.site-header .brand{
  width:340px;
  flex:0 0 340px;
  height:100%;
  justify-content:flex-start;
}
.site-header .brand img{
  width:100%;
  height:70px;
  max-height:70px;
  object-fit:contain;
  object-position:left center;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.drawer-head img{
  width:min(285px,calc(100% - 52px));
  flex:0 1 auto;
  min-width:0;
  height:auto;
  max-height:66px;
  object-fit:contain;
  object-position:left center;
  filter:none;
}
.footer-brand img{
  width:360px!important;
  height:auto!important;
  max-height:78px!important;
  object-fit:contain!important;
  object-position:left center!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.footer-brand p{margin-top:13px}
.menu-toggle{
  display:grid!important;
  place-items:center;
  background:linear-gradient(145deg,#f42b31,#d9141b)!important;
  border:2px solid #e31e24!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(227,30,36,.28)!important;
}
.menu-toggle:hover{
  background:linear-gradient(145deg,#ff3b40,#c90f15)!important;
  transform:translateY(-1px);
  box-shadow:0 11px 24px rgba(227,30,36,.35)!important;
}
.hamburger-lines{
  width:20px;
  height:15px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
}
.hamburger-lines>span{
  display:block;
  width:100%;
  height:2.5px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 1px 1px rgba(80,0,0,.18);
}

@media(max-width:1240px){
  .site-header .brand{width:275px;flex-basis:275px}
  .site-header .brand img{height:62px;max-height:62px}
}
@media(max-width:980px){
  .site-header .brand{width:300px;flex-basis:300px}
  .site-header .brand img{height:64px;max-height:64px}
}
@media(max-width:700px){
  .site-header .brand{width:220px;flex-basis:220px}
  .site-header .brand img{height:54px;max-height:54px}
  .drawer-head img{width:min(245px,calc(100% - 52px));max-height:58px}
  .footer-brand img{width:285px!important;max-height:68px!important}
  .menu-toggle{width:40px;height:40px;min-width:40px}
  .hamburger-lines{width:18px;height:14px}
}
@media(max-width:430px){
  .site-header .brand{width:194px;flex-basis:194px}
  .site-header .brand img{height:49px;max-height:49px}
}
