
:root{
  --bg:#ecddd5;
  --bg-soft:#f7efeb;
  --bg-soft-2:#f2e5df;
  --card:rgba(255,255,255,.88);
  --line:rgba(86,17,31,.10);
  --wine:#7b1830;
  --wine-dark:#56111f;
  --wine-soft:#b04964;
  --ink:#4c1824;
  --muted:#927178;
  --shadow:0 12px 28px rgba(86,17,31,.08);
  --radius-xl:32px;
  --radius-lg:22px;
  --radius-md:18px;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Vazirmatn",Tahoma,sans-serif;
  background:linear-gradient(180deg, #ecddd5 0%, #f2e5df 55%, #f8f1ee 100%);
  color:var(--ink);
}
a{color:inherit;text-decoration:none}

.site-shell{
  width:min(100%,460px);
  margin:auto;
  min-height:100dvh;
  background:
    radial-gradient(circle at 92% 3%, rgba(255,255,255,.32), transparent 18%),
    linear-gradient(180deg, #ecddd5 0%, #efe1da 44%, #f7efeb 100%);
  padding-bottom:28px;
  overflow:hidden;
}

/* HERO */
.hero{
  position:relative;
  min-height:410px;
  padding:max(14px, env(safe-area-inset-top)) 18px 12px;
  background:transparent;
  overflow:hidden;
  isolation:isolate;
}

.hero__shape{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  z-index:0;
}
.hero__shape--right{
  width:190px;height:190px;
  right:-88px;top:42px;
  background:rgba(255,255,255,.26);
}
.hero__shape--soft{
  width:180px;height:180px;
  left:-82px;bottom:10px;
  background:radial-gradient(circle, rgba(123,24,48,.26) 0%, rgba(123,24,48,.10) 45%, rgba(123,24,48,0) 78%);
}

.hero__inner{
  position:relative;
  min-height:372px;
  display:grid;
  grid-template-columns: 46% 54%;
  align-items:center;
  z-index:2;
}

.hero__visual{
  position:relative;
  align-self:end;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  height:100%;
  overflow:visible;
}

.hero__image{
  width:112%;
  max-width:295px;
  height:auto;
  display:block;
  image-rendering:auto;
  filter:saturate(1) contrast(1.02);
  transform:translateX(-8px);
}

.hero__image-fade{
  position:absolute;
  left:-8px;
  right:-8px;
  bottom:-4px;
  height:68px;
  background:linear-gradient(180deg, rgba(236,221,213,0) 0%, rgba(236,221,213,.72) 58%, #ecddd5 100%);
}

.hero__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:100%;
  text-align:center;
  padding:8px 4px 8px 4px;
}

.hero__logo{
  width:132px;
  max-width:100%;
  display:block;
  margin:0 auto 2px;
}

.hero__name-en{
  margin:0;
  font-family:"Cormorant Garamond",serif;
  font-size:23px;
  line-height:1.02;
  color:var(--wine-dark);
  font-weight:700;
}

.hero__title-en{
  margin:4px 0 0;
  font-size:8px;
  letter-spacing:2px;
  color:#9b777f;
  font-weight:700;
}

.hero__divider{
  display:block;
  width:72px;
  height:1px;
  margin:12px auto 12px;
  background:linear-gradient(90deg, transparent, var(--wine-soft), transparent);
}

.hero__name-fa{
  margin:0;
  font-size:22px;
  line-height:1.35;
  font-weight:800;
  color:var(--wine-dark);
}

.hero__role-fa{
  margin:6px 0 0;
  font-size:13px;
  color:#89676e;
  font-weight:600;
}

/* SOCIALS */
.socials{
  padding:4px 16px 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.social{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.55);
  border-radius:24px;
  min-height:106px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow:0 16px 26px rgba(86,17,31,.06);
}

.social__icon{
  width:48px;
  height:48px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg, var(--wine), var(--wine-dark));
  color:#fff;
  box-shadow:0 10px 18px rgba(86,17,31,.14);
}
.social__icon svg{
  width:22px;
  height:22px;
  fill:currentColor;
}
.social__label{
  font-size:11px;
  color:#7f6168;
  font-weight:700;
}

/* LINKS */
.links{
  padding:20px 16px 0;
  display:grid;
  gap:10px;
}

.link-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.62);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.link-card::before{
  content:"";
  position:absolute;
  width:118px;
  height:118px;
  right:-86px;
  top:50%;
  transform:translateY(-50%);
  border-radius:50%;
  background:rgba(176,73,100,.06);
}

.link-card__icon{
  position:relative;
  z-index:1;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg, var(--wine), var(--wine-dark));
  color:#fff;
  box-shadow:0 10px 18px rgba(86,17,31,.12);
}

.link-card__icon svg{
  width:21px;
  height:21px;
  fill:currentColor;
}

.link-card__text{
  position:relative;
  z-index:1;
  flex:1;
  min-width:0;
}

.link-card__text strong{
  display:block;
  font-size:14px;
  color:var(--ink);
  font-weight:800;
  margin-bottom:4px;
}

.link-card__text small{
  display:block;
  font-size:10px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.link-card__arrow{
  position:relative;
  z-index:1;
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  color:var(--wine);
  font-size:18px;
  font-weight:800;
}

/* FOOTER */
.footer{
  padding:24px 16px 10px;
  text-align:center;
}

.footer__brand{
  margin:0;
  font-family:"Cormorant Garamond",serif;
  font-size:19px;
  color:var(--wine-dark);
  letter-spacing:.8px;
}

.footer__credit{
  margin:6px 0 0;
  font-size:12px;
  color:#8b6a71;
  font-weight:600;
}

@media (max-width:390px){
  .hero{
    min-height:386px;
    padding-inline:15px;
  }
  .hero__inner{
    min-height:348px;
    grid-template-columns: 46% 54%;
  }
  .hero__logo{width:120px}
  .hero__name-en{font-size:21px}
  .hero__name-fa{font-size:20px}
  .hero__role-fa{font-size:12px}
  .hero__image{
    width:114%;
    max-width:255px;
    transform:translateX(-10px);
  }
  .social{
    min-height:96px;
    border-radius:22px;
  }
  .social__icon{
    width:44px;
    height:44px;
  }
  .social__label{font-size:10px}
}

@media (min-width:700px){
  body{
    display:grid;
    place-items:center;
    padding:18px 0;
  }
  .site-shell{
    border-radius:36px;
    overflow:hidden;
    box-shadow:0 28px 65px rgba(86,17,31,.12);
    min-height:min(900px,96vh);
  }
}
