:root{--font:"Space Grotesk","Segoe UI",system-ui,sans-serif;color-scheme:dark}
html[lang="fa"]{--font:Vazirmatn,Tahoma,system-ui,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#0b0d10;color:#f2f2ee;font:17px/1.7 var(--font);-webkit-font-smoothing:antialiased;touch-action:manipulation}
html[lang="fa"] body{line-height:1.9}
a{color:inherit}
:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.skip{position:absolute;inset-inline-start:16px;top:-56px;background:#fff;color:#000;padding:10px 16px;border-radius:8px;z-index:30}.skip:focus{top:12px}
.bar{position:absolute;inset:0 0 auto 0;z-index:10;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px clamp(16px,3vw,36px);pointer-events:none}
.bar>*{pointer-events:auto}
.bar h1{margin:0;font-size:clamp(20px,2.2vw,28px);line-height:1.2;letter-spacing:-.01em}
html[lang="fa"] .bar h1{letter-spacing:0}
.bar p{margin:2px 0 0;font-size:14px;opacity:.75}
.lang{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid #fff;border-radius:999px;text-decoration:none;font-size:15px;background:#0b0d10;color:#fff;transition:background-color .15s,color .15s}
.lang:hover{background:#fff;color:#000}
.doors{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;min-height:100svh}
.door{flex:1;display:flex;min-height:34svh;position:relative;overflow:hidden}
.door a{flex:1;display:flex;align-items:flex-end;gap:20px;padding:clamp(20px,3vw,44px);text-decoration:none;position:relative;background:var(--bg);color:var(--fg)}
.door .mono{position:absolute;inset-inline-end:-.06em;bottom:-.22em;font:700 clamp(220px,38vw,520px)/1 var(--font);color:var(--ac);opacity:.13;pointer-events:none;transition:opacity .4s,transform .5s}
.door .txt{position:relative;display:flex;flex-direction:column;gap:6px;max-width:560px}
.door .role{font-size:14px;font-weight:700;color:var(--ac);letter-spacing:.06em;text-transform:uppercase}
html[lang="fa"] .door .role{letter-spacing:0;text-transform:none;font-size:15px}
.door h2{margin:0;font-size:clamp(30px,4vw,56px);line-height:1.05;letter-spacing:-.03em;text-wrap:balance}
html[lang="fa"] .door h2{letter-spacing:0;line-height:1.4}
.door .desc{max-width:44ch;opacity:.82;font-size:17px;text-wrap:pretty}
.door .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.door .tags i{font-style:normal;font-size:13px;padding:2px 12px;border:1px solid color-mix(in srgb,var(--fg) 30%,transparent);border-radius:999px}
.door .go{display:inline-flex;align-items:center;gap:10px;margin-top:10px;min-height:48px;font-weight:700;color:var(--ac);font-size:17px}
.door .go b{font-weight:400;transition:transform .2s}
.door a:hover .go b{transform:translateX(6px)}[dir="rtl"] .door a:hover .go b{transform:translateX(-6px)}
.door a:hover .mono{opacity:.22}
.d-m{--bg:#04100a;--fg:#e9f5ee;--ac:#22c55e}
.d-m a{background-image:linear-gradient(rgba(34,197,94,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(34,197,94,.07) 1px,transparent 1px);background-size:36px 36px}
.d-f{--bg:#15171b;--fg:#f2f2ee;--ac:#ffc933}
.d-f a{background-image:repeating-linear-gradient(90deg,transparent 0 38px,rgba(255,201,51,.07) 38px 40px)}
.d-o{--bg:#efe3cc;--fg:#23211f;--ac:#b8430f}
.d-o a{background-image:repeating-linear-gradient(0deg,transparent 0 46px,rgba(35,33,31,.07) 46px 48px)}
.d-o .desc{opacity:.9}
.about{padding:clamp(36px,6vw,80px) clamp(16px,3vw,36px);max-width:760px;margin-inline:auto}
.about h2{margin:0 0 12px;font-size:22px}
.about p{margin:0 0 10px;color:#b9bcc2}
.foot{padding:28px clamp(16px,3vw,36px) 40px;color:#8d9097;font-size:14px;text-align:center}
.foot a{display:inline-flex;min-height:44px;align-items:center}
@media (min-width:900px) and (hover:hover){
  .doors{flex-direction:row;height:100svh;min-height:600px}
  .door{min-height:0;flex:1;transition:flex .55s cubic-bezier(.2,.7,.2,1)}
  .door:hover,.door:focus-within{flex:2.3}
  .doors:has(.door:hover) .door:not(:hover) .desc,.doors:has(.door:hover) .door:not(:hover) .tags{opacity:0}
  .door .desc,.door .tags,.door .go{transition:opacity .3s}
  .door a{padding-top:110px}
  .door .txt{min-width:300px}
}
@media (min-width:900px){.door{min-height:0}.doors{flex-direction:row;height:100svh;min-height:600px}.door a{padding-top:110px}}
@media (max-width:899px){.bar{position:static;background:#0b0d10;padding-bottom:14px}.door{min-height:42svh}.door a{padding-top:28px}}
@keyframes rise{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes drift{50%{transform:translateY(-14px) rotate(-2deg)}}
.door{animation:rise .9s cubic-bezier(.2,.8,.2,1) both}.door:nth-child(2){animation-delay:.12s}.door:nth-child(3){animation-delay:.24s}
.door .mono{animation:drift 9s ease-in-out infinite}.door:nth-child(2) .mono{animation-delay:-3s}.door:nth-child(3) .mono{animation-delay:-6s}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}
