﻿/* Photographic home, replacing the original nature-tech visual layer in place.
   Every selector is scoped to this home; tools and catalogue retain their styles. */
body:has(> #app > .home-nature-tech){padding-bottom:0;background:#f1ebe3}
body:has(> #app > .home-nature-tech) > .local-storage-status.local{background:#f1ebe3;color:#51473d;font-size:11px;padding:5px 16px}
.home-nature-tech{
  --hnt-ink:#252620;--hnt-muted:#49443e;
  position:relative;isolation:isolate;display:flex;flex-direction:column;
  min-height:calc(100svh - 26px);padding:24px clamp(18px,5vw,80px) 0;
  color:var(--hnt-ink);font-family:Arial,Helvetica,sans-serif;
  background-color:#f1ebe3;
  background-image:url('assets/home/melyvo-home-background-desktop-v1.webp');
  background-size:cover;background-position:center center;background-repeat:no-repeat;
}
.home-nature-tech *{box-sizing:border-box}
.home-nature-tech button,.home-nature-tech a,.home-nature-tech select,.home-nature-tech summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.home-nature-tech button{font:inherit;color:inherit;cursor:pointer}
.home-nature-tech :is(button,a,select,summary):focus-visible{outline:3px solid #664520;outline-offset:5px}
.melyvo-premium .hnt-header{
  position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;
  gap:20px;width:100%;max-width:1120px;min-height:64px;margin:0 auto;
  padding:8px 20px 8px 23px;border:1px solid #fffdf4;border-radius:50px;
  background:linear-gradient(110deg,#faf5eeee,#ece3d8e8);
  box-shadow:inset 0 2px 2px #fff9,inset 0 -1px 2px #e5caa77a,0 14px 40px -16px #57473650;
}
.melyvo-premium .hnt-brand{display:flex;align-items:center;gap:13px;min-height:44px;flex-shrink:0;color:#46372b;text-decoration:none}
.melyvo-premium .hnt-brand img{width:38px;height:38px;object-fit:contain;border-radius:50%;background:#fffcf4;box-shadow:inset 0 0 1px #fff,0 2px 4px #6e59482b}
.melyvo-premium .hnt-brand span{font:19px/1 Georgia,'Times New Roman',serif;letter-spacing:4px}
.melyvo-premium .hnt-links{display:flex;align-items:center;gap:clamp(8px,2vw,28px)}
.melyvo-premium .hnt-links button{min-width:44px;min-height:44px;border:0;border-radius:12px;background:transparent;padding:10px 6px;font-size:14px}
.melyvo-premium .hnt-links button:hover{background:#fff8e68c}
.melyvo-premium .hnt-account{display:flex;align-items:center;gap:14px}
.melyvo-premium .language-control{display:block;margin:0;padding:0;background:none;border:0}
.melyvo-premium .language-control>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.melyvo-premium .language-control select{min-width:54px;min-height:44px;padding:8px 4px;background:transparent;border:0;border-radius:12px;color:#40382f;font:13px Arial,sans-serif;box-shadow:none}
.melyvo-premium .hnt-login{
  min-height:44px;padding:10px 23px;border:1px solid #fffdf6;border-radius:30px;
  background:radial-gradient(ellipse at 45% 0%,#fff 0,transparent 60%),linear-gradient(#fff8ed,#f3d5bb 63%,#fff4e3);
  box-shadow:inset 0 2px 3px #fff,inset 0 -2px 4px #d6b59477,0 5px 12px -7px #98724b,0 0 12px #fff9e9a6;font-size:14px;white-space:nowrap;
}
.melyvo-premium .hnt-menu-toggle,.melyvo-premium .hnt-mobile-login{display:none}
.home-nature-tech .hnt-main{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;width:100%;max-width:1220px;margin:0 auto;padding:0}
.home-nature-tech .hnt-main:focus{outline:none}
.home-nature-tech .hnt-system{position:relative;z-index:4}
.home-nature-tech #view{flex:1;display:flex;flex-direction:column;min-width:0}
.home-nature-tech .hnt-stage{flex:1;position:relative;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:80px 0 30px;perspective:1600px}
.home-nature-tech .hnt-hero{
  position:relative;isolation:isolate;width:540px;max-width:100%;overflow:hidden;
  padding:33px 34px 21px;border:1px solid #fffdf6;border-radius:32px;
  background:linear-gradient(125deg,#f9f2e9ee,#e6d8c8e8);
  box-shadow:inset 0 2px 2px #fff,inset 2px 0 3px #fff8,inset -2px -3px 4px #f7e0baa6,0 3px 1px -1px #cfb696,0 24px 36px -28px #725b41,0 30px 65px -30px #4f4e4e40;
  transform:rotateX(1deg);text-align:center;
}
.home-nature-tech .hnt-hero::before{
  content:'';position:absolute;inset:3px;border-radius:29px;pointer-events:none;z-index:0;
  border:1px solid #fff5;
  background:radial-gradient(ellipse at 4% 0%,#fff8 0,transparent 44%),radial-gradient(ellipse at 95% 98%,#ffe5b855 0,transparent 43%);
  box-shadow:inset 0 2px 8px #fff3,inset 0 -2px 3px #fff2cf,0 1px 4px #fff7dc;
}
.home-nature-tech .hnt-hero::after{
  content:'';position:absolute;z-index:0;inset:-30%;pointer-events:none;
  background:linear-gradient(118deg,transparent 34%,#fff0 38%,#fff7 44%,#fff2 49%,transparent 54%);
  opacity:.48;transform:translateX(-10%);animation:hnt-glass-light 18s ease-in-out infinite;
}
.home-nature-tech .hnt-hero>*{position:relative;z-index:1}
.home-nature-tech .hnt-hero h1{font:400 clamp(54px,5.2vw,74px)/.94 Georgia,'Times New Roman',serif;letter-spacing:-4px;max-width:470px;margin:0 auto 19px;text-wrap:balance;color:#22241f}
.home-nature-tech .hnt-hero p{font-size:17px;line-height:1.4;color:var(--hnt-muted);max-width:440px;margin:0 auto 23px;text-wrap:balance}
.home-nature-tech .hnt-primary{
  display:flex;align-items:center;justify-content:center;gap:25px;min-height:54px;margin:0 auto 3px;padding:12px 30px;
  border:1.5px solid #fffef3;border-radius:40px;
  background:radial-gradient(ellipse at 50% -55%,#fff 30%,transparent 66%),linear-gradient(175deg,#fff6e6,#ffdfc4 61%,#fff0d9);
  box-shadow:inset 0 2px 3px #fff,inset 0 -2px 6px #e1b98766,0 2px 2px #e3c19799,0 8px 20px -8px #ae71485c,0 0 22px #ffebcfa6;
  font-size:15px;font-weight:600;transition:transform .25s,box-shadow .25s;
}
.home-nature-tech .hnt-primary span{font-size:25px;line-height:1;font-weight:400;color:#774323;transition:transform .25s}
.home-nature-tech .hnt-primary:hover{transform:translateY(-2px);box-shadow:inset 0 2px 3px #fff,inset 0 -2px 6px #e1b98766,0 10px 22px -8px #ae714877,0 0 28px #fff0d8}
.home-nature-tech .hnt-primary:hover span{transform:translateX(4px)}
.home-nature-tech .hnt-primary:active,.melyvo-premium .hnt-login:active{transform:translateY(1px);box-shadow:inset 0 2px 5px #aa7c4e55,0 0 10px #ffebcf}
.home-nature-tech .hnt-secondary{display:block;min-height:44px;margin:auto;padding:10px 14px;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:14px;color:#503f32;border-radius:12px}
.home-nature-tech .hnt-secondary:hover{color:#25231d}
.home-nature-tech .hnt-hero small{display:block;margin:10px auto 0;font-size:11px;line-height:1.5;letter-spacing:1.7px;color:#50483e}
.home-nature-tech .hnt-universes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(22px,3vw,44px);width:100%;max-width:1080px;margin:0 auto;padding:0 6px 30px}
.melyvo-premium .hnt-sphere{
  --pearl:#d8ceb8;--rim:#ad9069;position:relative;isolation:isolate;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  aspect-ratio:1;width:100%;border:0;border-radius:50%;background:var(--pearl);padding:18px 10px;
  color:#3c3328;transform-style:preserve-3d;
  transition:transform .3s cubic-bezier(.2,.7,.25,1);
}
/* The glass shell, highlights, contact shadow and floor reflection are separate layers. */
.melyvo-premium .hnt-orb{
  position:absolute;z-index:-1;inset:0;border-radius:50%;border:1.5px solid #fffaf2;
  background:radial-gradient(ellipse 20% 8% at 30% 10%,#fff 5%,#fffc 30%,transparent 100%),radial-gradient(ellipse at 72% 84%,#fffce8 0,transparent 31%),radial-gradient(ellipse at 32% 19%,#fff8 0,transparent 51%),radial-gradient(ellipse at 60% 38%,transparent 20%,#68554430 87%),var(--pearl);
  box-shadow:inset 3px 4px 3px #fffcf5,inset -3px -3px 5px #8e745a88,inset 6px -8px 18px #fffcdf99,inset -10px 6px 22px #78695622,0 2px 2px #d4b999;
}
.melyvo-premium .hnt-orb::before{
  content:'';position:absolute;inset:5px;border-radius:50%;border:1px solid #fff9;
  background:radial-gradient(ellipse at 33% 8%,#fff9 0,transparent 40%);
  box-shadow:inset 1px 2px 2px #fff7;
  mask-image:linear-gradient(135deg,#000 8%,transparent 42%,transparent 61%,#000 88%);
  transition:opacity .3s;
}
.melyvo-premium .hnt-orb::after{
  content:'';position:absolute;right:7%;bottom:10%;width:40%;height:14%;border-radius:50%;
  transform:rotate(-47deg);background:radial-gradient(ellipse,#fffef0 0,#fffff799 34%,transparent 72%);
  filter:blur(2px);box-shadow:-3px 0 10px #fff6d666;
}
.melyvo-premium .hnt-sphere::before{content:'';position:absolute;z-index:-2;width:91%;height:16%;bottom:-9%;left:4.5%;background:radial-gradient(ellipse,#604a3480,transparent 70%);filter:blur(4px);transition:transform .3s,opacity .3s}
.melyvo-premium .hnt-sphere::after{content:'';position:absolute;z-index:-3;width:82%;height:35%;top:102%;left:9%;border-radius:50%;background:radial-gradient(ellipse at 65% 0%,#fff4dbaa,transparent 70%),var(--pearl);opacity:.28;filter:blur(4px);mask-image:linear-gradient(#000,transparent 88%);transform:scaleY(.65);transform-origin:top}
.melyvo-premium .hnt-sphere svg{width:33px;height:33px;position:relative;z-index:1;filter:drop-shadow(0 1px 0 #ffffff60)}
.melyvo-premium .hnt-sphere>span:not(.hnt-orb){position:relative;z-index:1;font-size:16px;text-shadow:0 1px 1px #ffffff55}
.melyvo-premium .hnt-money{--pearl:#e5bda5;--rim:#b07a57;color:#623724}
.melyvo-premium .hnt-study{--pearl:#c0cbd5;--rim:#8896a4;color:#414450}
.melyvo-premium .hnt-everyday{--pearl:#c8cfb9;--rim:#9aa781;color:#34462c}
.melyvo-premium .hnt-travel{--pearl:#c3d6d6;--rim:#89aeb0;color:#34474a}
.melyvo-premium .hnt-create{--pearl:#dac1cd;--rim:#b998aa;color:#593846}
@media(hover:hover){
  .melyvo-premium .hnt-sphere:hover{transform:perspective(650px) translateY(-6px) rotateX(5deg) rotateY(-3deg)}
  .melyvo-premium .hnt-sphere:hover .hnt-orb{box-shadow:inset 3px 4px 4px #fff,inset -3px -3px 5px #8e745a88,inset 6px -8px 18px #fffcdfcc,inset -10px 6px 22px #78695622,0 2px 2px #d4b999}
  .melyvo-premium .hnt-sphere:hover::before{transform:translateY(7px) scale(1.08);opacity:.85}
}
.melyvo-premium .hnt-sphere:active{transform:translateY(2px) scale(.985)}
.home-nature-tech .hnt-footer{position:relative;z-index:2;width:100%;max-width:1080px;margin:0 auto;color:#51473c;font-size:11px}
.home-nature-tech .hnt-footer details{width:fit-content;max-width:100%;margin:auto;text-align:center}
.home-nature-tech .hnt-footer summary{padding:14px;min-height:44px;cursor:pointer;border-radius:10px}
.home-nature-tech .hnt-footer nav{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding-bottom:12px}
.home-nature-tech .hnt-footer button{background:#f9f3e9e6;border:1px solid #d8c7b0;border-radius:20px;min-height:44px;padding:10px 16px;font-size:12px}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .melyvo-premium .hnt-header{background:linear-gradient(120deg,#fffaf080,#eee8df4d);backdrop-filter:blur(16px) saturate(.9);-webkit-backdrop-filter:blur(16px) saturate(.9)}
  .home-nature-tech .hnt-hero{background:linear-gradient(130deg,#fff8e95c,#efe4d626 45%,#e4d7c340);backdrop-filter:blur(14px) saturate(.75);-webkit-backdrop-filter:blur(14px) saturate(.75)}
}
@keyframes hnt-glass-light{0%,100%{transform:translateX(-10%);opacity:.4}50%{transform:translateX(12%);opacity:.55}}
@media(min-width:1600px){.home-nature-tech .hnt-stage{padding-top:110px}.home-nature-tech .hnt-hero{width:590px;padding:38px 38px 24px}.home-nature-tech .hnt-hero h1{font-size:80px}.home-nature-tech .hnt-universes{max-width:1200px;gap:48px}}
@media(min-width:761px) and (max-width:1050px){
  .home-nature-tech{padding-inline:24px}.melyvo-premium .hnt-header{gap:10px;padding-inline:16px}.melyvo-premium .hnt-brand{gap:8px}.melyvo-premium .hnt-brand span{font-size:16px;letter-spacing:3px}.melyvo-premium .hnt-links{gap:9px}.melyvo-premium .hnt-account{gap:4px}.melyvo-premium .hnt-login{padding-inline:14px}
  .home-nature-tech .hnt-stage{padding-top:90px}.home-nature-tech .hnt-universes{gap:20px}.home-nature-tech .hnt-sphere>span:not(.hnt-orb){font-size:14px}.home-nature-tech .hnt-sphere svg{width:27px;height:27px}
}
@media(max-width:760px){
  .home-nature-tech{padding:16px 16px 0;background-image:url('assets/home/melyvo-home-background-mobile-v1.webp');background-position:center top;background-size:cover}
  .melyvo-premium .hnt-header{min-height:58px;border-radius:32px;padding:6px 10px 6px 14px;gap:8px}
  .melyvo-premium .hnt-brand{gap:8px}.melyvo-premium .hnt-brand img{width:33px;height:33px}.melyvo-premium .hnt-brand span{font-size:16px;letter-spacing:3px}
  .melyvo-premium .hnt-account{gap:4px}.melyvo-premium .language-control select{font-size:12px;min-width:50px}
  .melyvo-premium .hnt-account>.hnt-login{display:none}
  .melyvo-premium .hnt-menu-toggle{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid #fff9;border-radius:50%;background:linear-gradient(#fff8,#eadbca66);box-shadow:inset 0 1px 2px #fff9}
  .melyvo-premium .hnt-links{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;padding:14px;border-radius:23px;background:linear-gradient(120deg,#fffcf6f5,#eee3d7f5);border:1px solid #fff;box-shadow:0 20px 40px #55463733;gap:6px}
  .melyvo-premium .hnt-header[data-menu-open] .hnt-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .melyvo-premium .hnt-links button{min-height:48px;padding:12px;font-size:14px;border:1px solid #d0bca34d;background:#fff9;border-radius:14px}
  .melyvo-premium .hnt-links .hnt-mobile-login{display:block;grid-column:1/-1;background:linear-gradient(#fff8ef,#f3d5bb);border-color:#fff}
  .home-nature-tech .hnt-stage{padding:72px 0 28px;flex:1}
  .home-nature-tech .hnt-hero{width:calc(100% - 20px);max-width:430px;border-radius:28px;padding:27px 20px 19px;transform:none}
  .home-nature-tech .hnt-hero::before{border-radius:25px}
  .home-nature-tech .hnt-hero h1{font-size:46px;line-height:.98;letter-spacing:-2.7px;margin:0 auto 17px}
  .home-nature-tech .hnt-hero p{font-size:14.5px;line-height:1.45;margin:0 auto 21px;max-width:300px}
  .home-nature-tech .hnt-primary{min-height:50px;padding:11px 24px;font-size:14px;gap:19px}
  .home-nature-tech .hnt-secondary{font-size:13px}
  .home-nature-tech .hnt-hero small{font-size:9.5px;letter-spacing:1px;margin-top:7px}
  .home-nature-tech .hnt-universes{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 24px;max-width:370px;padding:0 10px 22px;margin:0 auto}
  .home-nature-tech .hnt-sphere{gap:8px;padding:14px 8px}.home-nature-tech .hnt-sphere svg{width:25px;height:25px}.home-nature-tech .hnt-sphere>span:not(.hnt-orb){font-size:13px}
  .home-nature-tech .hnt-footer{font-size:10px}
}
@media(max-width:360px){
  .home-nature-tech{padding-inline:12px}.melyvo-premium .hnt-header{padding-left:12px}.melyvo-premium .hnt-brand span{font-size:14px;letter-spacing:2px}.melyvo-premium .hnt-brand img{width:30px;height:30px}.melyvo-premium .hnt-brand{gap:6px}
  .home-nature-tech .hnt-stage{padding-top:58px}.home-nature-tech .hnt-hero{width:calc(100% - 10px);padding-inline:16px}.home-nature-tech .hnt-hero h1{font-size:42px;letter-spacing:-2.4px}.home-nature-tech .hnt-hero p{font-size:14px}.home-nature-tech .hnt-primary{padding-inline:21px}
  .home-nature-tech .hnt-universes{gap:25px 18px;padding-inline:5px}.home-nature-tech .hnt-sphere>span:not(.hnt-orb){font-size:12px}
}
@media(prefers-reduced-motion:reduce){.home-nature-tech,.home-nature-tech *,.home-nature-tech *::before,.home-nature-tech *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.home-nature-tech :is(.hnt-hero,.hnt-sphere:hover,.hnt-sphere:active,.hnt-primary:hover,.hnt-primary:active,.hnt-primary:hover span){transform:none}}
@media(forced-colors:active){.home-nature-tech{background-image:none}.home-nature-tech .hnt-orb,.home-nature-tech .hnt-sphere::before,.home-nature-tech .hnt-sphere::after,.home-nature-tech .hnt-hero::after{display:none}.home-nature-tech :is(.hnt-hero,.hnt-header,.hnt-sphere){border:1px solid CanvasText}.home-nature-tech :is(button,a):focus-visible{outline-color:Highlight}}
