.trh-hero{
  --u:min(calc(100vw/1600),calc(100vh/900));
  --k:1;--k2:1;--dip:0;--sink:0px;
  --ink:color-mix(in srgb,#14202f calc((1 - var(--k))*100%),#fff);
  --soft:color-mix(in srgb,#1b2736 calc((1 - var(--k))*100%),#e8edf5);
  position:relative;width:100%;height:var(--trh-height,100svh);min-height:540px;overflow:hidden;isolation:isolate;background:#0b1426;
  font-family:"Vazirmatn",system-ui,sans-serif;-webkit-font-smoothing:antialiased;direction:rtl;
}
.trh-hero *,.trh-hero *::before,.trh-hero *::after{box-sizing:border-box;margin:0;padding:0}
.trh-hero button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.trh-hero .trh-layer,.trh-hero .trh-layer picture,.trh-hero .trh-layer img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.trh-hero .trh-layer picture{display:block}
.trh-hero .trh-layer img{display:block;object-fit:cover;object-position:50% 58%}
.trh-hero .trh-sky img{filter:blur(calc(7*var(--u)));transform:scale(1.05)}
.trh-hero .trh-sky-n{opacity:var(--k)}
.trh-hero .trh-home{will-change:transform;transform:translate3d(0,var(--sink,0px),0);-webkit-mask-image:linear-gradient(transparent 0%,#000 13%);mask-image:linear-gradient(transparent 0%,#000 13%)}
.trh-hero .trh-home .trh-set{position:absolute;inset:0;visibility:hidden}
.trh-hero .trh-home .trh-set.is-on{visibility:visible}
.trh-hero .trh-tilt{position:absolute;inset:0;pointer-events:none;-webkit-backdrop-filter:blur(calc(8*var(--u)));backdrop-filter:blur(calc(8*var(--u)));-webkit-mask-image:linear-gradient(transparent 74%,#000 94%);mask-image:linear-gradient(transparent 74%,#000 94%)}
.trh-hero .trh-fog{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.trh-hero .trh-ui{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;padding:calc(52*var(--u)) calc(24*var(--u)) calc(38*var(--u));pointer-events:none}
.trh-hero .trh-ui button{pointer-events:auto}
.trh-hero h1{margin:0;text-align:center;font-size:calc(56*var(--u));line-height:1.28;font-weight:700;color:var(--ink);text-shadow:0 calc(2*var(--u)) calc(18*var(--u)) color-mix(in srgb,rgba(255,255,255,.45) calc((1 - var(--k))*100%),rgba(6,12,24,.55))}
.trh-hero h1 span{display:block}
.trh-hero h1 .trh-l1,.trh-hero h1 .trh-y{opacity:calc(1 - var(--dip)*.8)}
.trh-hero h1 i{font-style:normal;color:color-mix(in srgb,#14202f calc((1 - var(--k2))*42%),color-mix(in srgb,#fff calc(var(--k2)*100%),#5b6775))}
.trh-hero h1 .trh-y{display:inline}
.trh-hero .trh-dock{margin-top:auto;display:flex;flex-direction:column;align-items:center;width:100%}
.trh-hero .trh-toggle{position:relative;display:grid;grid-template-columns:1fr 1fr;width:calc(524*var(--u));height:calc(86*var(--u));padding:calc(3*var(--u));border-radius:calc(16*var(--u));overflow:hidden;
  background:rgba(46,56,68,.46);border:1px solid rgba(255,255,255,.24);-webkit-backdrop-filter:blur(calc(16*var(--u)));backdrop-filter:blur(calc(16*var(--u)))}
.trh-hero .trh-toggle button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(3*var(--u));border-radius:calc(13*var(--u));color:#fff;overflow:hidden}
.trh-hero .trh-toggle button::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(160deg,#f7f8dc,#e2ee9f 90%);box-shadow:inset 0 0 calc(18*var(--u)) rgba(255,255,255,.65);opacity:var(--on)}
.trh-hero .trh-toggle b,.trh-hero .trh-toggle small{position:relative;color:color-mix(in srgb,#1c2316 calc(var(--on)*100%),#fff)}
.trh-hero .trh-toggle b{font-size:calc(21*var(--u));font-weight:600}
.trh-hero .trh-toggle small{font-size:calc(13.5*var(--u));opacity:.78}
.trh-hero .trh-toggle button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.trh-hero .trh-bm{--on:calc(1 - var(--k))}
.trh-hero .trh-bn{--on:var(--k)}
.trh-hero .trh-cap{margin-top:calc(18*var(--u));text-align:center;font-size:calc(15*var(--u));line-height:1.55;color:var(--soft);text-shadow:0 1px 12px color-mix(in srgb,rgba(255,255,255,.6) calc((1 - var(--k))*100%),rgba(6,12,24,.82))}
@media (max-width:820px){
  .trh-hero{--u:1px}
  .trh-hero .trh-ui{padding:36px 16px 24px}
  .trh-hero h1{font-size:clamp(24px,7vw,38px);line-height:1.35}
  .trh-hero .trh-layer img{object-position:50% 50%!important}
  .trh-hero .trh-toggle{width:100%;max-width:440px;height:74px}
  .trh-hero .trh-toggle b{font-size:18px}
  .trh-hero .trh-toggle small{font-size:12px}
  .trh-hero .trh-cap{font-size:13.5px;max-width:360px}
  .trh-hero .trh-cap br{display:none}
}
